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