Iteration - 9CS

Iteration - 9CS

12th Grade

5 Qs

quiz-placeholder

Similar activities

Digital Art Terms

Digital Art Terms

9th - 12th Grade

10 Qs

Loops in Java

Loops in Java

9th - 12th Grade

10 Qs

Loops 101 DW Quiz

Loops 101 DW Quiz

9th - 12th Grade

10 Qs

Test#1

Test#1

12th Grade

10 Qs

Python quiz

Python quiz

10th Grade - Professional Development

10 Qs

algoritma dan pemograman

algoritma dan pemograman

9th - 12th Grade

10 Qs

Mixed Review Python

Mixed Review Python

9th - 12th Grade

10 Qs

Soal Quiz Excel Dasar

Soal Quiz Excel Dasar

12th Grade

10 Qs

Iteration - 9CS

Iteration - 9CS

Assessment

Quiz

Computers

12th Grade

Medium

Created by

Hadia Riaz

Used 4+ times

FREE Resource

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Choose the correct syntax for "FOR" loop

for i = range (0,5)

for i in range (6)

print (x)

for i in range (6):

print (x)

None of above

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Choose correct syntax for "While" loop

while i < 6:  

print(i) 

 i += 1

while i < 6:  

print(i)  

i = i+ 1

while i <> 6:

input (i)

All of the above

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Select the output for the code:

for x in range(2, 6):

print(x)

2345

1234

234567

None of the above

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Write the value of count when user entered 5,3,4,2,8

Count = 0

Input (i)

while i < 6:  

print(i)

Count = Count + 1

Print(count)

5

4

0

6

5.

OPEN ENDED QUESTION

3 mins • 1 pt

Write the code for while loop, systems keep entering the data until user enters 6.

Evaluate responses using AI:

OFF