网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
A programmer wants to generate values for a numeric ID column in their EXPENSE table. The ID column values need to be incremented by 1000 for each new expense report added to the EXPENSE table. Which DB2 object can be referenced by an INSERT statement to meet thisrequirement?()
- A、Sequence
- B、Table Function
- C、Identity Column
- D、INSTEAD OF Trigger
参考答案
更多 “A programmer wants to generate values for a numeric ID column in their EXPENSE table. The ID column values need to be incremented by 1000 for each new expense report added to the EXPENSE table. Which DB2 object can be referenced by an INSERT statement to meet thisrequirement?()A、SequenceB、Table FunctionC、Identity ColumnD、INSTEAD OF Trigger” 相关考题
考题
船长想见引水员。A.The pilot wants to see the captain.B.The captain wants to see the helmsman.C.The chief officer wants to see the pilot.D.The captain wants to see the pilot.
考题
阅读以下说明和Java代码,将应填入(n)处的字句写在对应栏内。[说明]本程序的功能是给公司的员工Tom,Jack,Green增加薪水。三人的职位分别是programmer, Manager,CEO。程序由6个类组成:WorkerTest是主类,programmer,Manager,CEO三个类,薪水增加的规则是 programmer的涨幅是5%;Manager的是10%;CEO也是Manager,但是它除了有Manager的涨幅,还有1000元的bonus。接口SalaryRaise提供了一个增加薪水的方法raise()。[java程序]public class WorkerTest {public WorkerTest( ) {}public static void main( String[] args) {Programmer programmer = new Programmer( "Tom" ,3000);Manager manager = new Manager( "Jack" ,4000);CEO ceo = new CEO( "Green" ,4000);Worker [] worker = new Worker[3];programmer, raise( );manager, raise( );ceo. raise( );worker[0] = programmer;worker [1] = manager;worker[2] = ceo;for ( int i = 0 ;i < worker, length; i + + ) {System. out. prinfln (" Name:" + worker [i]. getName ( ) +" \ tSalary:" + worker [i]. getSalary ());public interface SalaryRaise { void raise( ); }public class Worker {public String name;public double (1);public Worker( ) {}public String getName( ) {return name;}public void setName( String name) {this. name = name;}public double getSalary( ) {return salary;}public void setSalary(double salary) { this. salary = salary; }}public class Programmer extends Worker implements (2) {public Programmer( ) {}public void raise( ) {double pets=0.05;double sala = this. getSalary( ) * (1 + pers);this. setSalary (sala);public Programmer( Siring name, double salary) tthis. name = name;this. salary = salary;public class Manager extends (3) implements SalaryRaise {public Manager( ) { }public Manager(String name, double salary) {this. name = name;this. salary = salary;}public void raise( ) {double pets = 0.1;double sala = this. getSalary() * (1 + pers);this. setSalary(sala);}}public class CEO extends Manager implements SalaryRaise {public CEO() {}public CEO( String name,double salary) {this. name = name;this. salary = salary;}public void raise( ) {double bonus = 1000;(4);double sala = this. getSalary( );(5);this. setSalary(sala);}}
考题
A programmer must know about a function’s(74)to Call it correctly.A.locationB.algorithmC.InterfaceD.statements
考题
A programmer must know about a function's ______ to call it correctly.A.locationB.algorithmC.InterfaceD.statements
考题
A programmer wants to generate values for a numeric ID column in their EXPENSE table. The ID column values need to be incremented by 1000 for each new expense report added to the EXPENSE table. Which DB2 object can be referenced by an INSERT statement to meet thisrequirement?()A.SequenceB.Table FunctionC.Identity ColumnD.INSTEAD OF Trigger
考题
In ______ programming, the user determines the sequence of instructions to be executed, not programmer.A.top-downB.structureC.data-drivenD.event-driven
考题
The primary function of an electric motor is to ______.A.develop torqueB.generate high voltagesC.produce a magnetic fieldD.generate high electrical resistance
考题
public interface A { String DEFAULT_GREETING = “Hello World”; public void method1(); } A programmer wants to create an interface called B that has A as its parent. Which interface declaration is correct?() A、 public interface B extends A {}B、 public interface B implements A {}C、 public interface B instanceOf A {}D、 public interface B inheritsFrom A {}
考题
Which can appropriately be thrown by a programmer using Java SE technology to create a desktop application?()A、ClassCastExceptionB、NullPointerExceptionC、NoClassDefFoundErrorD、NumberFormatExceptionE、ArrayIndexOutOfBoundsException
考题
The accounting manager wants you to create a form that when queried will display a calculated total of year-to-date actual expenditures for the found code entered. The values needed to generate this summary data are stored in multiple tables. Which data source type can you assign to the data block for this form without having the DBA create a database object?()A、database table B、transactional trigger C、stored procedure D、FROM clause query E、client-side procedure
考题
Company.com wants to change the resource allocation for their AIX 5L V5.3 micro LPAR system. What is the smallest processor allocation than can be moved between partitions?()A、A full processorB、1% of a processorC、10% of a processorD、25% of a processor
考题
An administrator wants to know what version of VIOS is running on their server. Which of the following commands will show the VIOS version?()A、 oslevel B、 ioslevel C、 oslevel -s D、 ioslevel -v
考题
You need to generate a report that lists all of the computers in the domain that can be converted to Hyper-V hosts. The solution must meet the company’s business requirements. What should you use to generate the report?()A、Microsoft System Center Virtual Machine ManagerB、Microsoft Desktop Optimization Pack (MDOP)C、Microsoft Assessment and Planning Toolkit (MAP)D、Microsoft System Center Operations Manager
考题
单选题船长想见引水员。()A
The pilot wants to see the captain.B
The captain wants to see the helmsman.C
The chief officer wants to see the pilot.D
The captain wants to see the pilot.
考题
多选题Your boss at Certkiller .com wants you to clarify Oracle 10g. Which two statements regarding the LOGGING clause of the CREATE TABLESPACE... statement are correcte?()AThis clause is not valid for a temporary or undotablespace.BIf thetablespaceis in the NOLOGGING mode, no operation on thetablespacewill generate redo.CThetablespacewill be IntheNOLOGGING mode by default, if not specified while creating atablespace.DThetablespace-level logging attribute can be overridden by logging specification at the table, index, materialized view, materialized view log, and partition levels.
考题
单选题A company that makes Computer Assisted Design (CAD) software has, within its application, some utilityclasses that are used to perform 3D rendering tasks. The company’s chief scientist has just improved theperformance of one of the utility classes’ key rendering algorithms, and has assigned a programmer toreplace the old algorithm with the new algorithm. When the programmer begins researching the utilityclasses, she is happy to discover that the algorithm to be replaced exists in only one class. The programmer reviews that class’s API, and replaces the old algorithm with the new algorithm, being carefulthat her changes adhere strictly to the class’s API. Once testing has begun, the programmer discovers thatother classes that use the class she changed are no longer working properly. What design flaw is mostlikely the cause of these new bugs?()A
InheritanceB
Tight couplingC
Low cohesionD
High cohesionE
Loose coupling
考题
多选题A company has a business application that provides its users with many different reports: receivables reports, payables reports, revenue projects, and so on. The company has just purchased somenew, state-of-the-art, wireless printers, and a programmer has been assigned the task of enhancing all ofthe reports to use not only the company’s old printers, but the new wireless printers as well. When the programmer starts looking into the application, the programmer discovers that because of the design of theapplication, it is necessary to make changes to each report to support the new printers. Which two designconcepts most likely explain this situation? ()AInheritanceBLow cohesionCTight couplingDHigh cohesionELoose couplingFObject immutability
考题
单选题An administrator wants to know what version of VIOS is running on their server. Which of the following commands will show the VIOS version?()A
oslevel B
ioslevel C
oslevel -s D
ioslevel -v
考题
单选题You need to generate a report that lists all of the computers in blueyonderairlines.com that can be converted to Hyper-V hosts. The solution must meet the company’s corporate requirements. What should you use to generate the report?()A
Microsoft System Center Operations ManagerB
Microsoft Desktop Optimization Pack (MDOP)C
Microsoft Assessment and Planning Toolkit (MAP)D
Microsoft System Center Virtual Machine Manager
考题
单选题public interface A { String DEFAULT_GREETING = “Hello World”; public void method1(); } A programmer wants to create an interface called B that has A as its parent. Which interface declaration is correct?()A
public interface B extends A {}B
public interface B implements A {}C
public interface B instanceOf A {}D
public interface B inheritsFrom A {}
考题
单选题Although it is raining hard,_____.A
Tom still wants to go outB
and Tom still wants to go outC
that Tom still wants to go outD
but Tom still wants to go out
考题
单选题_____A
Because he wants to visit her.B
Because he wants to discuss her suggestion with her.C
Because he wants to offer a proposal.D
Because he wants to date her.
考题
单选题A company that makes Computer Assisted Design (CAD) software has, within its application, some utility classes that are used to perform 3D rendering tasks. The company's chief scientist has just improved the performance of one of the utility classes' key rendering algorithms, and has assigned a programmer to replace the old algorithm with the new algorithm. When the programmer begins researching the utility classes, she is happy to discover that the algorithm to be replaced exists in only one class. The programmer reviews that class's API, and replaces the old algorithm with the new algorithm, being careful that her changes adhere strictly to the class's API. Once testing has begun, the programmer discovers that other classes that use the class she changed are no longer working properly. What design flaw is most likely the cause of these new bugs?()A
InheritanceB
Tight couplingC
Low cohesionD
High cohesionE
Loose couplingF
Object immutability
热门标签
最新试卷