ThatQuiz Test Library Take this test now
Computer Science Quiz - Freshman/Sophomore
Contributed by: Brown
  • 1. A Class is a?
A) Blueprint that defines a variable
B) Home Tool Markup Language
C) Hyperlinks and Text Markup Language
D) Raw text elements
  • 2. What is an Object?
A) Raw text elements
B) Home Tool Markup Language
C) An individual component of an HTML document
D) Instance of a class
  • 3. What is a SQL injection attack?
A) Where a hacker tries to inject malicious SQL code into someone database
B) When a hacker tries to enter harmful HTML code
C) When a hacker tries to enter in a hyperlink
D) When a hacker tries to enter in a variable
  • 4. True or False: Will an SQL injection ruin your database?
A) False
B) True
  • 5. What is Sanitizing data?
A) The act of garbage collection
B) The act of removing Raw text elements that aren’t wanted
C) The act of stripping out any characters that aren’t needed from the data
D) The act of collecting and removing variables
  • 6. What is the best way to prevent an SQL injection?
A) Specimen of a class
B) An array
C) Function by reference
D) Prepared Statement
  • 7. When do you use inheritance?
A) Specimen of a class
B) An array of an array
C) When a relationship exist between two classes Function by reference
D) Home Tool Markup Language
  • 8. What word is used by the sub class to inherit features of the super class?
A) Finalize
B) Polymorphism
C) Object
D) Extend
  • 9. What is a Prepared Statement?
A) A method that have the same but different signatures
B) A template for SQL statements
C) A method for overloading
D) A super class that replaces sub-class
  • 10. True or False: Only code used in web applications are vulnerable to SQL injection attack?
A) False
B) True
  • 11. Code that is most vulnerable to SQL injection attack contains?
A) Call to external functions
B) Dynamic SQL with bind arguments
C) Input parameters
D) Dynamic SQL with concatenated input values
  • 12. Not preventing SQL Injections attacks leaves your business at great risk of:
A) Method overriding
B) Steal customer information
C) Method overloading
D) Super class
  • 13. What is an example of vulnerabilities in web based vulnerabilities?
A) All of the above
B) Cross-Site Scripting
C) None of the above
D) SQL Injection
  • 14. What is MySQL?
A) A relational database management system
B) A tree based grammar for database definition
C) An object oriented database query language
D) None of the above
  • 15. What is FindBugs?
A) Relates to method overloading
B) An Static Analysis Tool for Java
C) Determined at run-time
D) Relates to method overriding
  • 16. What does FindBugs do?
A) Looks at an array of an array
B) Identifies hundreds of serious defects in large applications
C) Home Tool Markup Language
D) Finds a relationship that exist between two classes
  • 17. What is OOPs?
A) Object Ore Programming
B) Object Oriented Programming
C) Oriented Object 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 exstends
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 computer
C) Exceptions defined by the developer
D) Exceptions defined by the compiler
  • 20. What type of Tool is FindBugs?
A) Static Analysis
B) GUI
C) Concept
D) Project Management
Created with That Quiz — where test making and test taking are made easy for math and other subject areas.