
python
Authored by zubair khan
Computers
University
Used 13+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
19 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of the following is NOT a built-in data type in Python?
list
dict
tuple
tree
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What does type casting mean in Python?
Converting a list into a dictionary
Assigning a type to a function
Converting a variable from one data type to another
Declaring variables with type annotations
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What will print("Python"[1:4]) display?
yth
ytho
Pyt
ython
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the Boolean value of the expression 5 > 3 and 2 < 1?
True
False
1
None
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What will print(10 // 3) gives output?
3.33
3
3.0
4
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the error in the above code snippet?
Indentation Error
Syntax Error
Name Error
Type Error
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of the following methods can be used to remove an element from a list in Python?
list.remove()
list.delete()
list.pop()
Both A and C
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?
Similar Resources on Wayground
20 questions
MIDTERM-SW3 MARKETING COMMUNICATION
Quiz
•
University
20 questions
System and network support and management
Quiz
•
11th Grade - Professi...
20 questions
C - Structures
Quiz
•
University
20 questions
DreamWeaver CS6
Quiz
•
University
20 questions
The Firm and Its Environment
Quiz
•
University
14 questions
LA7.C7: Turtle Graphics
Quiz
•
9th Grade - University
19 questions
DSA Quest 1.0
Quiz
•
University
16 questions
W6_BIS
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade