
Day 2 Python quiz Datatypes and variable
Authored by Oshi Maga
Education
University
Used 5+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the data type of print(type(5))?
int
float
double
integer
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Is Python case sensitive when dealing with identifiers?
Yes
No
Machine dependent
none of the above
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of these in not a core data type?
Class
Lists
Tuples
Dictionary
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the data type of print(type(0xFF))
int
hex
hexint
number
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which statement is correct?
List is immutable && Tuple is mutable
List is mutable && Tuple is immutable
Both are Mutable.
Both are Immutable
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which one of the following is correct way of declaring and initialising a variable, x with value 5?
int x x=5
int x=5
x=5
declare x=5
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
How we can convert the given list into the set ?
A. set.list()
B. list.set()
C. set(list)
D. None of the above
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?