
























































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

























































Java Programming, 10th Edition (Joyce Farrell) – Full Practice Exam: 100+ Multiple-Choice Questions with Verified Answers & Detailed Rationales | Covers All Chapters (1–10) | Ideal for Final Exam ReviewJava Programming, 10th Edition by Joyce Farrell – Comprehensive Practice Test Bank Chapter 1: Creating Java Programs Q1: Languages that let you use an easily understood vocabulary of descriptive terms, such as read, write, or add, are known as ____________ languages.
Q6: Envisioning program components as objects that are similar to concrete objects in the real world is the hallmark of ____________.
☑VERIFIED ANSWER : A – state Rationale: In object-oriented programming, the current values of an object's attributes define its state. Methods define behaviors, while orientation and condition are not standard OOP terms. Q8: An instance of a class is a(n) ____________.
☑VERIFIED ANSWER : D – semicolon Rationale: In Java, every statement must be terminated with a semicolon (;). This includes declarations, assignments, method calls, and other executable statements. Q12: Arguments to methods always appear within ____________.
Q19: You save text files containing Java source code using the file extension ____________.
Q23: Multiplication, division, and remainder always take place after addition or subtraction in an expression.
Q25: ____ refers to the order in which values are used with operators.
Q29: You use ____ operators to perform calculations with values in your programs.
Q33: Each primitive type in Java has a corresponding class contained in the java.lang package. These classes are called ____ classes.
Rationale: Variable declaration statements include a data type, variable name, and ending semicolon (and optionally an initial value). Symbolic constants are declared using the final keyword and are not part of a standard variable declaration.