Unit 6 Review
Quiz
•
Computers
•
9th - 12th Grade
•
Medium
Julia McGreal
Used 15+ times
FREE Resource
Enhance your content in a minute
11 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of the following is the correct way to declare a function in Python?
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of the following code samples correctly passes the number 10 as an argument to the function print_number?
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Consider this code snippet. x = 10, def add_nums(): y = 2, z = x + y, print(z) Which of the following additional functions could be safely added to this code, without causing an error?
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of the following functions successfully returns the number 10?
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What type of error occurs when a program is expecting an integer value and the user enters a string?
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Why do programmers use try and except statements when their code might throw an exception?
7.
MULTIPLE CHOICE QUESTION
45 sec • 5 pts
Which of the programs below will print the following output?
I would like a green balloon.
def balloon_choice(color): print("I would like a " + color + " balloon.") balloon_choice("green")
def balloon_choice(color): print("I would like a " + color + " balloon.")
def balloon_choice(): print("I would like a " + color + " balloon.") balloon_choice("green")
def balloon_choice(): print("I would like a green balloon.") balloon_choice("green")
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
14 questions
4th quarter 2nd summative
Quiz
•
10th Grade
10 questions
PC1.8 Evaluate computer program
Quiz
•
9th Grade
10 questions
TỪ BÀI TOÁN ĐẾN CHƯƠNG TRÌNH
Quiz
•
11th Grade
11 questions
資訊測驗-高年級
Quiz
•
10th - 12th Grade
15 questions
Coding Quiz
Quiz
•
6th - 10th Grade
15 questions
Problem Solving : Design Solution
Quiz
•
12th Grade
13 questions
Białka, cukry i lipidy
Quiz
•
1st - 9th Grade
10 questions
Bài 30 - Kiểm thử và gỡ lỗi chương trình
Quiz
•
10th Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
