Java Chapter 1 Quiz

docx

School

Kennesaw State University *

*We aren’t endorsed by this school

Course

104

Subject

Computer Science

Date

Dec 6, 2023

Type

docx

Pages

4

Uploaded by kirahmartin

Report
CHAPTER 1 QUIZ 1. In a Java program, you must use forward slashes to separate classes, objects, and methods. True False 2. Named computer memory locations are called ________________. compilers addresses variables appellations 3. Arguments to methods always appear within ________________. parentheses double quotation marks curly braces single quotation marks 4. The style of indenting used in this text is called ________________. C-style free-form K & R Style Allman style 5. You save text files containing Java source code using the file extension .java. True False
6. Envisioning program components as objects that are similar to concrete objects in the real world is the hallmark of procedural programming. True False 7. The rules of a programming language constitute its ________________. objects logic format syntax 8. Java supports three types of comments: ________________, ________________, and javadoc . line, block single, multiple constant, variable string, literal 9. You must compile classes written in Java into bytecode. True False 10. Languages that let you use an easily understood vocabulary of descriptive terms, such as read, write, or add , are known as high-level languages. True False 11. Nonexecuting program statements that provide documentation are called comments. True
False 12. All Java applications must have a method named ________________. Hello() java() main() method() 13. The individual operations used in a computer program are often grouped into logical units called logistics. True False 14. An instance of a class is a(n) ________________. procedure case method object 15. A ________________ translates high-level language statements into machine code. programmer compiler decipherer syntax detector 16. All Java programming statements must end with a period. True
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
False 17. Java is architecturally ________________. abstract specific oriented neutral 18. The most basic circuitry-level computer language is ________________. machine language Java high-level language C++ 19. The values of an object's attributes are known as its ________________. condition methods orientation state 20. The command to execute a compiled Java application is ________________. javac java run execute