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
25 questions
Java Programming Quizz-GX

Quiz
•
9th - 12th Grade
15 questions
Gateway Level 3 Python Quiz 3

Quiz
•
9th - 12th Grade
20 questions
Chapter 2 Exam: Getting Started with Java

Quiz
•
10th - 12th Grade
15 questions
Python Lists

Quiz
•
10th - 12th Grade
15 questions
CICS Test 2 Review

Quiz
•
9th - 12th Grade
15 questions
COMPUTER 12

Quiz
•
12th Grade
17 questions
Project Stem Python Unit 1 Test Review

Quiz
•
9th - 12th Grade
25 questions
PYTHON QUIZ 1

Quiz
•
11th - 12th 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