
CS Python Fundamentals Quiz 7 Review
Authored by Scott Chamberlain
Computers
9th - 12th Grade
Used 9+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
2 mins • 1 pt
Which of the following does NOT describe a specific purpose of using functions in code?
Select ALL that apply.
To simplify code through abstraction.
To prompt the user for input.
To allow for re-use of code.
To stop a program from repeating,
To improve the debugging process.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the Python keyword used to create a function?
fun
cre
begin
def
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A variable received in the definition of a function is called a(an)
argument
parameter
boolean
library
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
How many parameters are optional for the function defined below?
def heatcheck(a, m, c=0, q=1)
0
1
2
3
4
5.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What is output by the program shown here?
7
10
11
14
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What is output by the program shown here?
2
5
7
10
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What is output by the program shown here if the user enters 8 and 9?
0
17
64
72
81
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
10 questions
Recap: Introduction to Python
Quiz
•
10th Grade
10 questions
Computer System
Quiz
•
8th - 9th Grade
14 questions
Intro to Robotics
Quiz
•
9th Grade
14 questions
4th quarter 2nd summative
Quiz
•
10th Grade
15 questions
Coding Quiz
Quiz
•
6th - 10th Grade
15 questions
Virtual Private Server
Quiz
•
12th Grade
10 questions
Sains Komputer Tingkatan 4 - 3.1.1 Mengkaji keperluan intera
Quiz
•
1st Grade - Professio...
12 questions
Q2 WEEK 3 PRACTICE QUIZ #2
Quiz
•
9th 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
29 questions
Alg. 1 Section 5.1 Coordinate Plane
Quiz
•
9th Grade
22 questions
fractions
Quiz
•
3rd Grade
11 questions
FOREST Effective communication
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade