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