
Shravanne Quiz
Authored by Dhwani Desai
Professional Development
3rd Grade
Used 5+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
40 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Pickling process in python includes what ?
Converts a list to a data table
Converts data table to list
Converts a byte stream into python object hierarchy
Converts python object hierarchy into a byte stream
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Write output of following code
'4'==4
Value error occurs
True
False
Type error occurs
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which order of precedence is correct in python ?
Exponential, Parenthesis, Multiplication, Division, Addition, Subtraction
Division, Multiplication, Addition, Subtraction, Parenthesis, Exponential,
Parenthesis, Exponential, Multiplication, Division, Addition, Subtraction
Exponential, Multiplication, Division, Addition, Subtraction, Parenthesis
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the output of the following code ?
print("Good{0!r}and{0!s}".format('Morning','bin'))
Good 'Morning' and Morning
Value error
Good Morning and Morning
Good Morning and 'Morning'
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the output of the following code ?
P={1:{'A':{1:"A"},2:"B"},3:"C",'B':"P","P":'E'}
print(P[P[P[1][2]]],end=" ")
print(P[P[1]["A"][2]])
PC
E KeyError
EB
PB
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Tick the most accurate statement for the declaration X=Circle()
You can assign int value to x
x contains an object of Circle type
x contains a reference to a Circle object
None of these
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
To check whether an object "obj" is an instance of class A or not, which of the following statement can be used ?
obj.isinstance(A)
A.isinstance(obj)
isinstance(obj,A)
isinstance(A,obj)
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?