While Loop in python

While Loop in python

9th - 12th Grade

6 Qs

quiz-placeholder

Similar activities

Project Stem Python Fundamentals

Project Stem Python Fundamentals

10th - 11th Grade

10 Qs

Perulangan

Perulangan

10th Grade

10 Qs

Python While Loops

Python While Loops

9th - 12th Grade

6 Qs

Programming Basics

Programming Basics

9th - 10th Grade

10 Qs

Quiz 16 - Arrays and Loops

Quiz 16 - Arrays and Loops

11th Grade

10 Qs

Term3-PC7.1-Describe a data structure

Term3-PC7.1-Describe a data structure

9th Grade

7 Qs

Loops 101 DW Quiz

Loops 101 DW Quiz

9th - 12th Grade

10 Qs

Struktur Kontrol Perulangan

Struktur Kontrol Perulangan

10th - 11th Grade

10 Qs

While Loop in python

While Loop in python

Assessment

Quiz

Computers

9th - 12th Grade

Hard

Created by

Lauren Tan

Used 89+ times

FREE Resource

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