Content Frame
Note for screen reader users: There is text between the form elements on this page. To be sure that you do not miss any text, use item by item navigation methods, rather than tabbing from form element to form element.
Skip Breadcrumb Navigation
Home  arrow Student Resources  arrow Chapter Quizzes  arrow Chapter 1

Chapter 1

Getting Started

This activity contains 15 questions.

Question 1.
"Compatibility" regarding assignment statements means:


Open Hint for Question 1 in a new window.
 
End of Question 1


Question 2.
"Invoking a method" is sometimes called...


Open Hint for Question 2 in a new window.
 
End of Question 2


Question 3.
A constant or literal is an object whose value is determined from how it is "spelled." Which of the following are valid literals?


Open Hint for Question 3 in a new window.
 
End of Question 3


Question 4.
Java compiles into an intermediate language called byte-code. What is byte-code?


Open Hint for Question 4 in a new window.
 
End of Question 4


Question 5.
Java was developed at Sun Microsystems by James Gosling. It was introduced to the public in what year?


Open Hint for Question 5 in a new window.
 
End of Question 5


Question 6.
System.out.println ("/* I love */ Java!"); will display:


Open Hint for Question 6 in a new window.
 
End of Question 6


Question 7.
The increment (++) and decrement (--) operators:


Open Hint for Question 7 in a new window.
 
End of Question 7


Question 8.
What does an "assignment statement" do?


Open Hint for Question 8 in a new window.
 
End of Question 8


Question 9.
What does it mean for the "preferred" type of integers to be int and the "preferred" type of floating point numbers to be double?


Open Hint for Question 9 in a new window.
 
End of Question 9


Question 10.
What is a syntax error?


Open Hint for Question 10 in a new window.
 
End of Question 10


Question 11.
What is the function of the Java class loader?


Open Hint for Question 11 in a new window.
 
End of Question 11


Question 12.
What is the result of saying:
"abc" + 4 + 5 + "fgh"?


Open Hint for Question 12 in a new window.
 
End of Question 12


Question 13.
What statement is true about Java reserved words?


Open Hint for Question 13 in a new window.
 
End of Question 13


Question 14.

Which of the following is (are) true?
  • Java's rules for using parentheses and precedence are about the same as those in algebra
  • Java's rules for using parentheses are about the same as those in algebra; but, its precedence rules are quite different
  • Java's rules for precedence are about the same as those in algebra; but, its rules for using parentheses are quite different
  • Java's rules for using parentheses and precedence both are different from those in algebra

Open Hint for Question 14 in a new window.
 
End of Question 14


Question 15.

Which of the following statements are true?
  • Every variable must be declared before it can be used
  • Every variable must be given an initial value
  • Variables can be used, even if they've not been declared, so long as they have an initial value
  • A variable may be re-declared, if desired, but it loses its current value when this is done

Open Hint for Question 15 in a new window.
 
End of Question 15





Pearson Copyright © 1995 - 2010 Pearson Education . All rights reserved. Pearson Addison Wesley is an imprint of Pearson .
Legal Notice | Privacy Policy | Permissions

Return to the Top of this Page