
End Of Lesson 1 Quiz
Authored by Alisia Habibi
Computers
Vocational training

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the data type of the python variable: x = 5.9?
str
int
float
bool
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which data type in Python is used to store a sequence of characters?
int
str
float
bool
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What would be the right data type to check if: 23 x 2 = 46?
float
str
bool
str
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which library will I need to include in my code if I want to insert a 2-second pause between statements?
math
time
seconds
str
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Line 1:
Line 2: print("Missing Hypotenuse = 30 / math.sin(math.radians(42))
What statement is missing in line 1?
import time
import sin
import math
import radians
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which one of the following commands creates a list?
list = list[]
list = (new list)
list{1,2}
list =[]
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What will this function display?
cat,pen,2,3.5,house
house,3.5,2,pen,cat
5
4
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?