
Unit 1 Module 2 Test
Authored by Benjamin Dusek
Computers
9th - 12th Grade
Used 22+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
12 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Select the incorrect function.
print()
123_print()
Print()
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
def display_name():
print("Aaron Rodgers")
Which line of code calls the function in the code above?
display_nam.run()
call(display_name)
print("aaron rodgers")
display_name()
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
A function with two string parameters could start with which definition?
funct_add_strings(str1,str2):
def add_strings(str1,str2):
def 2_strings(str1,str2)
FUNCTION +_strings(a,b)
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
def add_num(num_1=36)
print(num_1+num_1)
Choose the correct output of calling the above function using the following code
add_num()
0
36
72
NAME Error
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Python function return variables can only be stored in variables.
True
False
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
def add_num(num1 = 10)
return num_1+num_1
Choose the correct output of calling the function above using the following code'
print(add_num(36))
36
100
360
72
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
def add_numbers(num_1,num_2 = 45):
return num_1+num_2
Choose the correct output of calling the function above using the following code
print(add_numbers(23))
68
1035
90
46
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
End of term assessment
Quiz
•
9th Grade
10 questions
Keyboarding Terms
Quiz
•
9th - 12th Grade
16 questions
C-Programming Basics
Quiz
•
12th Grade
10 questions
Word basics
Quiz
•
8th - 12th Grade
10 questions
python-BTxâu
Quiz
•
9th - 12th Grade
17 questions
Basic Docs
Quiz
•
8th - 9th Grade
10 questions
conditional and iterative statements
Quiz
•
11th Grade
10 questions
AI and Python: Ch.1 Revision
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
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