
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
10 questions
Python 2 модуль

Quiz
•
6th - 8th Grade
16 questions
#2.1 Strong Passwords

Quiz
•
6th Grade
20 questions
Season 5 #Spaic Python Weekly Quiz

Quiz
•
KG - Professional Dev...
10 questions
Student Passport to Canvas Scavenger Hunt

Quiz
•
6th - 8th Grade
15 questions
Python Dictionaries Quiz

Quiz
•
10th Grade
15 questions
Problem Solving using Python and R - UNIT II - Dictionary

Quiz
•
12th Grade
15 questions
Python 05 Dictionary/2D List

Quiz
•
4th - 8th Grade
15 questions
python dictionary

Quiz
•
11th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
20 questions
typing

Quiz
•
6th Grade
18 questions
Company Logos

Quiz
•
6th - 8th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
20 questions
Input, Output, Processing or Storage

Quiz
•
5th - 6th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade
29 questions
AP CSP Unit 2 Review (Code.org)

Quiz
•
10th - 12th Grade