CS Python Fundamentals Quiz 7 Review

Quiz
•
Computers
•
9th - 12th Grade
•
Medium
Scott Chamberlain
Used 9+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Flow Charts (OCR GCSE)

Quiz
•
7th - 11th Grade
15 questions
Algorithm

Quiz
•
10th - 11th Grade
10 questions
python -easy level

Quiz
•
7th - 10th Grade
15 questions
Basic Python Coding

Quiz
•
11th - 12th Grade
12 questions
Hummingbird Robotics

Quiz
•
6th - 9th Grade
14 questions
9.1.2 - Starter Quiz

Quiz
•
7th - 11th Grade
12 questions
CS Python Fundamentals Quiz 2 Review & Practice

Quiz
•
9th - 12th Grade
10 questions
Global and local variables

Quiz
•
10th - 12th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade
Discover more resources for Computers
50 questions
Trivia 7/25

Quiz
•
12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade
6 questions
RL.10.1 Cite Evidence

Quiz
•
10th Grade
10 questions
Characteristics of Life

Quiz
•
9th - 10th Grade
14 questions
Algebra 1 SOL Review #1

Quiz
•
9th Grade