CSC1024 Quiz 2

Fall 2011
Herbert J. Bernstein ( )

CSC1024 Quiz 2
Fall 2011

 


This web page is http://www.bernstein-plus-sons.com/.dowling/CSC1024F11/CSC1024_Quiz_2.html
Copyright © 2007, 2011 Herbert J. Bernstein and other parties. All rights reserved.


This is the second quiz to be taken on or before Tuesday, 20 September 2011. You should do it after you read the remainder of Hubbard. You should expect to spend 30 minutes to 2 hours on this quiz. You may use your text and any other resources to do this quiz, but if you do not know the answers well or are unable to discuss them in class, you will lose credit for the quiz.

  <==== Do this AFTER you've answered all the questions

You probably DON'T want to do this ===>  

Please fill in the following information:

Name:


Email:

Please answer the following questions on this form (or on a paper copy of this form).

  1. Explain what an Array is.

  2. Explain composition of classes and give a program fragment to illustrate the idea.

  3. Explain inheritance and give a program fragment to illustrate the idea.

  4. Explain the super keyword and give a programming fragment example.

  5. Explain what an interface is.

  6. Explain the relationship between the Collection interface and the List and Set types.

  7. Explain how to catch an exception, giving a working programming example.

  8. Explain the use of FileReader and BufferedReader.

  9. Explain the use of ObjectOutputStream and FileOutputStream.

  10. Explain the layout managers.

  11. Explain what the java.awt.ActionListener interface does.

  12. Write a Hello World Applet and an HTML page to use it.

  13. Explain NaN and Infinity, giving their relationship to 1.0 and 0.0.

  14. What are the Unicode ranges for Georgian, Hebrew and Bengali?

  <==== Do this AFTER you've answered all the questions

You probably DON'T want to do this ===>  

Revised 14 August 2011