Which control structure will execute an instruction only after the computer evaluates conditions to determine if a certain condition exists?
Selection
Loop
Functional
Sequence
3. Multiple Choice
30 seconds
1 pt
Which type of programming structure requires each instruction to be performed in order, with no possibility of skipping an action or branching off to another action?
Loop
Sequence
Selection
Iteration
4. Multiple Choice
1 minute
1 pt
Jackson has written a section of code in his program that instructs a character to move forward unless it encounters an obstacle, such as a rock. If the character encounters an obstacle, then it should change direction before moving forward again. If it does not encounter an obstacle, it should continue moving forward. Which type of control structure has Jackson written?
Selection
Loop
Functional
Sequence
5. Multiple Choice
30 seconds
1 pt
What type of flowchart is shown here?
selection
iteration / loop
sequence
6. Multiple Choice
30 seconds
1 pt
What type of flowchart is shown here?
selection
iteration / loop
sequence
7. Multiple Choice
30 seconds
1 pt
What is the Output if the user enters: Yes
Leave umbrella at home
Take an umbrella
8. Multiple Choice
30 seconds
1 pt
What is the Output if the temperature is: 19
Below Freezing
Above Freezing
9. Multiple Choice
30 seconds
1 pt
1 Input a number 2 Check to see if the number ends in 0, 2, 4, 6 or 8? 2a If yes, write "The number is even." 2b If no, write "The number is odd." This is an example of which type of control structure?
Selection
Iteration
Loop
Sequence
10. Multiple Choice
30 seconds
1 pt
Which control structure indicates the do/while statement?
Selective
Loop
Object
Sequence
11. Multiple Choice
30 seconds
1 pt
Which type of statement is an example of a selection programming structure?
If/else
while
do while
for
12. Multiple Choice
30 seconds
1 pt
A fixed loop will repeat code a specific number of times: true or false?
True
False
13. Multiple Choice
30 seconds
1 pt
A conditional loop is a loop which will repeat code until a condition is met: true or false?
True
False
14. Multiple Choice
30 seconds
1 pt
Which control structure is used to check if a condition has been met or not?