
Python Programming U1M2
Quiz
•
Computers
•
9th - 12th Grade
•
Practice Problem
•
Medium
Jennifer OKeefe
Used 11+ times
FREE Resource
Enhance your content in a minute
11 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Function names cannot begin with a number as the first character.
True
False
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
def show_name():
print("Tobias Ledford")
Which code calls the unction in the above code?
show_name.run()
open(show_name)
run show_name
show_name()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A function with 2 integer parameters could start with which definition?
function add_numbers(num_1, num_2):
def add_numbers(num_1, num_2):
def 2_numbers(num_1, num_2):
FUNCTION add_numbers(x,y):
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
def add_num(num_1 = 10):
print(num_1 + num_1)
Choose the correct output of calling the above function using the following code:
add_num()
0
10
20
An error
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Python function return values must be stored in variables.
True
False
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
def add_num (num_1 = 10):
return num_1 + num_1
Choose the correct output of calling the function above using the following code:
print(add_num(100))
20
100
200
An error
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
def add_numbers(num_1, num_2=10):
return num_1 + num_2
Choose the correct output of calling the function above using the following code:
print(add_numbers(100))
100
110
200
Ann error
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
15 questions
Encryption Quiz
Quiz
•
10th Grade
15 questions
MS Word Advance
Quiz
•
9th - 12th Grade
12 questions
Text File Pop Quiz
Quiz
•
11th Grade
15 questions
Networking Quiz
Quiz
•
8th - 9th Grade
10 questions
ภาษาไพทอน
Quiz
•
10th Grade
14 questions
SOAL CEK PENGUASAAN UKK PRAKTEK PAKET 2
Quiz
•
9th - 12th Grade
15 questions
Pemrograman Web dan Perangkat Bergerak #1
Quiz
•
11th Grade
10 questions
KUIS EXCEL
Quiz
•
10th 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
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
20 questions
Figurative Language Review
Quiz
•
6th Grade
