NEW
Font size
WorksheetsGRADE 6 ICT Q1 QUIZ
Total questions: 20
Worksheet time: 10mins
What is a flowchart?
A programming language
A method of coding
A visual representation of instructions
A type of computer program
What must the opening statement of a flowchart be?
begin
start
open
initiate
Which symbol is used for decision-making in a flowchart?
Rectangle
Triangle
Circle
Diamond
What does an if statement do?
Executes code based on a condition
Always runs the same code
Ends the program
Creates a loop
What is the purpose of an else clause?
To repeat a section of code
To execute code if the if condition is false
To start a new flowchart
To end the program
Which of the following is a comparison operator?
++
>=
||
&&
What should all symbols in a flowchart be connected with?
Solid lines
Dotted lines
Arrow lines
Curved lines
What happens if the condition in an if statement is true?
The program stops
The code inside the if block executes
The else block executes
Nothing happens
What is the first step in creating a flowchart?
Add decision points
Connect the symbols
Identify the process
Draw the end statement
In a flowchart, what does the end statement signify?
The completion of the process
The start of a new process
A decision point
An error in the flowchart
What is an example of a condition for an if statement?
If it is raining
If the sun is shining
If the temperature is below freezing
If it is daytime
What does a flowchart help to represent?
Only the output of a program
The flow of information and steps
The coding language used
The errors in a program
What is the correct structure of an if statement?
if (condition) {instructions}
if {condition} {instructions}
if [condition] {instructions}
if
What is the purpose of using control structures in programming?
To store data
To create graphics
To compile the program
To control the flow of code
What is the main benefit of using a flowchart in programming?
It simplifies complex processes
It eliminates the need for coding
It automatically generates code
It is a type of programming language
Which shape represents the start or end of a flowchart?
Rectangle
Diamond
Oval
Parallelogram
What is the purpose of a loop in programming?
To execute a block of code multiple times
To store data temporarily
To create a flowchart
To end the program
What is the function of a loop control variable?
To store the final output
To control the number of iterations
To define the start of the loop
To end the loop prematurely
Which of the following is a common type of loop in programming?
For loop
Switch loop
Do-while loop
Both A and C
What does a break statement do in a loop?
It pauses the loop
It exits the loop immediately
It skips the current iteration
It restarts the loop
