
Kiruthika
Quiz
•
Computers
•
University
•
Practice Problem
•
Medium
Kiruthika S
Used 1+ times
FREE Resource
Enhance your content in a minute
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
What method adds an element to the end of a list?
add()
append()
insert()
extend()
2.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Which of the following is the correct syntax to access the third element of a list named my_list?
my_list[2]
my_list(3)
my_list{3}
my_list[3]
3.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
What will be the output of len([1, 2, 3, 4])?
3
4
5
None
4.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Which function is used to sort a list in ascending order?
sort()
order()
arrange()
organize()
5.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
How do you access the value associated with the key 'name' in a dictionary person?
6.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Which of the following is a valid way to create a dictionary in Python?
dict = {1: 'one', 2: 'two'}
removedict = [1: 'one', 2: 'two']
dict = (1: 'one', 2: 'two')
dict = '1: one, 2: two'
7.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
What method removes a key-value pair from a dictionary?
delete()
remove()
pop()
discard()
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
Digital and Analog transmission
Quiz
•
University
15 questions
GIS Unit III
Quiz
•
University
15 questions
ADB Quiz #1
Quiz
•
University
20 questions
Quiz Harian Gdevelop MPK
Quiz
•
University
15 questions
Computer and Other Human Inventions
Quiz
•
University
15 questions
Robotics Prelim
Quiz
•
University
17 questions
Archivos
Quiz
•
University
20 questions
Algoritma Pemrograman
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
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th 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
