Computer Science Test - Freshman/Sophomore
  • 1. A Class is a?
A) Hyperlinks and Text Markup Language
B) Raw text elements
C) Blueprint that defines the variable
D) Home Tool Markup Language
  • 2. What is an Object?
A) Raw text elements
B) Instance of a class
C) Home Tool Markup Language
D) An individual component of an HTML document
  • 3. An array must be the same what?
A) Hyperlinks and Text Markup Language
B) Home Tool Markup Language
C) Blueprint that defines the variable
D) Same data structure and type
  • 4. What 3 steps do you use for an Array?
A) Declare, Construct and Initialize
B) Home Tool Markup Language
C) Raw text elements
D) An individual component of an HTML document
  • 5. Arrays are passed to what?
A) Raw text elements
B) Specimen of a class
C) Function by reference
D) Home Tool Markup Language
  • 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) When a relationship exist between two classes Function by reference
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) Object
B) Extend
C) Polymorphism
D) Finalize
  • 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) Where more than one method have the same name but different signatures
D) Relates to method overloading
  • 10. What is method overriding?
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
  • 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) 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
  • 13. The word Dynamic refers to?
A) Relates to method overloading
B) Relates to method overriding
C) Not executed during execution
D) Determined at run-time
  • 14. The word Static refers to?
A) Not executed during execution
B) Relates to method overloading
C) Relates to method overriding
D) Determined at run-time
  • 15. What is FindBugs?
A) Determined at run-time
B) An Static Analysis Tool for Java
C) Relates to method overriding
D) Relates to method overloading
  • 16. What does FindBugs do?
A) Finds a relationship that exist between two classes
B) Identifies hundreds of serious defects in large applications
C) Home Tool Markup Language
D) Looks at an array of an array
  • 17. What is OOPs?
A) Oriented Object Programming
B) Overloading Object Programming
C) Object Oriented Programming
D) Object Ore Programming
  • 18. When do you declare a method class?
A) Oriented Object Programming
B) When a child class implements the behavior method
C) Abstract method from a Non abstract
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 IDE
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.