M1C9 Code Iterative Control (SK1)

M1C9 Code Iterative Control (SK1)

9th - 12th Grade

5 Qs

quiz-placeholder

Similar activities

Robot Battery

Robot Battery

11th Grade

10 Qs

Mastering Java Arithmetic Operators

Mastering Java Arithmetic Operators

10th Grade - University

10 Qs

p2rt

p2rt

7th Grade - University

10 Qs

DAGITAB L&C Quiz

DAGITAB L&C Quiz

9th - 12th Grade

10 Qs

Quiz Sistem Pengukuran

Quiz Sistem Pengukuran

12th Grade - University

10 Qs

CNC Safety

CNC Safety

9th - 12th Grade

9 Qs

Bipolar Transistor Characteristics Quiz

Bipolar Transistor Characteristics Quiz

10th Grade

7 Qs

Understanding Diodes and Rectifiers

Understanding Diodes and Rectifiers

12th Grade

8 Qs

M1C9 Code Iterative Control (SK1)

M1C9 Code Iterative Control (SK1)

Assessment

Quiz

Engineering

9th - 12th Grade

Hard

Created by

Muhammad Syafiyadiy

Used 2+ times

FREE Resource

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What should go in the blank to skip printing the number 2?

output:

0

1

3

4

skip

continue

break

return

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Which loop type fits the code below to count down from 3 to 1?

if

for

while

do

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What keyword should go in the blank so the loop stops at i == 2 and only prints:

output:

0

1

continue

stop

exit

break

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What should be in the blank to print:

1

2

3

i >= 3

i == 3

i <= 3

i > 3

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What should go in the blank to make this code output:

0

1

2

i <= 2

i < 3

i < 2

i == 3