Search Header Logo

LOOP-PYTHON

Authored by İrem Dehri

Instructional Technology

9th - 12th Grade

Used 2+ times

LOOP-PYTHON
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

9 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • Ungraded

HAZIR MIYIZZZ😋🌼

EVEEETT

HER ZAMAAANN

2.

MULTIPLE CHOICE QUESTION

2 mins • 3 pts

KODUN ÇIKTISI NEDİR

for l in 'Jhon':

if l == 'o':

pass

print(l, end=", ")

J, h, n,

J, h, o, n,

3.

MULTIPLE CHOICE QUESTION

2 mins • 5 pts

for num in range(10, 14):

   for i in range(2, num):

       if num%i == 1:

          print(num)

          break

10
11
12
13

11

13

2

3

4

5

2

3

4

5

6

7

8

9

10

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

a, b = 12, 5

if a + b:

    print('True')

else:

  print('False')

FALSE

TRUE

5.

MULTIPLE CHOICE QUESTION

2 mins • 3 pts

for num in range(-2,-5,-1):

print(num, end=", ")

-2, -1, -3, -4

-2, -1, 0, 1, 2, 3

-2, -1, 0

2, -3, -4,

6.

MULTIPLE CHOICE QUESTION

3 mins • 4 pts

numbers = [10, 20]

items = ["Chair", "Table"]


for x in numbers:

  for y in items:

    print(x, y)

10 Chair
10 Table
20 Chair
20 Table

10 Chair
10 Table

10 Chair
10 Table

20 Chair
20 Table

7.

MULTIPLE CHOICE QUESTION

3 mins • 5 pts

x = 0

a = 0

b = -5

if a > 0:

    if b < 0:

        x = x + 5

    elif a > 5:

        x = x + 4

    else:

        x = x + 3

else:

    x = x + 2

print(x)

0

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?