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
16 questions
Python programming

Quiz
•
6th - 12th Grade
15 questions
Recursion in Java

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

Quiz
•
9th - 12th Grade
15 questions
G10 CS String Manipulation

Quiz
•
12th Grade
20 questions
Unit 5 Quiz - Loops & Lists (code.org)

Quiz
•
10th - 12th Grade
15 questions
Javascript

Quiz
•
10th - 12th Grade
15 questions
Java Script Quiz

Quiz
•
9th - 12th Grade
15 questions
Basics in Java

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
Discover more resources for Computers
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
62 questions
Spanish Speaking Countries, Capitals, and Locations

Quiz
•
9th - 12th Grade
20 questions
First Day of School

Quiz
•
6th - 12th Grade
6 questions
Maier - AMDM - Unit 1 - Quiz 1 - Estimation

Quiz
•
12th Grade
21 questions
Arithmetic Sequences

Quiz
•
9th - 12th Grade
21 questions
9th Grade English Diagnostic Quiz

Quiz
•
9th - 12th Grade
7 questions
Characteristics of Life

Interactive video
•
11th Grade - University