GoConqr has a new look! Let us know what you think.

Quiz

CP213 Final Practice Questions

Areesha Yahya 16 questions

Take the quiz

Questions in this quiz (16)

  1. 1The Java Compiler is able to find all programming errors
    1. ATrue
    2. BFalse
  2. 2The Java graphics coordinate system is similar to the coordinate system one finds in mathematics in every respect
    1. ATrue
    2. BFalse
  3. 3The following for-loop is an inifinite loop
    for (int j=0; j<1000;)j++;
    1. ATrue
    2. BFalse
  4. 4All parts of a container in BorderLayout must be used
    1. ATrue
    2. BFalse
  5. 5To swap the 3rd and 4th elements in the int array values, you would apply the following statements
    values[3] = values[4];
    values[4] = values[3];
    1. ATrue
    2. BFalse
  6. 6Java allows one to create polymorphic references using inheritance and using interfaces
    1. ATrue
    2. BFalse
  7. 7The type of reference, not the type of object, is use to determine which version of a method is invoked in a polymorphic reference
    1. ATrue
    2. BFalse
  8. 8A swing program does not end until it encounters a System.exit statement
    1. ATrue
    2. BFalse
  9. 9The difference between the throw reserved word and the throws reserved word is that throw is used within a method body, while throws is used within a method header
    1. ATrue
    2. BFalse
  10. 10The dispose() method of the JFrame class terminates a Java program
    1. ATrue
    2. BFalse

Information

Description
Computer Science Quiz on CP213 Final Practice Questions, created by Areesha Yahya on 08/08/2022.
Language
English
Views
0
Rating
No ratings yet
Rate this quiz
Rate this quiz

Feedback

What is it about?

What do you think of the new look?

How do you like it?