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