
Unit 6 Review
Authored by Julia McGreal
Computers
9th - 12th Grade
Used 15+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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")
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
10 questions
Bài 17: BIẾN VÀ LỆNH GÁN
Quiz
•
10th Grade
13 questions
python A
Quiz
•
10th Grade
13 questions
Раздел 5, информатика, 8 класс
Quiz
•
10th Grade
10 questions
ICT Java programming workshop
Quiz
•
9th Grade
10 questions
مراجعة الوحدة 3 ( البرمجة بواسطة المايكروبت )
Quiz
•
12th Grade
10 questions
Latihan ICT Part 2
Quiz
•
10th Grade
11 questions
Packet Switching and Encryption
Quiz
•
10th - 12th Grade
16 questions
Swift playground - about me module
Quiz
•
11th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
10 questions
Probability Practice
Quiz
•
4th Grade
15 questions
Probability on Number LIne
Quiz
•
4th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
6 questions
Appropriate Chromebook Usage
Lesson
•
7th Grade
10 questions
Greek Bases tele and phon
Quiz
•
6th - 8th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
14 questions
[AP CSP] JavaScript Programming Quiz
Quiz
•
9th - 12th Grade
10 questions
Understanding Computers and Computer Engineering
Interactive video
•
7th - 12th Grade
37 questions
Python - Tuples, Lists, and List Methods
Quiz
•
9th - 12th Grade
60 questions
MOS Word Home, Insert, Reference Ribbon Basics
Quiz
•
9th Grade