L5 Python Knowledge Quiz

L5 Python Knowledge Quiz

9th Grade

9 Qs

quiz-placeholder

Similar activities

Lisp & Scheme

Lisp & Scheme

University

11 Qs

AITT LAB QUIZ  4

AITT LAB QUIZ 4

University

10 Qs

19W Final Exam - PLTW

19W Final Exam - PLTW

9th - 12th Grade

15 Qs

javaquizvivek

javaquizvivek

University

12 Qs

Repaso Variables

Repaso Variables

University

15 Qs

CodeHS JavaScript Control Functions

CodeHS JavaScript Control Functions

9th - 12th Grade

15 Qs

JavaScript Functions and Parameters

JavaScript Functions and Parameters

9th - 12th Grade

15 Qs

Python function output based KVRDSO lucknow

Python function output based KVRDSO lucknow

11th - 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

Integer

Text

Boolean

Multiple pieces of data, separated by co

Floating point (float)

True/False

List

Whole number

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

Integer

i

Float

Pi

String

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