
grade 11 - CS -Assessment
Quiz
•
Computers
•
10th - 12th Grade
•
Practice Problem
•
Medium
Bhoomika Anand
Used 1+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In Python, Dictionaries are
immutable
mutable
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Items are accessed by their keys in a dictionary
True
False
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Dictionary keys must be _________
immutable
mutable
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What would be the output of the following code snippet?
a_dict = {'color': 'blue', 'fruit': 'apple', 'pet': 'dog'}
for key in a_dict:
print(key)
'blue'
'apple'
'dog'
color
fruit
pet
blue
apple
dog
'color'
'fruit'
'pet'
5.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Select correct ways to create an empty dictionary
sampleDict = {}
sampleDict = dict()
sampleDict = dict{}
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these is the best description of a list in Python?
A list is a collection of data that has an order and can be changed
A list is a lot of variables
A list is used for shopping
A list is a collection of data that cannot hold duplicated data and cannot be changed
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these pieces of code would return the name "Harry" from the following list?
nameList = ["John", "Harry", "Jesse", "John", "Harry", "Harry"]
nameList()
nameList[1]
NameList(4)
nameList["4"]
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
15 questions
4.6.4 Logic Gates
Quiz
•
10th Grade - Professi...
12 questions
Wee Word Intro
Quiz
•
7th - 12th Grade
10 questions
Evaluación Final UNDECIMO 11
Quiz
•
11th Grade
10 questions
XI_осн_веб_кон
Quiz
•
9th - 12th Grade
14 questions
TCP/IP & other protocols [A Level]
Quiz
•
12th Grade
10 questions
Què en saps de GSuite?
Quiz
•
University - Professi...
10 questions
Câu hỏi trắc nghiệm Tin Học 10 - Bài 10
Quiz
•
10th Grade
10 questions
Soal SKD
Quiz
•
University - Professi...
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
