What are the six principles to remember when presenting new vocabulary in class?
第1题:
第2题:
第3题:
第4题:
What are the two objectives in presenting a new structural item?
When presenting a new structural item we should be primarily trying to achieve two things:
a) to enable the students to recognize the new structure well enough to be able to produce it themselves (ie. establish the form);
b) to make absolutely clear the usage of the pattern, so that when the students produce them, prompted by the teacher, they know what they are saying (ie. establish the meaning).
略
第5题:
A team of programmers is reviewing a proposed API for a new utility class. After some discussion, theyrealize that they can reduce the number of methods in the API without losing any functionality. If theyimplement the new design,which two OO principles will they be promoting?()
第6题:
Which statements, when inserted at the indicated position in the following code, will cause a runtime exception when attempting to run the program?() class A {} class B extends A {} class C extends A {} public class Q3ae4 { public static void main(String args[]) { A x = new A(); B y = new B(); C z = new C(); // insert statement here } }
第7题:
A team of programmers is reviewing a proposed API for a new utility class. After some discussion,they realize that they can reduce the number of methods in the API without losing any functionality.If they implement the new design, which two OO principles will they be promoting?()
第8题:
You are creating a Windows Forms application by using the .NET Framework 3.5. You plan to develop a new control for the application.The control will have the same properties as a TextBox control.You need to ensure that the control has a transparent background when it is painted on form.You want to achieve this goal by using the minimum amount of development effort.What should you do?()
第9题:
Compilation of class A fails.
Line 28 prints the value 3 to System.out.
Line 28 prints the value 1 to System.out.
Compilation fails because of an error on line 28.
A runtime error occurs when line 25 executes.
第10题:
第11题:
第12题:
x = y;
z = x;
y = (B) x;
z = (C) y;
y = (A) y;
第13题:
第14题:
第15题:
第16题:
class One { public One() { System.out.print(1); } } class Two extends One { public Two() { System.out.print(2); } } class Three extends Two { public Three() { System.out.print(3); } } public class Numbers{ public static void main( String[] argv) { new Three(); } } What is the result when this code is executed?()
第17题:
class A { public A() { System.out.println(“hello from a”); } } class B extends A { public B () { System.out.println(“hello from b”); super(); } } public class Test { public static void main(String args[]) { A a = new B(); } } What is the result when main is executed?()
第18题:
When a mobile of B class is on the state of standby,what MM information is registered in SGSN?()
第19题:
You are creating a Windows Forms Application by using the .NET Framework 3.5.You plan to design a new control that will be used on multiple forms in the app.You need to ensure that the control meets the following requirement (1)It retrieves data from a MSSQL Server 2008 database instance. (2)It uses WPF classes to display data. (3)It uses user-customizable actions when the control is first painted on the form. What should you do?()
第20题:
Compilation of class A fails.
Line 28 prints the value 3 to System.out.
Line 28 prints the value 1 to System.out.
A runtime error occurs when line 25 executes.
Compilation fails because of an error on line 28.
第21题:
defining
using real objects
writing a passage by using new words
giving explanations
第22题:
1
3
123
321
The code rims with no output.
第23题:
Compilation fails.
hello from a
hello from b
hello from b hello from a
hello from a hello from b