
PF selection statement

Quiz
•
Information Technology (IT)
•
1st Grade
•
Hard
MUHAMMAD (PBU)
FREE Resource
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Identify which is NOT the type of selection control structure
if-else
nested if
do while
switch case
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
choose the syntax for an 'if' statement
if(condition)
if condition
condition if
if {condition}
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
choose the correct syntax to write condition based on the statement below
"if sum is equal to 32 and total is equal to 2"
if (sum==32) || (total==2)
if (sum==32) && (total==2)
if (sum=32) || (total=2)
if (sum=32) && (total=2)
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
identify the value of 'y' after the switch statement in figure is executed
0
1
5
4
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
"if sum is less or equal to 25 and average is equal to 45"
The sentence is the condition statement in a selection control structure. Identify the CORRECT statement to write the condition statement in C++
if (sum <= 25) || (average == 45)
if (sum <= 25) && (average == 45)
if (sum = 25) && (average = 45)
if (sum < 25) || (average = 45)
Similar Resources on Wayground
Popular Resources on Wayground
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World

Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
20 questions
ELA Advisory Review

Quiz
•
7th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns

Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Information Technology (IT)
11 questions
NFL Football logos

Quiz
•
KG - Professional Dev...
18 questions
D189 1st Grade OG 1c Concept 37-38

Quiz
•
1st Grade
20 questions
addition

Quiz
•
1st - 3rd Grade
20 questions
Subject and predicate in sentences

Quiz
•
1st - 3rd Grade
20 questions
Place Value

Quiz
•
KG - 3rd Grade
10 questions
Exploring Force and Motion Concepts

Interactive video
•
1st - 5th Grade
10 questions
Exploring Properties of Matter

Interactive video
•
1st - 5th Grade
5 questions
Sense and Response

Quiz
•
1st Grade