Search Header Logo
While

While

Assessment

Presentation

Computers

KG

Practice Problem

Medium

Created by

Romenion Kz

Used 74+ times

FREE Resource

5 Slides • 11 Questions

1

​While цикл

2

a=0

while a<5:

a+=1 #a=a+1

print(a)

RUN=>

1)1

2)2

3)3

4)4

5)5

3

a=0

while a<5:

a+=1 #a=a+1

print(a)

RUN=>

1)1

2)2

3)3

4)4

5)5

4

a = 6

b = 3
    while (a!=4):
   
     a-=1 #a=a-1
   
      b+=a #b=b+a
print(b)    
         

RUN=>

1)8

2)12

5

Fill in the Blanks

Type answer...

6

Fill in the Blanks

Type answer...

7

Fill in the Blanks

Type answer...

8

Fill in the Blanks

Type answer...

9

Fill in the Blanks

Type answer...

10

Fill in the Blanks

Type answer...

11

Fill in the Blanks

Type answer...

12

Fill in the Blanks

Type answer...

13

Fill in the Blanks

Type answer...

14

Fill in the Blanks

Type answer...

15

a=2

while (a<10):

if a%2==0:

a*=2

print(a)

1)4

2)8

3)16

16

Fill in the Blanks

Type answer...

​While цикл

Show answer

Auto Play

Slide 1 / 16

SLIDE