Python - End of module assessment
Quiz
•
Computers
•
12th Grade
•
Practice Problem
•
Medium
Steve Rich
Used 9+ times
FREE Resource
Enhance your content in a minute
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
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
18 questions
School Mangement System ICT 0417 IGCSE
Quiz
•
10th - 12th Grade
20 questions
Latihan Soal Administrasi Infrastruktur Jaringan XII TKJ
Quiz
•
10th - 12th Grade
20 questions
Pemrograman Dasar 3
Quiz
•
9th - 12th Grade
15 questions
User Interface Design - Topic 1
Quiz
•
12th Grade
20 questions
Quiz on Excel
Quiz
•
12th Grade
15 questions
ASAS PEMBELAJARAN DIGITAL
Quiz
•
9th - 12th Grade
20 questions
Database&Relation
Quiz
•
12th Grade
20 questions
Data structure test1
Quiz
•
12th Grade
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
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
20 questions
Figurative Language Review
Quiz
•
6th Grade
