
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
QUIZ 2 KLS 9
Quiz
•
9th Grade
10 questions
DATA STRUCTURES
Quiz
•
12th Grade
15 questions
Q1 W1 M1 PRE-TEST
Quiz
•
10th Grade
15 questions
User Interface Design - Topic 1
Quiz
•
12th Grade
10 questions
SISTEM KOMPUTER KLS 9
Quiz
•
9th Grade
10 questions
Penilaian Harian-1, Pemrograman Berorientasi Objek (PBO)
Quiz
•
12th Grade
10 questions
Asesmen Diagnostik Informatika XI
Quiz
•
10th Grade
10 questions
Initial Assessment - Cybersecurity Awareness
Quiz
•
9th Grade - Professio...
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
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th 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