
PYTHON EXAM
Authored by Segun Oguntunnbi
Other
6th - 8th Grade
Used 16+ times

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
30 sec • 3 pts
What is the data type of print(type(10))
float
int
string
output
2.
MULTIPLE CHOICE QUESTION
30 sec • 3 pts
What is the type of the following variable x=-5j
float
Real
Complex
Input
3.
MULTIPLE CHOICE QUESTION
30 sec • 3 pts
What is a correct syntax to output "Hello World" in Python?
Print("Hello world")
Echo "Hello world"
print("Hello World")
Print "HelloWorld
4.
MULTIPLE CHOICE QUESTION
30 sec • 3 pts
How do you insert COMMENTS in Python code?
#
/*
*\
$
5.
MULTIPLE CHOICE QUESTION
30 sec • 3 pts
Which one is NOT a legal variable name?
MY_segun
MYsegun
_mySeGUN
My-segun
6.
MULTIPLE CHOICE QUESTION
30 sec • 3 pts
In Python 3, the integer ranges from -2, 147,483,648 to +2,147,483,648
True
False
7.
MULTIPLE CHOICE QUESTION
30 sec • 3 pts
In Python 3, Whatever you enter as input, the input() function converts it into a string
True
False
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?