Python IF Statements

Python IF Statements

9th - 12th Grade

10 Qs

quiz-placeholder

Similar activities

Tin 8/1

Tin 8/1

KG - University

10 Qs

Olahraga

Olahraga

12th Grade

10 Qs

KUIZ RBT TINGKATAN 1

KUIZ RBT TINGKATAN 1

9th - 12th Grade

15 Qs

Tin học 10 _ Bài 16 _Định dạng văn bản

Tin học 10 _ Bài 16 _Định dạng văn bản

10th - 12th Grade

10 Qs

TIN 11 - PYTHON - PHÉP TOÁN - BIỂU THỨC - CÂU LỆNH GÁN

TIN 11 - PYTHON - PHÉP TOÁN - BIỂU THỨC - CÂU LỆNH GÁN

11th Grade

10 Qs

Ulangan harian 1 Algoritma dan Pemrograman

Ulangan harian 1 Algoritma dan Pemrograman

12th Grade - University

13 Qs

Tugas ICT Kelompok 8

Tugas ICT Kelompok 8

9th Grade

10 Qs

KTTX3 - K12

KTTX3 - K12

12th Grade

10 Qs

Python IF Statements

Python IF Statements

Assessment

Quiz

Computers, Education

9th - 12th Grade

Practice Problem

Hard

Created by

Carol Luce

Used 227+ 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

30 sec • 1 pt

Any statements inside an IF clause (section) can be executed multiple times.

FALSE

TRUE

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

It is possible to execute both the (block of) statements under if and the else clauses at the same time.

Yes

No

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the output?

True

False

condition1

condition2

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

Given the nested if-else below, what will be the value x when the code is executed successfully.

0

4

2

3

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

This operator checks to see if one value is the same as the other value

==

!=

>

<

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What would be outputted here?

Bigger than 2!

Number is 5

Bigger than 2!

Number is 5

Nothing

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What would be outputted here?

it divides by 7!

it divides by 3!

It divides by 7.

It divides by 3.

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?