paserbyp: (Default)
[personal profile] paserbyp
1. True or false: It is preferable to write

List dogs = new ArrayList();

instead of

List<Dog> dogs = new ArrayList<Dog>();

because raw types enable developers to avoid needless verbiage.

  A. True.

  B. False.



2. Fill in the blank: Joshua Bloch says that the strangest thing about the Java platform is __________.

   A. Poor Unicode support.

   B. java.lang.Cloneable does not contain clone() method.

   C. The byte type is signed.

   D. The creators of the Java programming language modeled the syntax after C and C++.

   E. java.io.InputStream is an abstract class and not an interface.


3. Computer science professor Qusay Mahmoud remarked that "Today's generation of students is becoming known as Generation C." What does "C" stand for?

   A. Create, complete, and collect

   B. Creativity, curiosity, and career

   C. Content, cash, choice, and control

   D. Compete, confer, and collect

4. Fill in the blank: Computer science professors Qusay Mahmoud and Cay Horstmann agree that the biggest mistake made by teachers of computer science is __________.

   A. Overwhelming students with too much code complexity too early

   B. Lecturing too much

   C. Failing to educate students in the use of tools

   D. Failing to encourage individual creativity and initiative

Profile

paserbyp: (Default)
paserbyp

February 2026

S M T W T F S
12 3 456 7
8 9 10 1112 13 14
15 16 17 18 19 20 21
22232425262728

Most Popular Tags

Style Credit

Page generated Feb. 23rd, 2026 11:12 am
Powered by Dreamwidth Studios