
CS1: Unit 2 Review - Functions and Mouse Events
Authored by Lisa Stone
Computers
8th Grade

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
26 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Indent the body of a function by how many spaces in Python?
4 spaces
2 spaces
8 spaces
1 space
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a valid Python function name?
2start
start_2
start 2
start-2
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Function parameters can only be numbers in Python.
True
False
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What keyword can you use in Python to tell it to do nothing for a function?
pass
skip
continue
break
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT allowed in a Python function name?
A) Underscores
B) Digits (not at the start)
C) Spaces
D) Lowercase letters
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Python function names are case sensitive, so sayHi and sayhi are different.
True
False
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When calling a function with no parameters, which of the following is correct?
beHappy
beHappy()
beHappy[]
beHappy{}
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
21 questions
PowerPoint Review
Quiz
•
6th - 8th Grade
24 questions
Computer Systems Homework
Quiz
•
7th - 9th Grade
22 questions
PLTW CSIM Unit 1
Quiz
•
8th Grade
24 questions
Câu 97-120
Quiz
•
8th Grade
21 questions
Databases and Spreadsheets
Quiz
•
3rd - 10th Grade
22 questions
Class 7 revision
Quiz
•
5th - 12th Grade
21 questions
INFORMATIKA
Quiz
•
8th Grade
21 questions
Meraki-Test
Quiz
•
6th - 8th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade