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