100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
solution manual java programming 10th edition joyce farrell $11.49   Add to cart

Exam (elaborations)

solution manual java programming 10th edition joyce farrell

 21 views  0 purchase
  • Course
  • Institution

solution manual java programming 10th edition joyce farrell

Preview 4 out of 632  pages

  • May 7, 2024
  • 632
  • 2023/2024
  • Exam (elaborations)
  • Questions & answers
avatar-seller
Solution and Answer Guide: Farrell, Java Programming 10e, [978-035-767-3423], Chapter 1: Creating Java Programs




Solution and Answer Guide
Farrell, Java Programming 10e, [978-035-767-3423], Chapter 1: Creating Java Programs

Table of Contents
Review Questions Answers ........................................................................................................... 1
Programming Exercises Solutions................................................................................................ 8
Debugging Exercises Solutions................................................................................................... 14
Game Zone Solutions .................................................................................................................. 16
Case Problems Solutions ............................................................................................................ 18



Review Questions Answers
1. The most basic circuitry-level computer language is ____________.

a. machine language

b. Java

c. high-level language

d. C++

Answer: a

Feedback:

The most basic circuitry-level computer language is machine language. Machine
language, or machine code, is the most basic set of instructions a computer can execute.
Java and C++ are both high-level languages and are the opposite of circuitry-level
computer language.

2. Languages that let you use an easily understood vocabulary of descriptive terms, such as read,

write, or add, are known as ____________languages.

a. procedural

b. high-level

c. machine

d. object-oriented




© 2022 Cengage. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible 1
website, in whole or in part.

, Solution and Answer Guide: Farrell, Java Programming 10e, [978-035-767-3423], Chapter 1: Creating Java Programs



Answer: b

Feedback:

High-level languages use English-like terms; Java is an example of a high-level language.
Procedural languages are those that run by executing a series of procedures or
methods. Machine-level languages do not use English-like terms; they use 1s and 0s.
Object-oriented languages are run by declaring and using objects that contain data and
methods.

3. The rules of a programming language constitute its ____________.

a. syntax

b. logic

c. format

d. objects

Answer: a

Feedback:

The rules of a programming language constitute its syntax.

4. A ____________ translates high-level language statements into machine code.

a. programmer

b. syntax detector

c. compiler

d. decipherer

Answer: c

Feedback:

A compiler translates high-level language statements into machine code. A programmer
writes high-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


© 2022 Cengage. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible 2
website, in whole or in part.

, Solution and Answer Guide: Farrell, Java Programming 10e, [978-035-767-3423], Chapter 1: Creating Java Programs



d. appellations

Answer: b

Feedback:

Named computer memory locations are variables. Compilers translate programming
statements into machine language; they 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

c. constants

d. logistics

Answer: a

Feedback:

The individual operations used in a computer program are often grouped into logical
units called procedures. Variables are named memory locations, and constants 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.



© 2022 Cengage. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible 3
website, in whole or in part.

, Solution and Answer Guide: Farrell, Java Programming 10e, [978-035-767-3423], Chapter 1: Creating Java Programs



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

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


© 2022 Cengage. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible 4
website, in whole or in part.

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller a_plus_work. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $11.49. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

82215 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$11.49
  • (0)
  Add to cart