Search Header Logo

pyth kod

Authored by Жанарыс Кадралиев

Other

University

Used 32+ times

pyth kod
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

90 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

    for i in range(5):

                print(i)

Кодтың нәтижесі қандай?

1 2 3 4 5

1 2 3 4

0 1 2 3 4 5

0 1 2 3 4

2.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

total = 0

for i in range(1, 6):

    total += i

print(total)

Сұрақ: Кодтың нәтижесі қандай?

10

15

20

21

3.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

for i in range(2, 10, 2):

    print(i)

Сұрақ: Кодтың нәтижесі қандай?

2 4 6 8

2 4 6 8 10

2 3 4 5 6 7 8 9

3 6 9

4.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

i = 0

while i < 3:

    print("Hello")

    i += 1

Сұрақ: Кодтың нәтижесі қандай?

Шексіз цикл

Hello Hello

Hello

Hello Hello Hello

5.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

numbers = [1, 2, 3, 4, 5]

for num in numbers:

    if num % 2 == 0:

        print(num)

Сұрақ: Кодтың нәтижесі қандай?

1 3 5

2 4

1 2 3 4 5

Қате шығарады

6.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

for i in range(5):

    if i == 3:

        break

    print(i)

Сұрақ: Кодтың нәтижесі қандай?

0 1 2 3 4

0 1 2 3

0 1 2

Шексіз цикл

7.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

for i in range(5):

    if i % 2 == 0:

        continue

    print(i)

Сұрақ: Кодтың нәтижесі қандай?

1 3

0 2 4

0 1 2 3 4

Қате шығарады

Access all questions and much more by creating a free account

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

Already have an account?