
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
Programming in Python

Quiz
•
University
18 questions
CSE 102 Exam 3 Practice

Quiz
•
University
20 questions
AI BootCamp: 2024 Edition- Session 1

Quiz
•
University
20 questions
Python Recap

Quiz
•
7th Grade - University
15 questions
Scope of Variables in Python

Quiz
•
1st Grade - Professio...
14 questions
Python Revision

Quiz
•
University
20 questions
Python Functions and Error Handling

Quiz
•
10th Grade - University
15 questions
Python and PseudoCode Quiz

Quiz
•
10th Grade - University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

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

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University