SC025: Control Structures Lecture Quiz

Quiz
•
Computers
•
12th Grade
•
Medium
Benaz NAZRI
Used 9+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following best describes a sequence control structure?
Executes steps based on conditions.
Executes steps one after another in a fixed order.
Repeats steps until a condition is met.
Jumps to different parts of a program.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following represents a correct sequence structure?
Input → Process → Output
Output → Process → Input
Condition → Input → Loop
Process → Condition → Output
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Identify the correct steps for a program to calculate the area of a rectangle.
Input base and height → Calculate area → Print area
Input width and length → Print result → Calculate area
Input width and length → Calculate area → Print area
Input area → Print result → Calculate area
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of a selection control structure?
To execute instructions in order.
To choose between different actions based on a condition.
To repeat a task until a condition is false.
To stop a program.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following pseudocode represents dual selection?
if (mark > 50) print "Pass"
if (mark > 50) print "Pass" else print "Fail"
if (mark > 80) print "A" else if (mark > 60) print "B"
while (mark > 0) print "Valid"
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In a traffic light analogy, which control structure does it represent?
Sequence
Single Selection
Dual Selection
Multiple Selection
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a counter-controlled loop?
A loop that stops when a sentinel value is entered.
A loop that executes a fixed number of times.
A loop that runs without conditions.
A loop that tests the condition after execution.
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Python Input/Output

Quiz
•
9th - 12th Grade
15 questions
Iteration

Quiz
•
9th - 12th Grade
11 questions
Python Projects Quiz

Quiz
•
6th Grade - University
12 questions
Algorithm and Control Structures Quiz

Quiz
•
12th Grade
15 questions
Basic elements of computer programming

Quiz
•
9th - 12th Grade
10 questions
GDScript Quiz - Lesson 3 - Conditional statements & Iteration

Quiz
•
12th Grade
14 questions
Pseudocode Keywords

Quiz
•
11th Grade - University
14 questions
3c (i) OCR Exam Reference Language

Quiz
•
12th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade