
Python Phase 1
Authored by Data Science undefined
Engineering
University
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Which of the following variable names is invalid in Python?
data_value
3data
_data
DataValue
2.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Which of the following is NOT a keyword in Python?
pass
break
def
print
3.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What is the data type of the following variable?
What is the data type of the following variable?
<class 'int'>, <class 'int'>
<class 'str'>, <class 'int'>
<class 'str'>, <class 'str'>
<class 'int'>, <class 'str'>
4.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What will be the output of the following code snippet?
3, 3
3, 3.33
3, 3.0
Error
5.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What is the result of the following expression?
7
8
5
6
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What will be the result of the following operation?
What will be the result of the following operation?
2
3
4
1
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What will happen when the following code is executed?
print("Hello)
Hello will be printed.
An error will occur.
Nothing will be printed.
It will print None.
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 Microsoft
or continue with
%20(1).png)
Apple
Others
Already have an account?