Programming Logic and Design -
Chapter 1 Review Questions and
Answers
d - ANSWER-A programmer's most important task before planning the logic of a
program is to __________.
a. decide which programming language to use
b. code the problem
c. train the users of the program
d. understand the problem
a - ANSWER-The two most commonly used tools for planning a program's logic are
_____________.
a. flowcharts and pseudocode
b. ASCII and EBCDIC
c. Java and Visual Basic
d. word processors and spreadsheets
b. coding - ANSWER-Writing a program in a language such as C++ or Java is known
as the program.
a. translating
b. coding
c. interpreting
d. compiling
c - ANSWER-11.An English-like programming language such as Java or Visual
Basic is a __________ programming language.
a. machine-level
b. low-level
c. high-level
d. binary-level
c - ANSWER-12.Which of the following is an example of a syntax error?
a. producing output before accepting input
b. subtracting when you meant to add
c. misspelling a programming language word
d. all of the above
d - ANSWER-13.Which of the following is an example of a logical error?
Chapter 1 Review Questions and
Answers
d - ANSWER-A programmer's most important task before planning the logic of a
program is to __________.
a. decide which programming language to use
b. code the problem
c. train the users of the program
d. understand the problem
a - ANSWER-The two most commonly used tools for planning a program's logic are
_____________.
a. flowcharts and pseudocode
b. ASCII and EBCDIC
c. Java and Visual Basic
d. word processors and spreadsheets
b. coding - ANSWER-Writing a program in a language such as C++ or Java is known
as the program.
a. translating
b. coding
c. interpreting
d. compiling
c - ANSWER-11.An English-like programming language such as Java or Visual
Basic is a __________ programming language.
a. machine-level
b. low-level
c. high-level
d. binary-level
c - ANSWER-12.Which of the following is an example of a syntax error?
a. producing output before accepting input
b. subtracting when you meant to add
c. misspelling a programming language word
d. all of the above
d - ANSWER-13.Which of the following is an example of a logical error?