10th Edition
by Joyce Farrell
Complete Chapter Solutions Manual
are included (Ch 1 to 14)
** Immediate Download
** Swift Response
** All Chapters included
** Cases
** Debugging & Programming Exercises
, 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 ..................................................................................................... 15
Game Zone Solutions ..................................................................................................................... 17
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
1
.
, 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
2
.