This website is preserved for historical and scholarly reference and is no longer actively maintained.

QUIZ 2

August 25, 1997

#1-3. An algorithm has three main properties. List and explain these properties.

To answer questions 4 - 8, select a word or phrase from the following list:

#4. The __________ is fast but loses its information when the power is turned off.

#5. The input to the compiler is ___________.

#6. The output of the compiler is ______________.

#7. System.outch.print ("Hello, World! \n" ); is an example of ____________.

#8. ___________________ is stored in a separate file with extension .class.

#9. What is printed by the statement: System.out.print (8 + 5); ?

#10. Using questions 7 and 9 as guides, write Java code that will print the message "Hello", skip a line, and print "World" on the line after the skipped line. Any code that works is OK.

Return to Eleanor Hare's home page.

Return to Department of Computer Science Home page.