Python revision

Quiz
•
Computers
•
10th Grade
•
Easy
Sherihan Awni
Used 3+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the output of this code?
1
2
"a"
Error
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of the following creates a dictionary?
{"apple", 1}
["apple": 1]
{"apple": 1}
(apple:1)
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
How do you add a new key-value pair to a dictionary?
my_dict.add("color", "blue")
my_dict["color"] = "blue"
my_dict("color") = "blue"
my_dict += {"color": "blue"}
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What will this code print?
1
2
10
20
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the result of this code?
5
7
3
2
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which line causes an error?
{"a": 1, "b": 2}
d={"a": 1, "b": 2}
print(d["c"])
None
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What does this function return?
None
Hi!
greet
Error
Create a free account and access millions of resources
Similar Resources on Wayground
12 questions
Python_4

Quiz
•
9th - 12th Grade
10 questions
Python Dictionaries

Quiz
•
University
10 questions
l.7. PYTHON FUNCTIONS

Quiz
•
12th Grade
15 questions
Cybernaut Analysis

Quiz
•
University
15 questions
Python Function Quiz

Quiz
•
University
15 questions
Тест з програмування на Python

Quiz
•
12th Grade - University
10 questions
Evaluasi PHP 4

Quiz
•
10th Grade
11 questions
Python function output based KVRDSO lucknow

Quiz
•
11th - 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
10 questions
1.2 OSI & TCP IP Models Quiz

Quiz
•
10th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade