Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Exam (elaborations)

Absolute Java 6th Edition, by Walter Savitch & Kenrick Mock — Complete Test Bank (Chapter 1-20)

Rating
-
Sold
-
Pages
233
Grade
A+
Uploaded on
04-06-2026
Written in
2025/2026

Absolute Java 6th Edition, by Walter Savitch & Kenrick Mock — Complete Test Bank (Chapter 1-20)

Institution
Absolute Java 6th Edition
Course
Absolute Java 6th Edition

Content preview

TEST BANK
Absolute Java 6th Edition
By Walter Savitch, Kenrick Mock
IM
PR
ES
SI
VE
G
R
AD
ES

, Table of Content
Chapter 1: GETTING STARTED

Chapter 2: CONSOLE INPUT AND OUTPUT

Chapter 3: FLOW OF CONTROL
IM
Chapter 4: DEFINING CLASSES I

Chapter 5: DEFINING CLASSES II

Chapter 6: ARRAYS
PR

Chapter 7: INHERITANCE

Chapter 8 POLYMORPHISM AND ABSTRACT CLASSES

Chapter 9: EXCEPTION HANDLING
ES
Chapter 10: FILE I/O

Chapter 11: RECURSION

Chapter 12: UML AND PATTERNS
SI
Chapter 13: INTERFACES AND INNER CLASSES

Chapter 14: GENERICS AND THE ArrayList CLASS
VE
Chapter 15: LINKED DATA STRUCTURES

Chapter 16: COLLECTIONS, MAPS AND ITERATORS

Chapter 17: SWING I
G
Chapter 18: SWING II

Chapter 19: JAVA NEVER ENDS
R

Chapter 20: APPLETS AND HTML
AD
ES

, Chapter 1 Getting Started 2



Chapter 1
Getting Started
IM

◼ Multiple Choice
PR
1) Java is an object-oriented programming language. An object-oriented language
(a) Uses structured programming.
(b) Views a program as consisting of objects which communicate through interactions.
(c) Functionally breaks down problems into smaller, more manageable problems.
(d) All of the above.
Answer: B
ES

2) In Java, the equal sign is used as the operator.
(a) increment
(b) decrement
(c) assignment
SI
(d) negation
Answer: C

3) In Java, source code is compiled into object code called .
VE
(a) Bit-code
(b) Class code
(c) Method code
(d) Byte-code
G
Answer: D

4) The hardest kind of error to detect in a computer program is a:
(a) Syntax error
R
(b) Run-time error
(c) Logic error
AD
(d) All of the above
Answer: C
ES

Answer: C
Copyright © 2016 Pearson Education, Inc., Hoboken NJ

, qwertyuiop

Chapter 1 Getting Started 3


5) Identify the invalid Java identifier.
(a) 1Week
(b) Week1
IM
(c) amount Due
(d) amount_due
Answer: A
PR
6) What is the value of the variable amountDue?

double price = 2.50;

double quantity = 5;

double amountDue = 0;
ES
amountDue = price * quantity;

(a) 12
(b) 12.25
SI
(c) 12.5
(d) 13
Answer: C
VE
7) What is the value of 7.52e-5?
(a) 752000.0
(b) 0.0000752
(c) 0.000752
(d) 0.00752
G
Answer: B

8) What is the Java expression for 4a2 + 2b * c?
R
(a) (4 * a) + (2 * b) * c
(b) (4 * a * a) + ((2 * b) * c)
(c) ((4 * a * a) + (2 * b)) * c
AD
(d) (4 + a * a) + ((2 + b) * c)
Answer: B

9) What is the Java expression for 27xy?
(a) 27 + (x * y)
ES
(b) 27 * (x + y)
(c) 27 * x * y
(d) 27x * y


wertyuio

Written for

Institution
Absolute Java 6th Edition
Course
Absolute Java 6th Edition

Document information

Uploaded on
June 4, 2026
Number of pages
233
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers
$19.49
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
Impressivegrades Chamberlain College Of Nursing
View profile
Follow You need to be logged in order to follow users or courses
Sold
699
Member since
3 year
Number of followers
495
Documents
1260
Last sold
1 week ago
Exam Mastery Vault

Exam Mastery Vault is built for students who are tired of guessing and ready to score with precision. This stores delivers high-yield, exam-focused notes, verified answers, study guides, and solutions manuals designed to turn complex topics into simple, test-ready material. Every document inside the vault is created with one goal: maximum marks with minimum wasted time. No filler. No recycled PDFS. Just clear explanations, structured summaries, practice-driven content, and exam-style questions that reflect what actually appears in assessments. whether you're preparing for quizzes, midterms, finals, licensure exams, or certification tests, Exam mastery vault helps you: Master key concepts faster, Revise smarter, not longer, Eliminate confusion before exam day, Boost accuracy and confidence. If you want premium revision notes, reliable answers, and performance-focused study resources, you're in the right place. Open the vault. Master the exam. Dominate your results.

Read more Read less
4.1

70 reviews

5
41
4
13
3
5
2
2
1
9

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions