L5 Python Knowledge Quiz

L5 Python Knowledge Quiz

9th Grade

9 Qs

quiz-placeholder

Similar activities

IoT Chapter 2 Review

IoT Chapter 2 Review

9th - 12th Grade

14 Qs

Program Development - Python: Errors

Program Development - Python: Errors

8th - 10th Grade

13 Qs

Chapter 3 C++

Chapter 3 C++

University

7 Qs

Python Basics

Python Basics

6th - 12th Grade

9 Qs

PHP - Quiz#1

PHP - Quiz#1

12th Grade

15 Qs

Algorithms

Algorithms

12th Grade

15 Qs

Functions and Parameters Quiz

Functions and Parameters Quiz

9th - 12th Grade

15 Qs

CodeHS Functions and Parameters

CodeHS Functions and Parameters

9th - 12th Grade

15 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

Whole number

Boolean

True/False

Floating point (float)

Text

String

Multiple pieces of data, separated by co

List

Decimal number

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

Float

Pi

Integer

Radius

String

i

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