L5 Python Knowledge Quiz

L5 Python Knowledge Quiz

9th Grade

9 Qs

quiz-placeholder

Similar activities

CodeHS Python Unit 4 Quiz

CodeHS Python Unit 4 Quiz

9th - 12th Grade

15 Qs

CodeHS Python

CodeHS Python

9th Grade - Professional Development

15 Qs

Repaso Variables

Repaso Variables

University

15 Qs

CodeHS JavaScript Control Functions

CodeHS JavaScript Control Functions

9th - 12th Grade

15 Qs

Python Strings

Python Strings

8th - 12th Grade

14 Qs

MOAC Excel 2016 Lesson 03

MOAC Excel 2016 Lesson 03

8th - 12th Grade

10 Qs

AITT LAB QUIZ  4

AITT LAB QUIZ 4

University

10 Qs

Lisp & Scheme

Lisp & Scheme

University

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

Text

Integer

True/False

Boolean

Whole number

Floating point (float)

Multiple pieces of data, separated by co

String

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

String

i

Integer

Radius

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