FOR and WHILE loop in Python

FOR and WHILE loop in Python

9th - 12th Grade

18 Qs

quiz-placeholder

Similar activities

CSS 10 - QUIZ

CSS 10 - QUIZ

10th Grade

20 Qs

GRADE 11 - VOCAB U1

GRADE 11 - VOCAB U1

11th Grade

17 Qs

CHỦ ĐỀ A. MÁY TÍNH VÀ XÃ HỘI TRÍ THỨC P1

CHỦ ĐỀ A. MÁY TÍNH VÀ XÃ HỘI TRÍ THỨC P1

10th Grade

20 Qs

IPA - Session 6 - Review /b/ /p/ ;  /s/ /z/ /ʃ/

IPA - Session 6 - Review /b/ /p/ ; /s/ /z/ /ʃ/

KG - Professional Development

15 Qs

VOCABULARY PRACTICE

VOCABULARY PRACTICE

9th - 11th Grade

19 Qs

E10_Revision for the first Mid-Term Test (PPCT TC4)

E10_Revision for the first Mid-Term Test (PPCT TC4)

10th Grade

20 Qs

E.V. 1

E.V. 1

10th Grade

15 Qs

vocabulary 2

vocabulary 2

8th - 9th Grade

15 Qs

FOR and WHILE loop in Python

FOR and WHILE loop in Python

Assessment

Quiz

Computers, English

9th - 12th Grade

Practice Problem

Hard

Created by

Doria Grbić

Used 109+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

18 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which type of loop can be made into an infinite loop?

for loop

while loop

both

none of the above

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

A condition is

a loop that repeats parts of the code

an operator

a sequence of steps

a statement that checks whether something is true or false

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Which of these codes will print all numbers from 1 up to 20 (including 20).

Media Image
Media Image
Media Image
Media Image

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which type of loop will execute a known number of times?

while loop

for loop

if statement

none of the above

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which type of loop would be best in a program for adding money into a savings account until it reaches 10000 kuna.

for loop

while loop

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

In for i in range (a, n, k) which letter indicates the start?

i

k

a

n

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which type of loop has a logical expression in the condition?

for loop

while loop

both

none of the above

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?