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
8 questions
8Q Struktur Kawalan Pilihan Bersarang (mengesan nilai)

Quiz
•
9th Grade
12 questions
Python Programming - Iteration

Quiz
•
9th Grade
15 questions
Intro to computer

Quiz
•
10th Grade
15 questions
Scratch Programming

Quiz
•
5th - 9th Grade
15 questions
Coding Pre-quiz

Quiz
•
6th - 9th Grade
12 questions
CSP: Code.org - Unit 3 Vocabulary Review

Quiz
•
9th - 12th Grade
11 questions
algoritma

Quiz
•
12th Grade
15 questions
AP CSP Unit 4

Quiz
•
10th - 12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
20 questions
Analog vs Digital

Quiz
•
9th - 12th Grade
10 questions
CTEA Computer Vocab Terms #1

Quiz
•
12th Grade
10 questions
Exploring Cybersecurity Techniques and Threats

Interactive video
•
6th - 10th Grade
10 questions
Understanding the Internet and Data Transmission

Interactive video
•
7th - 12th Grade