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

January 2026

S M T W T F S
     1 2 3
4 56 78910
11121314151617
18192021222324
25262728293031

Most Popular Tags

Style Credit

Page generated Jan. 7th, 2026 05:56 am
Powered by Dreamwidth Studios