
python

Quiz
•
Computers
•
University
•
Hard
zubair khan
Used 5+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Round 2 Debug-The-Code

Quiz
•
University
15 questions
Python End of Topic Quiz

Quiz
•
8th Grade - University
20 questions
variable in python

Quiz
•
University
15 questions
CSE 102 Exam 2 Practice

Quiz
•
University
20 questions
Python 101

Quiz
•
University
15 questions
Python Variables

Quiz
•
University
20 questions
Python Programming - Test 1

Quiz
•
University - Professi...
20 questions
[Python For All] Quiz 2 - Rewind.py

Quiz
•
University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade