PF selection statement

PF selection statement

1st Grade

5 Qs

quiz-placeholder

Similar activities

quiz7

quiz7

1st Grade

9 Qs

P1 and P2 Cyberwellness Quiz

P1 and P2 Cyberwellness Quiz

1st Grade

5 Qs

Excel Quiz

Excel Quiz

1st Grade

6 Qs

8.2 Conditional Loop

8.2 Conditional Loop

1st - 5th Grade

10 Qs

Robotics and AI trivia for kids

Robotics and AI trivia for kids

1st - 6th Grade

10 Qs

Ulangan

Ulangan

1st Grade

5 Qs

Taking Care of Computers

Taking Care of Computers

1st Grade

5 Qs

PF selection statement

PF selection statement

Assessment

Quiz

Information Technology (IT)

1st Grade

Hard

Created by

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

Media Image

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)