Deck 2: First You Need to Plan the Party Problem-Solving Process

Full screen (f)
exit full mode
Question
Most algorithms begin with an instruction that enters the input items into the computer.
Use Space or
up arrow
down arrow
to flip the card.
Question
Most algorithms end with an instruction to print, display, or store the output items.
Question
Analyzing real-world problems is generally as easy as analyzing the problems found in a textbook.
Question
Not all algorithms require a processing item.
Question
Before you begin the desk-check, you first choose a set of sample data for the input values, which you then use to manually compute the expected output values.
Question
When determining the output, it helps to think about the information that you would need to solve the problem manually.
Question
Unlike a flowchart, pseudocode uses standardized symbols to visually depict an algorithm.
Question
You can draw the flowchart symbols by hand; or, you can use the drawing or shapes feature in a word processor.
Question
Desk-checking is also called pencil-tracing, because the programmer uses a pencil and paper to follow each of the algorithm's instructions.
Question
When planning an algorithm, you need to create both a flowchart and pseudocode.
Question
The final step that programmers follow when they solve problems is to rigorously test the program using the computer.
Question
Display, print, and store refer to a file on disk, the printer, and the computer screen, respectively.
Question
The two most important components of any problem are the problem's output and its input.
Question
The input typically is stated as nouns and adjectives in the problem specification.
Question
If you are having trouble analyzing a problem, try reading the problem specification several times, as it is easy to miss information during the first reading.
Question
For simple algorithms, flowcharts work just fine.
Question
The first step that programmers follow when they solve problems is to plan the algorithm.
Question
Pseudocode is standardized.
Question
When analyzing a problem, you always search first for the input, and then for the output.
Question
To avoid confusion, it is important that the algorithm is consistent when referring to the input and output items.
Question
What the user wants to see printed on paper, displayed on the screen, or stored in a file is typically stated as ____ and adjectives in the problem specification.

A) adverbs
C) nouns
B) commands
D) verbs
Question
A helpful way to identify the ____ is to search the problem specification for what the user wants to see printed on paper, displayed on the screen, or stored in a file.

A) output
C) yield
B) contribution
D) input
Question
____ is called false code because, although it resembles programming language instructions, it cannot be understood by a computer.

A) Binary code
C) Planning code
B) Empty code
D) Pseudocode
Question
The ____ is the goal of solving the problem.

A) yield
C) contribution
B) output
D) input
Question
If a problem specification indicates that the program's user wants to see the amount of her annual commission displayed on the screen, the ____ is the annual commission.

A) yield
C) symbol
B) output
D) input
Question
The oval symbol in a flowchart is called the ____ symbol.

A) start/stop
C) process
B) input/output
D) flow
Question
A helpful way to identify the ____ is to search the problem specification for what information the computer will need to know to print, display, or store the output items.

A) output
C) yield
B) symbols
D) input
Question
The rectangle in a flowchart is called the ____ symbol and is used to represent tasks such as calculations.

A) start/stop
C) process
B) input/output
D) flow
Question
The parallelogram symbol in a flowchart is called a(n) ____ symbol.

A) start/stop
C) process
B) input/output
D) flow
Question
Programmers use the pseudocode as a guide when coding the algorithm, which is the ____ step in the problem-solving process.

A) second
C) fourth
B) third
D) fifth
Question
Symbols are connected with lines, called ____.

A) chartlines
C) leaders
B) flowlines
D) trackers
Question
It is helpful to use a desk-check table when desk-checking an algorithm.
Question
The ____ is the item or items needed to achieve the goal.

A) yield
C) contribution
B) output
D) input
Question
The ____ step is the most difficult of the problem-solving steps, and it requires a lot of time, patience, and effort.

A) planning
C) analysis
B) desk-check
D) testing
Question
The second step in the problem-solving process is to plan the ____, which is the set of instructions that, when followed, will transform the problem's input into its output.

A) program
C) instructions
B) algorithm
D) statements
Question
Programmers use ____ to help them while they are planning an algorithm.

A) pseudocode
C) templates
B) sheets
D) charts
Question
Suppose that a user wants to see his new weekly pay displayed on the screen. In this context, the words new and weekly are ____.

A) adjectives
C) nouns
B) verbs
D) adverbs
Question
Besides using pseudocode, programmers also use ____ when planning algorithms.

A) pseudocharts
C) flowcharts
B) templates
D) coding sheets
Question
You should test an algorithm with invalid data because users sometimes make mistakes when entering data.
Question
You can only perform a desk-check using an algorithm's pseudocode.
Question
____ data is data that the algorithm is not expecting the user to enter.

A) Invalid
C) Unchecked
B) Checked
D) Valid
Question
The term ____ refers to the fact that the programmer reviews the algorithm while seated at his or her desk rather than in front of the computer.

A) desk-checking
C) desk-tracing
B) program-checking
D) hand-checking
Question
You ____ an algorithm to verify that it is not missing any steps, and that the existing steps are correct and in the proper order.

A) desk-trace
C) program-check
B) desk-check
D) hand-check
Question
____ data is data that the algorithm is expecting the user to enter.

A) Invalid
C) Unchecked
B) Checked
D) Valid
Question
A ____ item represents an intermediate value that the algorithm uses when processing the input into the output.

A) calculating
C) processing
B) data
D) storage
Question
When an algorithm becomes more complex, the program's logic may be easier to see in ____.

A) code
C) pseudocode
B) a processor
D) a flowchart
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/46
auto play flashcards
Play
simple tutorial
Full screen (f)
exit full mode
Deck 2: First You Need to Plan the Party Problem-Solving Process
1
Most algorithms begin with an instruction that enters the input items into the computer.
True
2
Most algorithms end with an instruction to print, display, or store the output items.
True
3
Analyzing real-world problems is generally as easy as analyzing the problems found in a textbook.
False
4
Not all algorithms require a processing item.
Unlock Deck
Unlock for access to all 46 flashcards in this deck.
Unlock Deck
k this deck
5
Before you begin the desk-check, you first choose a set of sample data for the input values, which you then use to manually compute the expected output values.
Unlock Deck
Unlock for access to all 46 flashcards in this deck.
Unlock Deck
k this deck
6
When determining the output, it helps to think about the information that you would need to solve the problem manually.
Unlock Deck
Unlock for access to all 46 flashcards in this deck.
Unlock Deck
k this deck
7
Unlike a flowchart, pseudocode uses standardized symbols to visually depict an algorithm.
Unlock Deck
Unlock for access to all 46 flashcards in this deck.
Unlock Deck
k this deck
8
You can draw the flowchart symbols by hand; or, you can use the drawing or shapes feature in a word processor.
Unlock Deck
Unlock for access to all 46 flashcards in this deck.
Unlock Deck
k this deck
9
Desk-checking is also called pencil-tracing, because the programmer uses a pencil and paper to follow each of the algorithm's instructions.
Unlock Deck
Unlock for access to all 46 flashcards in this deck.
Unlock Deck
k this deck
10
When planning an algorithm, you need to create both a flowchart and pseudocode.
Unlock Deck
Unlock for access to all 46 flashcards in this deck.
Unlock Deck
k this deck
11
The final step that programmers follow when they solve problems is to rigorously test the program using the computer.
Unlock Deck
Unlock for access to all 46 flashcards in this deck.
Unlock Deck
k this deck
12
Display, print, and store refer to a file on disk, the printer, and the computer screen, respectively.
Unlock Deck
Unlock for access to all 46 flashcards in this deck.
Unlock Deck
k this deck
13
The two most important components of any problem are the problem's output and its input.
Unlock Deck
Unlock for access to all 46 flashcards in this deck.
Unlock Deck
k this deck
14
The input typically is stated as nouns and adjectives in the problem specification.
Unlock Deck
Unlock for access to all 46 flashcards in this deck.
Unlock Deck
k this deck
15
If you are having trouble analyzing a problem, try reading the problem specification several times, as it is easy to miss information during the first reading.
Unlock Deck
Unlock for access to all 46 flashcards in this deck.
Unlock Deck
k this deck
16
For simple algorithms, flowcharts work just fine.
Unlock Deck
Unlock for access to all 46 flashcards in this deck.
Unlock Deck
k this deck
17
The first step that programmers follow when they solve problems is to plan the algorithm.
Unlock Deck
Unlock for access to all 46 flashcards in this deck.
Unlock Deck
k this deck
18
Pseudocode is standardized.
Unlock Deck
Unlock for access to all 46 flashcards in this deck.
Unlock Deck
k this deck
19
When analyzing a problem, you always search first for the input, and then for the output.
Unlock Deck
Unlock for access to all 46 flashcards in this deck.
Unlock Deck
k this deck
20
To avoid confusion, it is important that the algorithm is consistent when referring to the input and output items.
Unlock Deck
Unlock for access to all 46 flashcards in this deck.
Unlock Deck
k this deck
21
What the user wants to see printed on paper, displayed on the screen, or stored in a file is typically stated as ____ and adjectives in the problem specification.

A) adverbs
C) nouns
B) commands
D) verbs
Unlock Deck
Unlock for access to all 46 flashcards in this deck.
Unlock Deck
k this deck
22
A helpful way to identify the ____ is to search the problem specification for what the user wants to see printed on paper, displayed on the screen, or stored in a file.

A) output
C) yield
B) contribution
D) input
Unlock Deck
Unlock for access to all 46 flashcards in this deck.
Unlock Deck
k this deck
23
____ is called false code because, although it resembles programming language instructions, it cannot be understood by a computer.

A) Binary code
C) Planning code
B) Empty code
D) Pseudocode
Unlock Deck
Unlock for access to all 46 flashcards in this deck.
Unlock Deck
k this deck
24
The ____ is the goal of solving the problem.

A) yield
C) contribution
B) output
D) input
Unlock Deck
Unlock for access to all 46 flashcards in this deck.
Unlock Deck
k this deck
25
If a problem specification indicates that the program's user wants to see the amount of her annual commission displayed on the screen, the ____ is the annual commission.

A) yield
C) symbol
B) output
D) input
Unlock Deck
Unlock for access to all 46 flashcards in this deck.
Unlock Deck
k this deck
26
The oval symbol in a flowchart is called the ____ symbol.

A) start/stop
C) process
B) input/output
D) flow
Unlock Deck
Unlock for access to all 46 flashcards in this deck.
Unlock Deck
k this deck
27
A helpful way to identify the ____ is to search the problem specification for what information the computer will need to know to print, display, or store the output items.

A) output
C) yield
B) symbols
D) input
Unlock Deck
Unlock for access to all 46 flashcards in this deck.
Unlock Deck
k this deck
28
The rectangle in a flowchart is called the ____ symbol and is used to represent tasks such as calculations.

A) start/stop
C) process
B) input/output
D) flow
Unlock Deck
Unlock for access to all 46 flashcards in this deck.
Unlock Deck
k this deck
29
The parallelogram symbol in a flowchart is called a(n) ____ symbol.

A) start/stop
C) process
B) input/output
D) flow
Unlock Deck
Unlock for access to all 46 flashcards in this deck.
Unlock Deck
k this deck
30
Programmers use the pseudocode as a guide when coding the algorithm, which is the ____ step in the problem-solving process.

A) second
C) fourth
B) third
D) fifth
Unlock Deck
Unlock for access to all 46 flashcards in this deck.
Unlock Deck
k this deck
31
Symbols are connected with lines, called ____.

A) chartlines
C) leaders
B) flowlines
D) trackers
Unlock Deck
Unlock for access to all 46 flashcards in this deck.
Unlock Deck
k this deck
32
It is helpful to use a desk-check table when desk-checking an algorithm.
Unlock Deck
Unlock for access to all 46 flashcards in this deck.
Unlock Deck
k this deck
33
The ____ is the item or items needed to achieve the goal.

A) yield
C) contribution
B) output
D) input
Unlock Deck
Unlock for access to all 46 flashcards in this deck.
Unlock Deck
k this deck
34
The ____ step is the most difficult of the problem-solving steps, and it requires a lot of time, patience, and effort.

A) planning
C) analysis
B) desk-check
D) testing
Unlock Deck
Unlock for access to all 46 flashcards in this deck.
Unlock Deck
k this deck
35
The second step in the problem-solving process is to plan the ____, which is the set of instructions that, when followed, will transform the problem's input into its output.

A) program
C) instructions
B) algorithm
D) statements
Unlock Deck
Unlock for access to all 46 flashcards in this deck.
Unlock Deck
k this deck
36
Programmers use ____ to help them while they are planning an algorithm.

A) pseudocode
C) templates
B) sheets
D) charts
Unlock Deck
Unlock for access to all 46 flashcards in this deck.
Unlock Deck
k this deck
37
Suppose that a user wants to see his new weekly pay displayed on the screen. In this context, the words new and weekly are ____.

A) adjectives
C) nouns
B) verbs
D) adverbs
Unlock Deck
Unlock for access to all 46 flashcards in this deck.
Unlock Deck
k this deck
38
Besides using pseudocode, programmers also use ____ when planning algorithms.

A) pseudocharts
C) flowcharts
B) templates
D) coding sheets
Unlock Deck
Unlock for access to all 46 flashcards in this deck.
Unlock Deck
k this deck
39
You should test an algorithm with invalid data because users sometimes make mistakes when entering data.
Unlock Deck
Unlock for access to all 46 flashcards in this deck.
Unlock Deck
k this deck
40
You can only perform a desk-check using an algorithm's pseudocode.
Unlock Deck
Unlock for access to all 46 flashcards in this deck.
Unlock Deck
k this deck
41
____ data is data that the algorithm is not expecting the user to enter.

A) Invalid
C) Unchecked
B) Checked
D) Valid
Unlock Deck
Unlock for access to all 46 flashcards in this deck.
Unlock Deck
k this deck
42
The term ____ refers to the fact that the programmer reviews the algorithm while seated at his or her desk rather than in front of the computer.

A) desk-checking
C) desk-tracing
B) program-checking
D) hand-checking
Unlock Deck
Unlock for access to all 46 flashcards in this deck.
Unlock Deck
k this deck
43
You ____ an algorithm to verify that it is not missing any steps, and that the existing steps are correct and in the proper order.

A) desk-trace
C) program-check
B) desk-check
D) hand-check
Unlock Deck
Unlock for access to all 46 flashcards in this deck.
Unlock Deck
k this deck
44
____ data is data that the algorithm is expecting the user to enter.

A) Invalid
C) Unchecked
B) Checked
D) Valid
Unlock Deck
Unlock for access to all 46 flashcards in this deck.
Unlock Deck
k this deck
45
A ____ item represents an intermediate value that the algorithm uses when processing the input into the output.

A) calculating
C) processing
B) data
D) storage
Unlock Deck
Unlock for access to all 46 flashcards in this deck.
Unlock Deck
k this deck
46
When an algorithm becomes more complex, the program's logic may be easier to see in ____.

A) code
C) pseudocode
B) a processor
D) a flowchart
Unlock Deck
Unlock for access to all 46 flashcards in this deck.
Unlock Deck
k this deck
locked card icon
Unlock Deck
Unlock for access to all 46 flashcards in this deck.