Python (Selection)

Python (Selection)

8th - 10th Grade

13 Qs

quiz-placeholder

Similar activities

Сетевые компоненты

Сетевые компоненты

7th - 10th Grade

12 Qs

Security and Ethics

Security and Ethics

9th - 12th Grade

17 Qs

CIA Mid-Term Review 1

CIA Mid-Term Review 1

9th - 10th Grade

17 Qs

LỚP 12 - CHỦ ĐỀ B - BÀI 1 + 2 MẠNG MT VÀ GIAO THỨC

LỚP 12 - CHỦ ĐỀ B - BÀI 1 + 2 MẠNG MT VÀ GIAO THỨC

10th Grade - University

18 Qs

APPS FOR GOOD - END OF TOPIC TEST

APPS FOR GOOD - END OF TOPIC TEST

7th - 8th Grade

12 Qs

Pretest Aplikasi Pengolah Angka

Pretest Aplikasi Pengolah Angka

10th Grade

15 Qs

Pre-Assessment: ICT 10 Orientation Day

Pre-Assessment: ICT 10 Orientation Day

10th Grade

10 Qs

4th quarter 2nd summative

4th quarter 2nd summative

10th Grade

14 Qs

Python (Selection)

Python (Selection)

Assessment

Quiz

Computers

8th - 10th Grade

Practice Problem

Medium

Created by

Marc Hoy

Used 495+ times

FREE Resource

AI

Enhance your content in a minute

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

13 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the name of the variable in this program?

print

colour

input

" "

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will this code print?

access denied

access granted

error

password

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

If the user enters 60, what is the output?

You are old!

You are middle-aged!

You are young!

Error message

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What does “==” represent in Python programming?

less than
equal to
greater than
not equal to

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Choose the correct Python code.
if age is less than 20 then

if age > 20:
if age < 20:

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What symbol must you place at the end of an if statement?

)

:

;

}

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is an indentation in Python?

A line of code that returns a value

A subroutine

A block of code that creates a variable

A code block (body of a function, loop etc.) starts with indentation and ends with the first unintended line.

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?