While Loop in python

While Loop in python

9th - 12th Grade

6 Qs

quiz-placeholder

Similar activities

loop while/do while

loop while/do while

7th - 12th Grade

10 Qs

TIN 11 - PYTHON - PHÉP TOÁN - BIỂU THỨC - CÂU LỆNH GÁN

TIN 11 - PYTHON - PHÉP TOÁN - BIỂU THỨC - CÂU LỆNH GÁN

11th Grade

10 Qs

QBASIC Programming

QBASIC Programming

5th - 10th Grade

10 Qs

JSPS Competition Hackathon - Scratch Language - Grade 1

JSPS Competition Hackathon - Scratch Language - Grade 1

2nd Grade - University

10 Qs

Bài 2-Vai trò của thiết bị thông minh và tin học đối với xã hội

Bài 2-Vai trò của thiết bị thông minh và tin học đối với xã hội

10th - 12th Grade

10 Qs

Parcial 2 - Robótica

Parcial 2 - Robótica

11th Grade

10 Qs

Tin 8/1

Tin 8/1

KG - University

10 Qs

1ª Recuperação - 3° Trim. - Pensamento Computacional - 9º ano

1ª Recuperação - 3° Trim. - Pensamento Computacional - 9º ano

9th Grade - University

10 Qs

While Loop in python

While Loop in python

Assessment

Quiz

Computers

9th - 12th Grade

Practice Problem

Hard

Created by

Lauren Tan

Used 90+ times

FREE Resource

AI

Enhance your content in a minute

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

6 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

Media Image

In a Python program, what would be the ending value of total in the WHILE LOOP code?

0

5

2

20

2.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

Media Image

In a Python program, what would be the ending value for y in the WHILE LOOP code?

5

51

10

3

3.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

Media Image

5

4

3

2

1

4

3

2

1

0

0

Infinite loop

4.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

Media Image

What is the value of c after the loop finishes?

1

2

3

0

5.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

Media Image

0

4

3

2

1

0

5

4 3 2 1 0

6.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

Media Image

5

4

3

2

1

4

3

2

1

0

0

Infinite loop