Python - End of module assessment

Quiz
•
Computers
•
12th Grade
•
Medium
Steve Rich
Used 9+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
What is the value of c after the code has executed?
5
10
20
40
2.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
This function, given an int n, returns the difference between n and 21, except return double the difference if n is over 21.
What does the function return if we call with the argument: 25?
4
8
16
21
25
3.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
What is the value of c when output?
60
70
25
35
4.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
Consider the following code. Which paradigm is in use here?
Functional
OOP
Procedural
Event Driven
5.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
On line 11, what would we enter inside the parentheses to output the population of Canada?
canada
canada(population)
canada.population
population.canada
6.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
What is output?
Each character from the string one by one
T
h
e
...
The whole string 42 times
Every even character from the string one by one.
T
e
q
...
Every odd character from the string one by one
h
u
...
7.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
Which of the following is not a reserved (key) word in Python?
class
until
for
while
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Ch.8 - Introducing Python

Quiz
•
6th Grade - Professio...
20 questions
Python list, if

Quiz
•
6th - 12th Grade
20 questions
ASK T2 - Kod Arahan (Python)

Quiz
•
7th Grade - University
20 questions
Python while loops

Quiz
•
12th Grade
15 questions
Python - Chpt 1 - Review

Quiz
•
9th - 12th Grade
25 questions
Introduction to Python

Quiz
•
KG - University
20 questions
The String Class

Quiz
•
12th Grade
15 questions
Quiz on String

Quiz
•
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
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
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