PF selection statement

PF selection statement

1st Grade

5 Qs

quiz-placeholder

Similar activities

Digital Footprint

Digital Footprint

1st - 6th Grade

8 Qs

Evaluation2 1ère S5

Evaluation2 1ère S5

1st Grade

10 Qs

if else c++

if else c++

1st Grade

8 Qs

Digital Literacy Quiz

Digital Literacy Quiz

1st - 5th Grade

10 Qs

Ветвление

Ветвление

1st Grade - University

8 Qs

G4-5 AI with SCRATCH Session 8

G4-5 AI with SCRATCH Session 8

1st - 5th Grade

5 Qs

what can you learn

what can you learn

1st Grade

10 Qs

Smart Choices Online: Test Your Knowledge!

Smart Choices Online: Test Your Knowledge!

1st - 6th Grade

10 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)

Discover more resources for Information Technology (IT)