Python Selection

Python Selection

9th - 10th Grade

10 Qs

quiz-placeholder

Similar activities

Iteration

Iteration

9th - 12th Grade

15 Qs

Python Lists

Python Lists

10th Grade

14 Qs

Program Development - Python: Errors

Program Development - Python: Errors

8th - 10th Grade

13 Qs

Python Strings

Python Strings

8th - 12th Grade

14 Qs

Python Selection

Python Selection

8th - 9th Grade

10 Qs

Python (Selection)

Python (Selection)

8th - 10th Grade

13 Qs

Conditional Statements

Conditional Statements

9th Grade

15 Qs

Python

Python

9th Grade

15 Qs

Python Selection

Python Selection

Assessment

Quiz

Computers

9th - 10th Grade

Medium

Created by

O Hawkridge

Used 7+ times

FREE Resource

10 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 does != mean?

not

swap value

not equal

equal

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?