WorksheetsBack To Basics: Python Lesson 4 - 5 Review
Total questions: 10
Worksheet time: 6mins
Select all Boolean values
True
False
Unknown
What will the statement below evaluate to?
"4" == 4
True
False
What is happening with the code below?
name = 'federico'
The computer is checking if the variable name has the string 'federico' inside it
The computer is assigning the string 'federico' into the variable name
The computer is assigning the float 'federico' into the variable name
What is the output of this code?
go
slow down
stop
invalid
What output will you get for a bmi of 24
high health risk
moderate health risk
healthy bmi
nutritional deficiency
What is the value of pizza now?
7
9
11
8
What data type is inside of x?
Integer
Float
String
Which of these are functions?
print()
Input()
elif
Running this piece of code will draw a triangle.
True
False
What is the length of a side of the rectangle being drawn?
100
120
200
