level language statements but does not translate them . “Syntax detector ” and “decipherer ” are not terms used in programming. 5. Named computer memory locations are called ____________ . a. compilers b. variables c. addresses d. appellations Answer : b Feedback : Named computer memory locations are variables. Compilers translate programming statements into machine language; th ey are not memory locations . Addresses are unnamed computer memory locations . “Appellations ” is not a term used in programming . 6. The individual operations used in a computer program are often grouped into logical units called ____________ . a. procedures b. variables NURSEDOCS Solution and Answer Guide : Farrell, Java Programming 10e, [ 978-035-767-3423 ], Chapter 1: Creating Java Programs 3 © 2022 Cengage. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. c. constants d. logistics Answer : a Feedback : The individual operations used in a computer program are often grouped into logic al units called procedures . Variables are named memory locations , and c onstants are values that do not change; they are not groups of logical operations . “Logistics ” is not a term commonly used in programming . 7. Envisioning program components as objects that are similar to concrete objects in the real world is the hallmark of ____________ . a. command -line operating systems b. procedural programming c. object -oriented programming d. machine languages Answer : c Feedback : Envisioning program components as objects that are similar to concrete objects in the real world is the hallmark of object -oriented programming. 8. The values of an object’s attributes are known as its ____________ . a. state b. orientation c. methods d. condition Answer : a Feedback : The values of an object’s attributes are known as its state . 9. An instance of a class is a(n) ____________ . a. method b. procedure c. object d. case Answer : c NURSEDOCS Solution and Answer Guide : Farrell, Java Programming 10e, [ 978-035-767-3423 ], Chapter 1: Creating Java Programs 4 © 2022 Cengage. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. Feedback : An instance of a class is an object . 10. Java is architecturally ____________ . a. neutral b. oriented c. specific d. abstract Answer : a Feedback : Java is architecturally neutral . 11. You must compile classes written in Java into ____________ . a. bytecode b. source code c. Javadoc statements d. object code Answer : a Feedback : You must compile classes written in Java into bytecode . Source code is the high -level programming statements . Javadoc statements are a type of comment used for documentation . Object code is the low -
level code produced when a compiler translates high -level code . 12. All Java programming statements must end with a ____________ . a. period b. comma c. closing parenthesis d. semicolon Answer : d Feedback : All Java programming statements must end with a semicolon. 13. Arguments to methods always appear within ____________ . a. parentheses b. double quotation marks NURSEDOCS