L5 Python Knowledge Quiz

L5 Python Knowledge Quiz

9th Grade

9 Qs

quiz-placeholder

Similar activities

GCSE Python Inputs, Outputs, Variables

GCSE Python Inputs, Outputs, Variables

9th Grade

15 Qs

Python Basics

Python Basics

6th - 12th Grade

9 Qs

CodeHS Functions and Parameters

CodeHS Functions and Parameters

9th - 12th Grade

15 Qs

CodeHS Functions and Return Values

CodeHS Functions and Return Values

9th - 12th Grade

15 Qs

Python Iteration

Python Iteration

10th Grade

13 Qs

Python Operators

Python Operators

12th Grade

12 Qs

Functions and Parameters Quiz

Functions and Parameters Quiz

9th - 12th Grade

15 Qs

Unit 4 Review

Unit 4 Review

9th - 12th Grade

11 Qs

L5 Python Knowledge Quiz

L5 Python Knowledge Quiz

Assessment

Passage

Computers

9th Grade

Medium

Created by

Adam Wright

Used 1+ times

FREE Resource

9 questions

Show all answers

1.

MATCH QUESTION

1 min • 3 pts

Match the following

Decimal number

List

Multiple pieces of data, separated by co

Floating point (float)

True/False

String

Whole number

Boolean

Text

Integer

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which variable(s) must be true for this if statement to run? - if ( (x and y) == True)):

x

y

either

both

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which variable(s) must be true for this if statement to run? - if ( (x or y) == True)):

x

y

either

both

4.

DRAG AND DROP QUESTION

3 mins • 2 pts

​ (a)   i in ​ (b)   (10):

for
range
while
foreach
until
area
ints

5.

DRAG AND DROP QUESTION

3 mins • 2 pts

​ (a)   (x == y):

​ (b)   ("x is equal to y")

if
print
while, log
for, display
switch, output

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Will this code return an error?

Yes

No

7.

MATCH QUESTION

3 mins • 2 pts

Match the variable to its data type

String

Radius

Float

i

Integer

Pi

8.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What does the ** operator do?

Multiply the two numbers

Multiply the two numbers twice

Calculate the first number to the power of the second

Checks if the two values are NOT equal

9.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

When should the double equals be used? (==)

To assign

To compare

To calculate

To address a location in memory