What is a control structure?
Condition Programming Quiz

Quiz
•
Information Technology (IT)
•
1st Grade
•
Medium
Panha Panha
Used 18+ times
FREE Resource
9 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A type of data structure
An element that determines which block of statements to execute
A type of loop
A programming language
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the 'if' statement do?
It always executes the block of code
It executes the block of code only if the condition is true
It repeats a block of code
It defines a variable
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does 'else' do in an if-else statement?
Executes if the first condition is false
Executes if the first condition is true
Defines a new condition
Always executes
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of 'else if'?
To repeat a block of code
To end a program
To define a variable
To check multiple conditions
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output if 'a = 9' and 'if(a < 9)'?
Hello 2
Nothing happens
Condition return false
Condition return true
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does 'nested condition' mean?
A type of loop
Conditions inside another condition
A variable definition
An error in code
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the first step in a decision-making process?
End the program
Write the output
Check the condition
Define the variables
8.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of 'if(x < 0) then write("It is a negative number.")' when x is -5?
It is zero.
It is a positive number.
It is a negative number.
Nothing happens
9.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will happen if the condition in an 'if' statement is false?
The block of code will execute
Nothing will happen
An error will occur
The program will end
Similar Resources on Quizizz
10 questions
Chapter Quiz

Quiz
•
University
10 questions
G9- Problem Solving Stages Quiz

Quiz
•
9th Grade - University
12 questions
Biomimicry

Quiz
•
University
12 questions
QUIZ PEMROGRAMAN VISUAL SCRATCH KELAS 7 INFORMATIKA

Quiz
•
7th Grade
10 questions
JS Loops and Functions

Quiz
•
6th Grade
14 questions
Visual Coding Quiz

Quiz
•
4th Grade
10 questions
Understanding Programming Concepts

Quiz
•
9th Grade
10 questions
Computer Science FFF QUIZ

Quiz
•
6th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Information Technology (IT)
10 questions
American Flag

Quiz
•
1st - 2nd Grade
10 questions
Identifying equations

Quiz
•
KG - University
25 questions
2.4A Add Subtract within 20 quickly: set 3

Quiz
•
1st - 3rd Grade
15 questions
Music 2016

Quiz
•
KG - 12th Grade
12 questions
Summer Trivia

Quiz
•
1st - 5th Grade
44 questions
logos

Quiz
•
KG - University
20 questions
Guess that Disney

Quiz
•
KG - 5th Grade
20 questions
Cartoon Characters!

Quiz
•
KG - 5th Grade