• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 4 out of 391 pages
Exam (elaborations)

Conquer Your Course with the [Java Programming,Farrell,8e] 2024 Test Bank

Document preview thumbnail
Preview 4 out of 391 pages

Say hello to exam success with the Test Bank for [Java Programming,Farrell,8e]. By practicing with official exams and answers, you’ll be well equipped to pass the class. Make your academic breakthrough year.

Content preview

True / False


1. System software is used for tasks such as word processing, calculations and playing games.
a. True

b. False

ANSWER: False

POINTS: 1

REFERENCES: 2



2. If an object’s methods are well written, the user is unaware of the low-level details of how the
methods are executed, and the user must simply understand the interface or interaction between
the method and the object.
a. True

b. False

ANSWER: True

POINTS: 1

REFERENCES: 9



3. A Java identifier can contain only letters, digits, ampersands, or number signs.
a. True

b. False

ANSWER: False

POINTS: 1

REFERENCES: 15



4. You must use the Java interpreter to translate the bytecode into executable statements before
running a Java application.
a. True

, b. False

ANSWER: True

POINTS: 1

REFERENCES: 23



5. When you issue the command to compile a class containing errors, the Java compiler does not
produce any error messages. You will first need to run the class in order to see error messages.
a. True

b. False

ANSWER: False

POINTS: 1

REFERENCES: 23



6. Logic errors are easily identified when a program is compiled.
a. True

b. False

ANSWER: False

POINTS: 1

REFERENCES: 31



7. Although not a requirement, it is Java standard that class identifiers begin with an uppercase
letter and use other uppercase letters to improve readability.
a. True

b. False

ANSWER: True

POINTS: 1

,REFERENCES: 16



8. A compiler ignores whitespace (that is, any combination of nonprinting characters) between
words and lines.
a. True

b. False

ANSWER: True

POINTS: 1

REFERENCES: 18



9. Dots (or periods) in a Java statement are used to separate the names of the components that
make up the statement.
a. True

b. False

ANSWER: True

POINTS: 1

REFERENCES: 15



10. Using the void keyword in the main() method header indicates that a value will be
returned by the main() method is called.
a. True

b. False

ANSWER: False

POINTS: 1

REFERENCES: 20



Multiple Choice

, 11. A program written in ____ is the most basic circuitry-level language.
a. machine language b. Java

c. C d. BASIC

ANSWER: a

POINTS: 1

REFERENCES: 2



12. Locating and repairing all syntax errors is part of the process of ____ a program.
a. interpreting b. executing

c. debugging d. compiling

ANSWER: c

POINTS: 1

REFERENCES: 3



13. ____ are also called modules, methods, functions, and subroutines. Java programmers most
frequently use the term “method.”
a. Calls b. Classes

c. Procedures d. Applications

ANSWER: c

POINTS: 1

REFERENCES: 6



14. ____ refers to the hiding of data and methods within an object.
a. Instance b. Inheritance

c. Encapsulation d. Passed

ANSWER: c

Connected book
 image
Joyce Farrell Java Programming
Publisher: 2015 ISBN: 9781285856919 Edition: Unknown

Document information

Uploaded on
August 4, 2023
Number of pages
391
Written in
2023/2024
Type
Exam (elaborations)
Contains
Questions & answers
$38.49

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.
PracticeExams
4.2
(43)
Sold
342
Followers
194
Items
3263
Last sold
2 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