Тест на if

Тест на if

9th - 12th Grade

10 Qs

quiz-placeholder

Similar activities

Kuis Informatika Bab 1 Kelas XI

Kuis Informatika Bab 1 Kelas XI

11th Grade

10 Qs

Pre Test SUMIF, COUNTIF, IF

Pre Test SUMIF, COUNTIF, IF

9th Grade

15 Qs

Quiz Array Kelas XI

Quiz Array Kelas XI

11th Grade

15 Qs

Unit 3 Karel Programming Review 2

Unit 3 Karel Programming Review 2

9th - 12th Grade

15 Qs

2TDS - Banco de Dados - Recuperação 2

2TDS - Banco de Dados - Recuperação 2

12th Grade

10 Qs

BÀI 19: DỊCH VỤ SỬA CHỮA VÀ BẢO TRÌ MÁY TÍNH

BÀI 19: DỊCH VỤ SỬA CHỮA VÀ BẢO TRÌ MÁY TÍNH

12th Grade

10 Qs

Kuis tentang Python

Kuis tentang Python

11th Grade

10 Qs

Quiz Gerbang Logika HOTS

Quiz Gerbang Logika HOTS

9th Grade

10 Qs

Тест на if

Тест на if

Assessment

Quiz

Information Technology (IT)

9th - 12th Grade

Hard

Created by

Лидия Николаева

Used 3+ times

FREE Resource

AI

Enhance your content in a minute

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

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

if 15 > 3:

print(1)

else:

0

1

0

print(1)

Ничего

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

if 15 > 3:

print(1)

else:

print(0)

elif 13>10:

print(3)

1

0

3

Ошибка

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

if False:

print(1)

else:

print(0)

Ошибка

Ничего

1

0

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

if 0:

print(0)

elif 1:

print(1)

else:

print(2)

0

1

2

Ничего

5.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

s = int(input())

t = int(input())

if s > 8 and t > 8:

print("YES")

else:

print("NO")

Было проведено 9 запусков программы, при которых в качестве значений переменных s и t вводились следующие пары чисел:

(1, 2); (11, 2); (1, 12); (11, 12); (–11, –12); (–11, 12); (–12, 11); (10, 10); (10, 5).

Сколько было запусков, при которых программа напечатала «YES»?

4

5

9

6

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

if 5 == 5:

print(10)

elif 5 != 5:

print(20)

else:

print(30)

Ничего

30

20

10

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

if True:

print("Hello")

else:

print("World")

Hello

Ничего

World

Ошибка

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?