
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
20 questions
1212 Midterm Review

Quiz
•
University
20 questions
1st Year quiz

Quiz
•
University
20 questions
Guess the CS Term!

Quiz
•
University
20 questions
Python Basics 4

Quiz
•
University
20 questions
Translators and Computing Languages: GCSE 9-1

Quiz
•
9th Grade - University
15 questions
SCRIPTING PROGRAMMING WITH PYTHON

Quiz
•
University
20 questions
GirlsWhoML Workshop 0

Quiz
•
University
20 questions
Output Quiz-9

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

Interactive video
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University