
Grade XI test

Quiz
•
Computers, Other
•
5th - 12th Grade
•
Hard
Bhoomika Anand
Used 2+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
Which of the following code deletes the key 103 and its value
del grades[103]
grades.pop(103)
del grades["103"]
grades.pop("103")
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How to fix the syntax error above ?
grades.pop("Science", None)
grades.pop["Science","None"]
del grades["Math"]
del grades["Math", None]
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which method will remove an element the Dictionary data type?
.pop()
.discard()
.remove()
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Please select all correct ways to empty the following dictionary
student = {
"name": "Emma",
"class": 9,
"marks": 75
}
del student
del student[0:2]
student.clear()
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What would be the output of the following code snippet?
a_dict = {'color': 'blue', 'fruit': 'apple', 'pet': 'dog'}
d_items = a_dict.items()
print(d_items)
('color', 'blue'), ('fruit', 'apple'), ('pet', 'dog')
dict_items([('color'), ('fruit'), ('pet')])
[('color', 'blue'), ('fruit', 'apple'), ('pet', 'dog')]
dict_items([('color', 'blue'), ('fruit', 'apple'), ('pet', 'dog')])
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The code above prints
Math
Physics
Chemistry
English
4
3.8
3.6
3.7
None
None
None
None
NaN
NaN
NaN
NaN
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the program above
e
y
t
g
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Exploring Python Dictionaries

Quiz
•
7th Grade
10 questions
Warm-up 4-3 & 4-4

Quiz
•
6th Grade
15 questions
Python Programming Random Quiz

Quiz
•
11th Grade
20 questions
Unit 16 Spelling Quiz

Quiz
•
5th Grade
10 questions
Class-XII_IP_Revision-3

Quiz
•
12th Grade
10 questions
Reference Sources 6th Grade

Quiz
•
6th Grade
12 questions
ITGS 3.05: Hacking

Quiz
•
9th - 12th Grade
10 questions
Orientation for Planning Service Learning BCHS, LET I

Quiz
•
9th - 12th Grade
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
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
8 questions
Time Management

Quiz
•
6th Grade
15 questions
Acceptable Use Policy (Quiz)

Quiz
•
6th - 8th Grade
25 questions
Career Vs. Job

Quiz
•
6th - 8th Grade
12 questions
3-5 Digital Citizenship: Appropriate Use

Quiz
•
3rd - 5th Grade
10 questions
1.2 OSI & TCP IP Models Quiz

Quiz
•
10th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
30 questions
Introduction to Computers

Quiz
•
8th - 9th Grade