NEW
Font size
WorksheetsSelection Control Structure Quiz
Total questions: 10
Worksheet time: 5mins
Which control structure will execute an instruction only after the computer evaluates conditions to determine if a certain condition exists?
Functional
Loop
Selection
Sequence
What are the three main programming structures?
Machine, assembly, high-level
Sequence, selection, iteration
Interger, Float, String
If, If-else, Interger
Which control structure use If ...Else statement ?
Sequence
Repetition
Selection
Iteration
Which type of statement is an example of a selection programming structure?
for
while
If-else
do-while
Using the Logical Operator ( OR) What is the Result in the X symbol in the table
1
0
I Don't Know
Using the Logical Operator ( AND ) What is the Result in the X symbol in the table
1
0
&
Using the Logical Operator ( NOT ) What is the Result in the X symbol in the table
1
0
2
Faris 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?
Functional
Selection
Loop
Sequence
Which output of the program below, if user enter 80 as input.
Brilliant
Good
Owh No!
Sorry
X is refer to the ?
else
if-else
break
switch
