Python (Selection)

Python (Selection)

8th - 10th Grade

13 Qs

quiz-placeholder

Similar activities

Module 11 - Essential Peripherals 4

Module 11 - Essential Peripherals 4

9th - 12th Grade

18 Qs

vocab review unit 1 term 2

vocab review unit 1 term 2

8th Grade

16 Qs

Review for Midterm Test ICT 3

Review for Midterm Test ICT 3

1st - 11th Grade

15 Qs

Python List

Python List

4th Grade - University

15 Qs

LEDs on micro:bit

LEDs on micro:bit

8th Grade

15 Qs

Chapter 7: System life cycle

Chapter 7: System life cycle

9th - 11th Grade

15 Qs

OCR GCSE CS - 2.1 ERL sorts and searches

OCR GCSE CS - 2.1 ERL sorts and searches

10th - 11th Grade

9 Qs

INTRODUCCION A LA PROGRAMACION

INTRODUCCION A LA PROGRAMACION

6th Grade - University

10 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?