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
Document preview thumbnail
Preview 10 out of 156 pages
Exam (elaborations)

Java Illuminated Sixth Edition Anderson TESTBANK PDF

Document preview thumbnail
Preview 10 out of 156 pages

Java Illuminated Sixth Edition Anderson TESTBANK PDF

Content preview

, TESTBANK FOR Java Illuminated Sixth Edition Anderson

Important Notes
 The file includes the complete test bank, organized chapter by chapter.
 A sample of selected pages has been provided for preview.
 All available appendices and Excel files (if included in the original resources) are
provided.
 Quizzes, Midterm and final exams are included (if available in the original resources).
 We continuously update our files to ensure you receive the latest and most accurate
editions.
 New editions are added regularly – stay connected for updates!
 ⚠️Note on Answer Keys: If the answer key is not included within the chapter
questions, you will find the complete answers and solutions at the end of each
chapter.

✅ Why Buy From Us?
 📚 Complete & organized chapter-by-chapter – no missing content, no guessing.
 ⚡ Instant digital delivery – get your file the moment you pay, no waiting.
 📅 Always up to date – we track new editions so you always get the latest version.
 💬 Friendly support – real humans ready to help, anytime you need us.
 🔒 Safe & secure – thousands of satisfied students trust us every semester.

🛡️Our Guarantees
 💰 Money-Back Guarantee: Not satisfied? We offer a full refund – no questions asked.
 🔄 Wrong File? No Problem: Contact us and we will replace it immediately with the
correct version, free of charge.
 ⏰ 24/7 Support: We are always here – reach out anytime and expect a fast response.

,Multiple Choice



1. Which of the following is not a hexadecimal digit?
A) 0
B) 9
C) A
D) F
E) G

Ans: E
Complexity: Easy
Ahead: Data Representation
Subject: Chapter 1
Title: Introduction to Programming and the Java Language
Taxonomy: Analysis



2. The binary number 1010 is equivalent to which hexadecimal number?
A) A
B) B
C) C
D) D
E) 9

Ans: A
Complexity: Easy
Ahead: Data Representation
Subject: Chapter 1
Title: Introduction to Programming and the Java Language
Taxonomy: Analysis



3. What does JVM stand for?
A) Java Virtual Memory
B) Job Virtual Machine
C) Java Virtual Mode
D) Java Veritable Machine
E) Java Virtual Machine

Ans: E
Complexity: Easy
Ahead: Programming Languages

,Subject: Chapter 1
Title: Introduction to Programming and the Java Language
Taxonomy: Recall



4. What is the name of the Java compiler?
A) java
B) javac
C) compiler
D) cc
E) jc

Ans: B
Complexity: Easy
Ahead: An Introduction to Programming
Subject: Chapter 1
Title: Introduction to Programming and the Java Language
Taxonomy: Recall



5. When you successfully compile the file Hi.java, the file __________ is created.
A) Hi
B) Hi.javac
C) Hi.class
D) class
E) Hi.java

Ans: C
Complexity: Moderate
Ahead: An Introduction to Programming
Subject: Chapter 1
Title: Introduction to Programming and the Java Language
Taxonomy: Application



6. You have successfully compiled the file Hi.java. How do you run the corresponding program
from the command line?
A) java Hi.java
B) java Hi.class
C) java Hi
D) Hi
E) Hi.class

,Ans: C
Complexity: Moderate
Ahead: An Introduction to Programming
Subject: Chapter 1
Title: Introduction to Programming and the Java Language
Taxonomy: Application



7. Which of the following companies introduced Java?
A) Microsoft
B) IBM
C) Sun Microsystems (now Oracle)
D) AT&T
E) MIT

Ans: C
Complexity: Moderate
Ahead: Programming Languages
Subject: Chapter 1
Title: Introduction to Programming and the Java Language
Taxonomy: Application



True/False



1. True or False? Main memory is made of DRAM.

Ans: True
Complexity: Easy
Ahead: Basic Computer Concepts
Subject: Chapter 1
Title: Introduction to Programming and the Java Language
Taxonomy: Recall



2. True or False? A CPU rated at 1 GHz is capable of executing 1 million instructions per
second.

Ans: False
Complexity: Easy

,Ahead: Basic Computer Concepts
Subject: Chapter 1
Title: Introduction to Programming and the Java Language
Taxonomy: Recall



3. True or False? A single bit can store one value, either a 0 or a 1.

Ans: True
Complexity: Easy
Ahead: Basic Computer Concepts
Subject: Chapter 1
Title: Introduction to Programming and the Java Language
Taxonomy: Recall



4. True or False? Cache memory is hardware.

Ans: True
Complexity: Easy
Ahead: Basic Computer Concepts
Subject: Chapter 1
Title: Introduction to Programming and the Java Language
Taxonomy: Recall



5. True or False? Binary numbers are composed of 0s and 1s.

Ans: True
Complexity: Easy
Ahead: Data Representation
Subject: Chapter 1
Title: Introduction to Programming and the Java Language
Taxonomy: Recall



6. True or False? The base for hexadecimal numbers is 15.

Ans: False
Complexity: Easy
Ahead: Data Representation
Subject: Chapter 1

,Title: Introduction to Programming and the Java Language
Taxonomy: Recall



7. True or False? Java is a high-level language.

Ans: True
Complexity: Easy
Ahead: Programming Languages
Subject: Chapter 1
Title: Introduction to Programming and the Java Language
Taxonomy: Recall



8. True or False? Java is an object-oriented language.

Ans: True
Complexity: Easy
Ahead: Programming Languages
Subject: Chapter 1
Title: Introduction to Programming and the Java Language
Taxonomy: Recall



Fill-in-the-Blank



1. CPU stands for __________.

Ans: central processing unit
Complexity: Easy
Ahead: Basic Computer Concepts
Subject: Chapter 1
Title: Introduction to Programming and the Java Language
Taxonomy: Recall



2. A byte contains _____ bits.

Ans: 8
Complexity: Easy

,Ahead: Basic Computer Concepts
Subject: Chapter 1
Title: Introduction to Programming and the Java Language
Taxonomy: Recall



3. DRAM stands for __________.

Ans: dynamic random access memory
Complexity: Easy
Ahead: Basic Computer Concepts
Subject: Chapter 1
Title: Introduction to Programming and the Java Language
Taxonomy: Recall



4. URL stands for __________.

Ans: uniform resource locator
Complexity: Easy
Ahead: Basic Computer Concepts
Subject: Chapter 1
Title: Introduction to Programming and the Java Language
Taxonomy: Recall



5. Unicode is a world standard to represent __________.

Ans: characters
Complexity: Easy
Ahead: Data Representation
Subject: Chapter 1
Title: Introduction to Programming and the Java Language
Taxonomy: Recall



6. The __________ format allows for the compression and aggregation of multiple Java files into
one.

Ans: JAR
Complexity: Easy
Ahead: An Introduction to Programming

,Subject: Chapter 1
Title: Introduction to Programming and the Java Language
Taxonomy: Recall



Essay



1. Compare the causes of compiler, run-time, and logic errors.

Ans: Compiler errors arise from incorrect language syntax or misspellings. Run-time errors
result from incorrect use of classes. Logic errors arise from incorrect program design or incorrect
implementation of the design.
Complexity: Difficult
Ahead: An Introduction to Programming
Subject: Chapter 1
Title: Introduction to Programming and the Java Language
Taxonomy: Analysis



2. How would you convert a binary number to a decimal number?

Ans: Multiply each digit in the binary number by 2position–1 and add all these values; count the
rightmost position as position 1 and move left through the binary number.
Complexity: Easy
Ahead: Data Representation
Subject: Chapter 1
Title: Introduction to Programming and the Java Language
Taxonomy: Application



3. Give two examples of operating systems.

Ans: Windows and Unix are two examples of operating systems.
Complexity: Easy
Ahead: Basic Computer Concepts
Subject: Chapter 1
Title: Introduction to Programming and the Java Language
Taxonomy: Analysis

, 4. List the digits and characters used in hexadecimal representation.

Ans: Digits 0 to 9 and characters A to F are used in hexadecimal representation.
Complexity: Easy
Ahead: Data Representation
Subject: Chapter 1
Title: Introduction to Programming and the Java Language
Taxonomy: Recall



5. What does it mean for a program to be readable?

Ans: Someone else should be able to read your program and figure out what it does and how it
does it.
Complexity: Moderate
Ahead: Introduction
Subject: Chapter 1
Title: Introduction to Programming and the Java Language
Taxonomy: Recall



6. Why would writing readable code help advance your career?

Ans: Writing readable code allows someone else to take over the maintenance of your program
while you move on to bigger and better responsibilities.
Complexity: Moderate
Ahead: Introduction
Subject: Chapter 1
Title: Introduction to Programming and the Java Language
Taxonomy: Application



7. Convert 162 into a binary number. Show your work.

Ans:
27 = 128; 162 – 128 = 34
25 = 32, and 21 = 2, so
27*1 + 26*0 + 25*1 + 24*0 +23*0 + 22*0 + 21*1 + 20*0= 1010 0010
Complexity: Moderate
Ahead: Data Representation
Subject: Chapter 1
Title: Introduction to Programming and the Java Language
Taxonomy: Application

Document information

Uploaded on
July 11, 2026
Number of pages
156
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers
$25.99

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

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.
Sold
20
Followers
1
Items
827
Last sold
4 days ago


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