Deck 1: I Am Not a Control Freak Control Structures

Full screen (f)
exit full mode
Question
A(n) ____ is a set of step-by-step instructions that accomplish a task.

A) program
C) instruction set
B) algorithm
D) command structure
Use Space or
up arrow
down arrow
to flip the card.
Question
Programmers must use the repetition structure in every program they write.
Question
Without the repetition structure, if you needed an instruction to repeat 20 times you would have to write that instructions 20 times in your program.
Question
Control structures or ____ structures control the flow of a program's logic.

A) flow
C) logic
B) program
D) execution
Question
The redo structure is also referred to as a loop or as iteration.
Question
The ____ structure makes a decision and then takes an appropriate action based on that decision.

A) repetition
C) command
B) sequence
D) selection
Question
The ____ structure in a computer program directs the computer to process the program instructions, one after another, in the order listed in the program.

A) sequence
C) repetition
B) selection
D) series
Question
When used in a computer program, the selection structure alerts the computer that a decision needs to be made, and it provides the appropriate action to take based on the result of that decision.
Question
When used in a program, the ____ structure directs the computer to repeat one or more instructions until some condition is met, at which time the computer should stop repeating the instructions.

A) redo
C) selection
B) repetition
D) sequence
Question
All computer programs, no matter how simple or how complex, are written using one or more of three basic structures: sequence, selection, and repetition.
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/10
auto play flashcards
Play
simple tutorial
Full screen (f)
exit full mode
Deck 1: I Am Not a Control Freak Control Structures
1
A(n) ____ is a set of step-by-step instructions that accomplish a task.

A) program
C) instruction set
B) algorithm
D) command structure
B
2
Programmers must use the repetition structure in every program they write.
False
3
Without the repetition structure, if you needed an instruction to repeat 20 times you would have to write that instructions 20 times in your program.
True
4
Control structures or ____ structures control the flow of a program's logic.

A) flow
C) logic
B) program
D) execution
Unlock Deck
Unlock for access to all 10 flashcards in this deck.
Unlock Deck
k this deck
5
The redo structure is also referred to as a loop or as iteration.
Unlock Deck
Unlock for access to all 10 flashcards in this deck.
Unlock Deck
k this deck
6
The ____ structure makes a decision and then takes an appropriate action based on that decision.

A) repetition
C) command
B) sequence
D) selection
Unlock Deck
Unlock for access to all 10 flashcards in this deck.
Unlock Deck
k this deck
7
The ____ structure in a computer program directs the computer to process the program instructions, one after another, in the order listed in the program.

A) sequence
C) repetition
B) selection
D) series
Unlock Deck
Unlock for access to all 10 flashcards in this deck.
Unlock Deck
k this deck
8
When used in a computer program, the selection structure alerts the computer that a decision needs to be made, and it provides the appropriate action to take based on the result of that decision.
Unlock Deck
Unlock for access to all 10 flashcards in this deck.
Unlock Deck
k this deck
9
When used in a program, the ____ structure directs the computer to repeat one or more instructions until some condition is met, at which time the computer should stop repeating the instructions.

A) redo
C) selection
B) repetition
D) sequence
Unlock Deck
Unlock for access to all 10 flashcards in this deck.
Unlock Deck
k this deck
10
All computer programs, no matter how simple or how complex, are written using one or more of three basic structures: sequence, selection, and repetition.
Unlock Deck
Unlock for access to all 10 flashcards in this deck.
Unlock Deck
k this deck
locked card icon
Unlock Deck
Unlock for access to all 10 flashcards in this deck.