What is the value of c after the code has executed?
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
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 Quizizz
15 questions
Python End of Topic Quiz

Quiz
•
8th Grade - University
20 questions
Basic Python

Quiz
•
10th - 12th Grade
16 questions
Code.org CSP Unit 4 Review

Quiz
•
9th - 12th Grade
20 questions
Python String

Quiz
•
12th Grade
20 questions
Python Basics Review (TSK)

Quiz
•
9th - 12th Grade
15 questions
Code.org Unit 5 Lesson 15 Assessment

Quiz
•
9th - 12th Grade
15 questions
Python Revision Tour - I

Quiz
•
12th Grade
16 questions
Variables and Data Types Knowledge Check

Quiz
•
9th - 12th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University