Computer Science Test - Freshman/Sophomore
  • 1. A Class is a?
A) Raw text elements
B) Blueprint that defines the variable
C) Home Tool Markup Language
D) Hyperlinks and Text Markup Language
  • 2. What is an Object?
A) Home Tool Markup Language
B) Instance of a class
C) An individual component of an HTML document
D) Raw text elements
  • 3. An array must be the same what?
A) Hyperlinks and Text Markup Language
B) Blueprint that defines the variable
C) Home Tool Markup Language
D) Same data structure and type
  • 4. What 3 steps do you use for an Array?
A) An individual component of an HTML document
B) Declare, Construct and Initialize
C) Home Tool Markup Language
D) Raw text elements
  • 5. Arrays are passed to what?
A) Home Tool Markup Language
B) Function by reference
C) Raw text elements
D) Specimen of a class
  • 6. What is a Multi Dimensional Arrays?
A) Function by reference
B) Home Tool Markup Language
C) Specimen of a class
D) An array of an array
  • 7. When do you use inheritance?
A) Specimen of a class
B) Home Tool Markup Language
C) When a relationship exist between two classes Function by reference
D) An array of an array
  • 8. What word is used by the sub class to inherit features of the super class?
A) Extend
B) Object
C) Finalize
D) Polymorphism
  • 9. What is method overloading?
A) Relates to method overloading
B) Relates to method overriding
C) Where more than one method have the same name but different signatures
D) When one of the methods in the super class is redefined in the sub-class
  • 10. What is method overriding?
A) Where more than one method have the same name but different signatures
B) Relates to method overloading
C) When one of the methods in the super class is redefined in the sub-class
D) Relates to method overriding
  • 11. What is Static Polymorphism?
A) Relates to method overriding
B) Where more than one method have the same name but different signatures
C) Relates to method overloading
D) When one of the methods in the super class is redefined in the sub-class
  • 12. What is Dynamic Polymorphism?
A) When one of the methods in the super class is redefined in the sub-class
B) Where more than one method have the same name but different signatures
C) Relates to method overriding
D) Relates to method overloading
  • 13. The word Dynamic refers to?
A) Relates to method overriding
B) Not executed during execution
C) Determined at run-time
D) Relates to method overloading
  • 14. The word Static refers to?
A) Determined at run-time
B) Relates to method overloading
C) Not executed during execution
D) Relates to method overriding
  • 15. What is FindBugs?
A) Relates to method overloading
B) An Static Analysis Tool for Java
C) Relates to method overriding
D) Determined at run-time
  • 16. What does FindBugs do?
A) Identifies hundreds of serious defects in large applications
B) Looks at an array of an array
C) Home Tool Markup Language
D) Finds a relationship that exist between two classes
  • 17. What is OOPs?
A) Object Oriented Programming
B) Overloading Object Programming
C) Object Ore Programming
D) Oriented Object Programming
  • 18. When do you declare a method class?
A) When a child class implements the behavior method
B) When a child class extends
C) Abstract method from a Non abstract
D) Oriented Object Programming
  • 19. What is user-defined exception in Java?
A) Exceptions defined by the developer
B) Exceptions defined by the IDE
C) Exceptions defined by the compiler
D) Exceptions defined by the computer
  • 20. What type of Tool is FindBugs?
A) Project Management
B) Static Analysis
C) Concept
D) GUI
Created with That Quiz — a math test site for students of all grade levels.