,TESTBANK for Programming Logic and Design, 10th
Edition Joyce Farrell
Notes
1- The file is chapter after chapter.
2- We have shown you few pages sample.
3- The file contains all Appendix and Excel
sheet if it exists.
4- We have all what you need, we make
update at every time. There are many
new editions waiting you.
5- If you think you purchased the wrong file
You can contact us at every time, we can
replace it with true one.
Our email:
,Name: Class: Date:
Chapter 01: An Overview of Computers and Programming
1. Software can be classified into two broad types: application software and programming software.
a. True
b. False
ANSWER: False
FEEDBACK: Correct Correct. Software can be classified into application software and
system software.
Incorrect Incorrect. Software can be classified into application software and
system software.
POINTS: 1
REFERENCES: 2
Understanding Computer Systems
QUESTION TYPE: True / False
HAS VARIABLES: False
LEARNING OBJECTIVES: PL&D.FARR.18.01.01 - Describe computer systems
DATE CREATED: 9/12/2016 12:40 PM
DATE MODIFIED: 11/15/2019 4:09 PM
2. Every programming language has rules governing its word usage and punctuation.
a. True
b. False
ANSWER: True
FEEDBACK: Correct Correct. Programming languages use a compiler or interpreter to
convert source code into machine language. The compiler or
interpreter needs to have correct syntax to correctly translate the
program into machine language. Correct syntax follows a specific
set of rules defining word usage and punctuation.
Incorrect Incorrect. Programming languages use a compiler or interpreter to
convert source code into machine language. The compiler or
interpreter needs to have correct syntax to correctly translate the
program into machine language. Correct syntax follows a specific
set of rules defining word usage and punctuation.
POINTS: 1
REFERENCES: 3
Understanding Computer Systems
QUESTION TYPE: True / False
HAS VARIABLES: False
LEARNING OBJECTIVES: PL&D.FARR.18.01.01 - Describe computer systems
DATE CREATED: 9/12/2016 12:40 PM
DATE MODIFIED: 11/15/2019 4:09 PM
3. Besides the popular, comprehensive programming languages such as Java and C++, many
programmers use scripting languages such as Python, Lua, Perl, and PHP.
a. True
b. False
ANSWER: True
FEEDBACK: Correct Correct. Scripting languages such as Python, Lua, Perl, and PHP
can be typed directly from a keyboard and are stored as text rather
Copyright Cengage Learning. Powered by Cognero. Page 1
,Name: Class: Date:
Chapter 01: An Overview of Computers and Programming
than as binary executable files, from which they are interpreted line
by line when the program executes, rather than compiled to
machine language (binary).
Incorrect Incorrect. Scripting languages such as Python, Lua, Perl, and PHP
can be typed directly from a keyboard and are stored as text rather
than as binary executable files, from which they are interpreted line
by line when the program executes, rather than compiled to
machine language (binary).
POINTS: 1
REFERENCES: 4
Understanding Computer Systems
QUESTION TYPE: True / False
HAS VARIABLES: False
LEARNING OBJECTIVES: PL&D.FARR.18.01.01 - Describe computer systems
DATE CREATED: 9/12/2016 12:40 PM
DATE MODIFIED: 11/15/2019 4:09 PM
4. Professional computer programmers write programs to satisfy their own needs.
a. True
b. False
ANSWER: False
FEEDBACK: Correct Correct. Professional programmers write programs to satisfy the
needs of others, called users or end users.
Incorrect Incorrect. Professional programmers write programs to satisfy the
needs of others, called users or end users.
POINTS: 1
REFERENCES: 8
Understanding the Program Development Cycle
QUESTION TYPE: True / False
HAS VARIABLES: False
LEARNING OBJECTIVES: PL&D.FARR.18.01.03 - List the steps involved in the program development
cycle
DATE CREATED: 9/12/2016 12:40 PM
DATE MODIFIED: 11/15/2019 4:09 PM
5. The heart of the programming process lies in planning the program’s logic.
a. True
b. False
ANSWER: True
FEEDBACK: Correct Correct. The first step of programming is to understand the needs
of the end users, but the heart of programming lies in planning the
program’s logic. It is during this phase that the programmer plans
the steps of the program and how to order them.
Incorrect Incorrect. The first step of programming is to understand the needs
of the end users, but the heart of programming lies in planning the
program’s logic. It is during this phase that the programmer plans
the steps of the program and how to order them.
POINTS: 1
Copyright Cengage Learning. Powered by Cognero. Page 2
,Name: Class: Date:
Chapter 01: An Overview of Computers and Programming
REFERENCES: 9
Planning the Logic
QUESTION TYPE: True / False
HAS VARIABLES: False
LEARNING OBJECTIVES: PL&D.FARR.18.01.03 - List the steps involved in the program development
cycle
DATE CREATED: 9/12/2016 12:40 PM
DATE MODIFIED: 11/15/2019 4:09 PM
6. Once a program is completely coded, it is ready for a company or organization to use.
a. True
b. False
ANSWER: False
FEEDBACK: Correct Correct. Coding is only one stage of the product development
cycle. Once a program is coded and the syntax is checked for
errors, it needs to be tested for logical errors. The process of
finding and correcting program errors is called debugging, and
programs should only be put into production after they are
debugged and tested.
Incorrect Incorrect. Coding is only one stage of the product development
cycle. Once a program is coded and the syntax is checked for
errors, it needs to be tested for logical errors. The process of
finding and correcting program errors is called debugging, and
programs should only be put into production after they are
debugged and tested.
POINTS: 1
REFERENCES: 13
Putting the Program into Production
QUESTION TYPE: True / False
HAS VARIABLES: False
LEARNING OBJECTIVES: PL&D.FARR.18.01.03 - List the steps involved in the program development
cycle
DATE CREATED: 9/12/2016 12:40 PM
DATE MODIFIED: 11/15/2019 4:09 PM
7. Pseudocode is an English-like representation of the logical steps necessary to solve a problem.
a. True
b. False
ANSWER: True
FEEDBACK: Correct Correct. An English-like representation of the logical steps it takes
to solve a problem is called pseudocode. "Pseudo" is a prefix that
means "false," so "pseudocode" simply means "false code," or
sentences that appear like programming language but do not
follow syntax rules.
Incorrect Incorrect. An English-like representation of the logical steps it
takes to solve a problem is called pseudocode. "Pseudo" is a
prefix that means "false," so "pseudocode" simply means "false
code," or sentences that appear like programming language but do
not follow syntax rules.
POINTS: 1
Copyright Cengage Learning. Powered by Cognero. Page 3
,Name: Class: Date:
Chapter 01: An Overview of Computers and Programming
REFERENCES: 15
Using Pseudocode Statements and Flowchart Symbols
QUESTION TYPE: True / False
HAS VARIABLES: False
LEARNING OBJECTIVES: PL&D.FARR.18.01.04 - Write pseudocode statements and draw flowchart
symbols
DATE CREATED: 9/12/2016 12:40 PM
DATE MODIFIED: 11/15/2019 4:09 PM
8. An infinite loop is a flow of program logic that repeats and never ends.
a. True
b. False
ANSWER: True
FEEDBACK: Correct Correct. The repetition of a series of steps is called a loop. If the
logic in a loop contains a problem such that it never exits the loop,
the situation is known as an infinite loop.
Incorrect Incorrect. The repetition of a series of steps is called a loop. If the
logic in a loop contains a problem such that it never exits the loop,
the situation is known as an infinite loop.
POINTS: 1
REFERENCES: 19
Repeating Instructions
QUESTION TYPE: True / False
HAS VARIABLES: False
LEARNING OBJECTIVES: PL&D.FARR.18.01.04 - Write pseudocode statements and draw flowchart
symbols
DATE CREATED: 9/12/2016 12:40 PM
DATE MODIFIED: 11/15/2019 4:09 PM
9. Alan Turing is often regarded as the first programmer.
a. True
b. False
ANSWER: False
FEEDBACK: Correct Correct. Ada Lovelace predicted the development of software in
1843; she is often regarded as the first programmer. Alan Turing
proposed the basis for modern software in 1935 when he theorized
a universal Turing machine that could be programmed to follow a
set of instructions.
Incorrect Incorrect. Ada Lovelace predicted the development of software in
1843; she is often regarded as the first programmer. Alan Turing
proposed the basis for modern software in 1935 when he theorized
a universal Turing machine that could be programmed to follow a
set of instructions.
POINTS: 1
REFERENCES: 27
Understanding the Evolution of Programming Models
QUESTION TYPE: True / False
HAS VARIABLES: False
Copyright Cengage Learning. Powered by Cognero. Page 4
,Name: Class: Date:
Chapter 01: An Overview of Computers and Programming
LEARNING OBJECTIVES: PL&D.FARR.18.01.07 - Describe the evolution of programming models
DATE CREATED: 9/12/2016 12:40 PM
DATE MODIFIED: 11/15/2019 4:09 PM
10. Programmers can use either procedural programming or object-oriented programming to develop
programs.
a. True
b. False
ANSWER: True
FEEDBACK: Correct Correct. Modern programmers use two major models or paradigms
to develop programs and their procedures. Procedural
programming focuses on procedures or actions that are carried out
in the program. Object-oriented programming focuses on objects
and their attributes and behaviors.
Incorrect Incorrect. Modern programmers use two major models or
paradigms to develop programs and their procedures. Procedural
programming focuses on procedures or actions that are carried out
in the program. Object-oriented programming focuses on objects
and their attributes and behaviors.
POINTS: 1
REFERENCES: 27
Understanding the Evolution of Programming Models
QUESTION TYPE: True / False
HAS VARIABLES: False
LEARNING OBJECTIVES: PL&D.FARR.18.01.07 - Describe the evolution of programming models
DATE CREATED: 9/12/2016 12:40 PM
DATE MODIFIED: 11/15/2019 4:09 PM
11. ____ data items may involve organizing or sorting them, checking them for accuracy, or performing
calculations with them.
a. Processing b. Inputting
c. Outputting d. Converting
ANSWER: a
FEEDBACK: a. Correct. Processing data, which is done by the CPU, includes
operations such as sorting times, checking items for accuracy, or
performing calculations.
b. Incorrect. Inputting data consists of entering data items into a
computer and storing them in memory, where they can be
processed.
c. Incorrect. Outputting data occurs after data has been processed,
when the resulting information is usually sent to a printer,
monitor, or some other output device so that people can view,
interpret, and use the results.
d. Incorrect. Converting data means to change its format. A
compiler or interpreter converts syntax to machine language.
POINTS: 1
REFERENCES: 2
Understanding Computer Systems
QUESTION TYPE: Multiple Choice
Copyright Cengage Learning. Powered by Cognero. Page 5
,Name: Class: Date:
Chapter 01: An Overview of Computers and Programming
HAS VARIABLES: False
LEARNING OBJECTIVES: PL&D.FARR.18.01.01 - Describe computer systems
DATE CREATED: 9/12/2016 12:40 PM
DATE MODIFIED: 11/15/2019 4:09 PM
12. ____ errors are relatively easy to locate and correct because the compiler or interpreter you use
highlights every error.
a. Logic b. Syntax
c. Input d. Process
ANSWER: b
FEEDBACK: a. Incorrect. Logic errors are due to incorrect instructions or
sequences in programs. Compilers and interpreters can
determine if a programmer used proper syntax but cannot
determine if the instructions or sequences perform the intended
output. Logical errors produce incorrect output.
b. Correct. Every language has rules governing its word usage and
punctuation. These rules are called the language’s syntax.
Because compilers and interpreters know the proper syntax, they
can highlight incorrect text.
c. Incorrect. Input errors occur at runtime, which for compiled
programs occurs when the CPU is executing a program that has
already been converted into machine language. The compiler
identifies incorrect syntax before compiling the program.
d. Incorrect. "Process error" is a generic term describing an error
that occurs somewhere in a process. The process may be a
debugging process or a mathematical process, so a process that
gets interrupted unexpectedly experiences a process error.
POINTS: 1
REFERENCES: 4
Understanding Computer Systems
QUESTION TYPE: Multiple Choice
HAS VARIABLES: False
LEARNING OBJECTIVES: PL&D.FARR.18.01.01 - Describe computer systems
DATE CREATED: 9/12/2016 12:40 PM
DATE MODIFIED: 11/15/2019 4:09 PM
13. A ____ error results when you use a syntactically correct statement but use the wrong one for the
current context.
a. syntax b. logical
c. semantic d. line
ANSWER: b
FEEDBACK: a. Incorrect. A syntax error occurs when you use the wrong word or
punctuation defined by the programming language.
b. Correct. A logical error occurs when the syntax is correct but the
instruction or sequence programmed is incorrect.
c. Incorrect. In programming, semantics describes the meaning of
the syntax of any given statement.
d. Incorrect. A "line error" is an undefined term, but describes a line
of code that includes a syntax or logical error.
Copyright Cengage Learning. Powered by Cognero. Page 6
,Name: Class: Date:
Chapter 01: An Overview of Computers and Programming
POINTS: 1
REFERENCES: 12
Testing the Program
QUESTION TYPE: Multiple Choice
HAS VARIABLES: False
LEARNING OBJECTIVES: PL&D.FARR.18.01.03 - List the steps involved in the program development
cycle
DATE CREATED: 9/12/2016 12:40 PM
DATE MODIFIED: 11/15/2019 4:09 PM
14. A(n) ____ is a named memory location whose value can vary.
a. input b. variable
c. output d. logic
ANSWER: b
FEEDBACK: a. Incorrect. Input is the action of entering data into a program.
b. Correct. Variables are named memory locations that can hold
different values at different points in time.
c. Incorrect. Output is the action of sending resulting information to
a printer, monitor, or some other device so that people can view,
interpret, and use the results.
d. Incorrect. Logic is sequential instruction.
POINTS: 1
REFERENCES: 6
Understanding Simple Program Logic
QUESTION TYPE: Multiple Choice
HAS VARIABLES: False
LEARNING OBJECTIVES: PL&D.FARR.18.01.02 - Understand simple program logic
DATE CREATED: 9/12/2016 12:40 PM
DATE MODIFIED: 11/15/2019 4:09 PM
15. Computer programmers often refer to memory addresses using ____ notation.
a. binary b. indirect
c. mathematical d. hexadecimal
ANSWER: d
FEEDBACK: a. Incorrect. Binary is a two-digit numbering system used in
machine language. Because large numbers represented in binary
contain many digits, it is not a good numbering system for
programmers to use to refer to memory addresses.
b. Incorrect. Indirect notation refers to the programming concept
used in certain languages where the method precedes the object.
c. Incorrect. Mathematical notation deals with symbols and
operands used to describe mathematical or logical operations.
d. Correct. Hexadecimal notation is a base 16 number system that
is used to represent large binary numbers more compactly.
POINTS: 1
REFERENCES: 7
Understanding Simple Program Logic
Copyright Cengage Learning. Powered by Cognero. Page 7
, Name: Class: Date:
Chapter 01: An Overview of Computers and Programming
QUESTION TYPE: Multiple Choice
HAS VARIABLES: False
LEARNING OBJECTIVES: PL&D.FARR.18.01.02 - Understand simple program logic
DATE CREATED: 9/12/2016 12:40 PM
DATE MODIFIED: 11/15/2019 4:09 PM
16. Before a programmer plans the logic of the program, he or she must ____.
a. understand the problem b. write the program code
c. test the program d. maintain the program
ANSWER: a
FEEDBACK: a. Correct. The first step of the program development cycle is to
understand the problem.
b. Incorrect. The third step of the program development cycle is to
write the program code.
c. Incorrect. The fifth step of the program development cycle is to
test the program.
d. Incorrect. The seventh, or final, step of the program development
cycle is to maintain the program.
POINTS: 1
REFERENCES: 8
Understanding the Program Development Cycle
QUESTION TYPE: Multiple Choice
HAS VARIABLES: False
LEARNING OBJECTIVES: PL&D.FARR.18.01.03 - List the steps involved in the program development
cycle
DATE CREATED: 9/12/2016 12:40 PM
DATE MODIFIED: 11/15/2019 4:09 PM
17. After a programmer plans the logic of a program, the next step is ____.
a. understanding the problem b. testing the program
c. translating the program d. coding the program
ANSWER: d
FEEDBACK: a. Incorrect. Understanding the problem is the first step of the
program development cycle.
b. Incorrect. Testing the program is the fifth step of the program
development cycle.
c. Incorrect. Translating the program is the fourth step of the
program development cycle and is done through software, such
as a compiler or interpreter.
d. Correct. Coding the program is the third step of the program
development cycle and is completed after planning the logic and
before translating the program into machine language.
POINTS: 1
REFERENCES: 10
Planning the Logic
QUESTION TYPE: Multiple Choice
HAS VARIABLES: False
LEARNING OBJECTIVES: PL&D.FARR.18.01.03 - List the steps involved in the program development
Copyright Cengage Learning. Powered by Cognero. Page 8
Edition Joyce Farrell
Notes
1- The file is chapter after chapter.
2- We have shown you few pages sample.
3- The file contains all Appendix and Excel
sheet if it exists.
4- We have all what you need, we make
update at every time. There are many
new editions waiting you.
5- If you think you purchased the wrong file
You can contact us at every time, we can
replace it with true one.
Our email:
,Name: Class: Date:
Chapter 01: An Overview of Computers and Programming
1. Software can be classified into two broad types: application software and programming software.
a. True
b. False
ANSWER: False
FEEDBACK: Correct Correct. Software can be classified into application software and
system software.
Incorrect Incorrect. Software can be classified into application software and
system software.
POINTS: 1
REFERENCES: 2
Understanding Computer Systems
QUESTION TYPE: True / False
HAS VARIABLES: False
LEARNING OBJECTIVES: PL&D.FARR.18.01.01 - Describe computer systems
DATE CREATED: 9/12/2016 12:40 PM
DATE MODIFIED: 11/15/2019 4:09 PM
2. Every programming language has rules governing its word usage and punctuation.
a. True
b. False
ANSWER: True
FEEDBACK: Correct Correct. Programming languages use a compiler or interpreter to
convert source code into machine language. The compiler or
interpreter needs to have correct syntax to correctly translate the
program into machine language. Correct syntax follows a specific
set of rules defining word usage and punctuation.
Incorrect Incorrect. Programming languages use a compiler or interpreter to
convert source code into machine language. The compiler or
interpreter needs to have correct syntax to correctly translate the
program into machine language. Correct syntax follows a specific
set of rules defining word usage and punctuation.
POINTS: 1
REFERENCES: 3
Understanding Computer Systems
QUESTION TYPE: True / False
HAS VARIABLES: False
LEARNING OBJECTIVES: PL&D.FARR.18.01.01 - Describe computer systems
DATE CREATED: 9/12/2016 12:40 PM
DATE MODIFIED: 11/15/2019 4:09 PM
3. Besides the popular, comprehensive programming languages such as Java and C++, many
programmers use scripting languages such as Python, Lua, Perl, and PHP.
a. True
b. False
ANSWER: True
FEEDBACK: Correct Correct. Scripting languages such as Python, Lua, Perl, and PHP
can be typed directly from a keyboard and are stored as text rather
Copyright Cengage Learning. Powered by Cognero. Page 1
,Name: Class: Date:
Chapter 01: An Overview of Computers and Programming
than as binary executable files, from which they are interpreted line
by line when the program executes, rather than compiled to
machine language (binary).
Incorrect Incorrect. Scripting languages such as Python, Lua, Perl, and PHP
can be typed directly from a keyboard and are stored as text rather
than as binary executable files, from which they are interpreted line
by line when the program executes, rather than compiled to
machine language (binary).
POINTS: 1
REFERENCES: 4
Understanding Computer Systems
QUESTION TYPE: True / False
HAS VARIABLES: False
LEARNING OBJECTIVES: PL&D.FARR.18.01.01 - Describe computer systems
DATE CREATED: 9/12/2016 12:40 PM
DATE MODIFIED: 11/15/2019 4:09 PM
4. Professional computer programmers write programs to satisfy their own needs.
a. True
b. False
ANSWER: False
FEEDBACK: Correct Correct. Professional programmers write programs to satisfy the
needs of others, called users or end users.
Incorrect Incorrect. Professional programmers write programs to satisfy the
needs of others, called users or end users.
POINTS: 1
REFERENCES: 8
Understanding the Program Development Cycle
QUESTION TYPE: True / False
HAS VARIABLES: False
LEARNING OBJECTIVES: PL&D.FARR.18.01.03 - List the steps involved in the program development
cycle
DATE CREATED: 9/12/2016 12:40 PM
DATE MODIFIED: 11/15/2019 4:09 PM
5. The heart of the programming process lies in planning the program’s logic.
a. True
b. False
ANSWER: True
FEEDBACK: Correct Correct. The first step of programming is to understand the needs
of the end users, but the heart of programming lies in planning the
program’s logic. It is during this phase that the programmer plans
the steps of the program and how to order them.
Incorrect Incorrect. The first step of programming is to understand the needs
of the end users, but the heart of programming lies in planning the
program’s logic. It is during this phase that the programmer plans
the steps of the program and how to order them.
POINTS: 1
Copyright Cengage Learning. Powered by Cognero. Page 2
,Name: Class: Date:
Chapter 01: An Overview of Computers and Programming
REFERENCES: 9
Planning the Logic
QUESTION TYPE: True / False
HAS VARIABLES: False
LEARNING OBJECTIVES: PL&D.FARR.18.01.03 - List the steps involved in the program development
cycle
DATE CREATED: 9/12/2016 12:40 PM
DATE MODIFIED: 11/15/2019 4:09 PM
6. Once a program is completely coded, it is ready for a company or organization to use.
a. True
b. False
ANSWER: False
FEEDBACK: Correct Correct. Coding is only one stage of the product development
cycle. Once a program is coded and the syntax is checked for
errors, it needs to be tested for logical errors. The process of
finding and correcting program errors is called debugging, and
programs should only be put into production after they are
debugged and tested.
Incorrect Incorrect. Coding is only one stage of the product development
cycle. Once a program is coded and the syntax is checked for
errors, it needs to be tested for logical errors. The process of
finding and correcting program errors is called debugging, and
programs should only be put into production after they are
debugged and tested.
POINTS: 1
REFERENCES: 13
Putting the Program into Production
QUESTION TYPE: True / False
HAS VARIABLES: False
LEARNING OBJECTIVES: PL&D.FARR.18.01.03 - List the steps involved in the program development
cycle
DATE CREATED: 9/12/2016 12:40 PM
DATE MODIFIED: 11/15/2019 4:09 PM
7. Pseudocode is an English-like representation of the logical steps necessary to solve a problem.
a. True
b. False
ANSWER: True
FEEDBACK: Correct Correct. An English-like representation of the logical steps it takes
to solve a problem is called pseudocode. "Pseudo" is a prefix that
means "false," so "pseudocode" simply means "false code," or
sentences that appear like programming language but do not
follow syntax rules.
Incorrect Incorrect. An English-like representation of the logical steps it
takes to solve a problem is called pseudocode. "Pseudo" is a
prefix that means "false," so "pseudocode" simply means "false
code," or sentences that appear like programming language but do
not follow syntax rules.
POINTS: 1
Copyright Cengage Learning. Powered by Cognero. Page 3
,Name: Class: Date:
Chapter 01: An Overview of Computers and Programming
REFERENCES: 15
Using Pseudocode Statements and Flowchart Symbols
QUESTION TYPE: True / False
HAS VARIABLES: False
LEARNING OBJECTIVES: PL&D.FARR.18.01.04 - Write pseudocode statements and draw flowchart
symbols
DATE CREATED: 9/12/2016 12:40 PM
DATE MODIFIED: 11/15/2019 4:09 PM
8. An infinite loop is a flow of program logic that repeats and never ends.
a. True
b. False
ANSWER: True
FEEDBACK: Correct Correct. The repetition of a series of steps is called a loop. If the
logic in a loop contains a problem such that it never exits the loop,
the situation is known as an infinite loop.
Incorrect Incorrect. The repetition of a series of steps is called a loop. If the
logic in a loop contains a problem such that it never exits the loop,
the situation is known as an infinite loop.
POINTS: 1
REFERENCES: 19
Repeating Instructions
QUESTION TYPE: True / False
HAS VARIABLES: False
LEARNING OBJECTIVES: PL&D.FARR.18.01.04 - Write pseudocode statements and draw flowchart
symbols
DATE CREATED: 9/12/2016 12:40 PM
DATE MODIFIED: 11/15/2019 4:09 PM
9. Alan Turing is often regarded as the first programmer.
a. True
b. False
ANSWER: False
FEEDBACK: Correct Correct. Ada Lovelace predicted the development of software in
1843; she is often regarded as the first programmer. Alan Turing
proposed the basis for modern software in 1935 when he theorized
a universal Turing machine that could be programmed to follow a
set of instructions.
Incorrect Incorrect. Ada Lovelace predicted the development of software in
1843; she is often regarded as the first programmer. Alan Turing
proposed the basis for modern software in 1935 when he theorized
a universal Turing machine that could be programmed to follow a
set of instructions.
POINTS: 1
REFERENCES: 27
Understanding the Evolution of Programming Models
QUESTION TYPE: True / False
HAS VARIABLES: False
Copyright Cengage Learning. Powered by Cognero. Page 4
,Name: Class: Date:
Chapter 01: An Overview of Computers and Programming
LEARNING OBJECTIVES: PL&D.FARR.18.01.07 - Describe the evolution of programming models
DATE CREATED: 9/12/2016 12:40 PM
DATE MODIFIED: 11/15/2019 4:09 PM
10. Programmers can use either procedural programming or object-oriented programming to develop
programs.
a. True
b. False
ANSWER: True
FEEDBACK: Correct Correct. Modern programmers use two major models or paradigms
to develop programs and their procedures. Procedural
programming focuses on procedures or actions that are carried out
in the program. Object-oriented programming focuses on objects
and their attributes and behaviors.
Incorrect Incorrect. Modern programmers use two major models or
paradigms to develop programs and their procedures. Procedural
programming focuses on procedures or actions that are carried out
in the program. Object-oriented programming focuses on objects
and their attributes and behaviors.
POINTS: 1
REFERENCES: 27
Understanding the Evolution of Programming Models
QUESTION TYPE: True / False
HAS VARIABLES: False
LEARNING OBJECTIVES: PL&D.FARR.18.01.07 - Describe the evolution of programming models
DATE CREATED: 9/12/2016 12:40 PM
DATE MODIFIED: 11/15/2019 4:09 PM
11. ____ data items may involve organizing or sorting them, checking them for accuracy, or performing
calculations with them.
a. Processing b. Inputting
c. Outputting d. Converting
ANSWER: a
FEEDBACK: a. Correct. Processing data, which is done by the CPU, includes
operations such as sorting times, checking items for accuracy, or
performing calculations.
b. Incorrect. Inputting data consists of entering data items into a
computer and storing them in memory, where they can be
processed.
c. Incorrect. Outputting data occurs after data has been processed,
when the resulting information is usually sent to a printer,
monitor, or some other output device so that people can view,
interpret, and use the results.
d. Incorrect. Converting data means to change its format. A
compiler or interpreter converts syntax to machine language.
POINTS: 1
REFERENCES: 2
Understanding Computer Systems
QUESTION TYPE: Multiple Choice
Copyright Cengage Learning. Powered by Cognero. Page 5
,Name: Class: Date:
Chapter 01: An Overview of Computers and Programming
HAS VARIABLES: False
LEARNING OBJECTIVES: PL&D.FARR.18.01.01 - Describe computer systems
DATE CREATED: 9/12/2016 12:40 PM
DATE MODIFIED: 11/15/2019 4:09 PM
12. ____ errors are relatively easy to locate and correct because the compiler or interpreter you use
highlights every error.
a. Logic b. Syntax
c. Input d. Process
ANSWER: b
FEEDBACK: a. Incorrect. Logic errors are due to incorrect instructions or
sequences in programs. Compilers and interpreters can
determine if a programmer used proper syntax but cannot
determine if the instructions or sequences perform the intended
output. Logical errors produce incorrect output.
b. Correct. Every language has rules governing its word usage and
punctuation. These rules are called the language’s syntax.
Because compilers and interpreters know the proper syntax, they
can highlight incorrect text.
c. Incorrect. Input errors occur at runtime, which for compiled
programs occurs when the CPU is executing a program that has
already been converted into machine language. The compiler
identifies incorrect syntax before compiling the program.
d. Incorrect. "Process error" is a generic term describing an error
that occurs somewhere in a process. The process may be a
debugging process or a mathematical process, so a process that
gets interrupted unexpectedly experiences a process error.
POINTS: 1
REFERENCES: 4
Understanding Computer Systems
QUESTION TYPE: Multiple Choice
HAS VARIABLES: False
LEARNING OBJECTIVES: PL&D.FARR.18.01.01 - Describe computer systems
DATE CREATED: 9/12/2016 12:40 PM
DATE MODIFIED: 11/15/2019 4:09 PM
13. A ____ error results when you use a syntactically correct statement but use the wrong one for the
current context.
a. syntax b. logical
c. semantic d. line
ANSWER: b
FEEDBACK: a. Incorrect. A syntax error occurs when you use the wrong word or
punctuation defined by the programming language.
b. Correct. A logical error occurs when the syntax is correct but the
instruction or sequence programmed is incorrect.
c. Incorrect. In programming, semantics describes the meaning of
the syntax of any given statement.
d. Incorrect. A "line error" is an undefined term, but describes a line
of code that includes a syntax or logical error.
Copyright Cengage Learning. Powered by Cognero. Page 6
,Name: Class: Date:
Chapter 01: An Overview of Computers and Programming
POINTS: 1
REFERENCES: 12
Testing the Program
QUESTION TYPE: Multiple Choice
HAS VARIABLES: False
LEARNING OBJECTIVES: PL&D.FARR.18.01.03 - List the steps involved in the program development
cycle
DATE CREATED: 9/12/2016 12:40 PM
DATE MODIFIED: 11/15/2019 4:09 PM
14. A(n) ____ is a named memory location whose value can vary.
a. input b. variable
c. output d. logic
ANSWER: b
FEEDBACK: a. Incorrect. Input is the action of entering data into a program.
b. Correct. Variables are named memory locations that can hold
different values at different points in time.
c. Incorrect. Output is the action of sending resulting information to
a printer, monitor, or some other device so that people can view,
interpret, and use the results.
d. Incorrect. Logic is sequential instruction.
POINTS: 1
REFERENCES: 6
Understanding Simple Program Logic
QUESTION TYPE: Multiple Choice
HAS VARIABLES: False
LEARNING OBJECTIVES: PL&D.FARR.18.01.02 - Understand simple program logic
DATE CREATED: 9/12/2016 12:40 PM
DATE MODIFIED: 11/15/2019 4:09 PM
15. Computer programmers often refer to memory addresses using ____ notation.
a. binary b. indirect
c. mathematical d. hexadecimal
ANSWER: d
FEEDBACK: a. Incorrect. Binary is a two-digit numbering system used in
machine language. Because large numbers represented in binary
contain many digits, it is not a good numbering system for
programmers to use to refer to memory addresses.
b. Incorrect. Indirect notation refers to the programming concept
used in certain languages where the method precedes the object.
c. Incorrect. Mathematical notation deals with symbols and
operands used to describe mathematical or logical operations.
d. Correct. Hexadecimal notation is a base 16 number system that
is used to represent large binary numbers more compactly.
POINTS: 1
REFERENCES: 7
Understanding Simple Program Logic
Copyright Cengage Learning. Powered by Cognero. Page 7
, Name: Class: Date:
Chapter 01: An Overview of Computers and Programming
QUESTION TYPE: Multiple Choice
HAS VARIABLES: False
LEARNING OBJECTIVES: PL&D.FARR.18.01.02 - Understand simple program logic
DATE CREATED: 9/12/2016 12:40 PM
DATE MODIFIED: 11/15/2019 4:09 PM
16. Before a programmer plans the logic of the program, he or she must ____.
a. understand the problem b. write the program code
c. test the program d. maintain the program
ANSWER: a
FEEDBACK: a. Correct. The first step of the program development cycle is to
understand the problem.
b. Incorrect. The third step of the program development cycle is to
write the program code.
c. Incorrect. The fifth step of the program development cycle is to
test the program.
d. Incorrect. The seventh, or final, step of the program development
cycle is to maintain the program.
POINTS: 1
REFERENCES: 8
Understanding the Program Development Cycle
QUESTION TYPE: Multiple Choice
HAS VARIABLES: False
LEARNING OBJECTIVES: PL&D.FARR.18.01.03 - List the steps involved in the program development
cycle
DATE CREATED: 9/12/2016 12:40 PM
DATE MODIFIED: 11/15/2019 4:09 PM
17. After a programmer plans the logic of a program, the next step is ____.
a. understanding the problem b. testing the program
c. translating the program d. coding the program
ANSWER: d
FEEDBACK: a. Incorrect. Understanding the problem is the first step of the
program development cycle.
b. Incorrect. Testing the program is the fifth step of the program
development cycle.
c. Incorrect. Translating the program is the fourth step of the
program development cycle and is done through software, such
as a compiler or interpreter.
d. Correct. Coding the program is the third step of the program
development cycle and is completed after planning the logic and
before translating the program into machine language.
POINTS: 1
REFERENCES: 10
Planning the Logic
QUESTION TYPE: Multiple Choice
HAS VARIABLES: False
LEARNING OBJECTIVES: PL&D.FARR.18.01.03 - List the steps involved in the program development
Copyright Cengage Learning. Powered by Cognero. Page 8