12 questions
What will print to the screen?
age = 5
print(type<age>)
<type 'float'>
<type 'int'>
<type 'bool'>
<type 'string'>
What will print to the screen?
age = 5
young = age < 20
print(type<young>)
<type 'float'>
<type 'int'>
<type 'bool'>
<type 'string'>
What will be the output of this program?
A
B
C
A
I need to work on my grade.
prints nothing. The program doesn't compile.
What will the following rounded result be?
round(2.3456, 2)
2.346
2.34
2.345
2.35
What will the result of this code be?
x=3.141534
round(x, 4)
3.142
3.1415
3.14153
3.1416
What will the result of this code be?
var = True and True
print(var)
True
False
var
none of these
What will the result of this code be?
var = True or True
print(var)
True
False
var
none of these
What will the result of this code be?
var = True or False
print(var)
True
False
var
none of these
What will the result of this code be?
var = True and False
print(var)
True
False
var
none of these
What is the result of this code?
8
8
9
10
8
9
10
11
8
11
8
10
What is the result of this code?
Issue Driver's License
Almost eligible for Driver's License
No requirements met.
none of these
Which code would round 6.2345 to 6.235?
round(6.2345,4)
round(6.2345, 3)
round(6.2345, 2)
round(6.2345, 1)