
Python functions and Exceptions
Quiz
•
Computers
•
9th - 12th Grade
•
Practice Problem
•
Hard
+7
Standards-aligned
Barri-Ann Lawrence
FREE Resource
Enhance your content in a minute
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is a function ?
A specific name that is a reference to an object.
A block of code that performs a specific task.
Repeating something over and over again.
A set of rules
Tags
CCSS.8.F.A.1
CCSS.HSF.IF.A.1
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the output ?
Square of 1 = 1
Square of 2 = 4
Square of 3 = 9
Square of 1 = 1
Square of 1 = 4
Square of 2 = 9
Square of 3 = 1
Square of 3 = 9
Square of 2 = 4
Square of 1 = 1
Tags
CCSS.HSF.IF.A.2
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the output ?
40
45
10
15
30
35
Error
Tags
CCSS.HSF.IF.A.2
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the output ?
15
25
45
10
20
30
3
5
9
Error
Tags
CCSS.HSF.IF.A.2
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is def ?
Any name given to the function
Any value passed to function
Keyword used to declare a function
Returns value from a function
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the output ?
Hello World
Hi
Hello World
Hi
Hello World Hi
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Find the error
missing indentation
In print, p is capital not small
missing colon
It is called define not def
Tags
CCSS.L.9-10.2B
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
20 questions
AIB_2Q
Quiz
•
12th Grade
20 questions
4NT CPA WA2 Practice Part 1
Quiz
•
10th Grade
20 questions
QUIZ MICROSOFT WORD LEVEL MADYA
Quiz
•
12th Grade
20 questions
Advantages and Disadvantages of Collecting Data
Quiz
•
10th Grade
20 questions
Computer
Quiz
•
12th Grade
20 questions
NP IT Quiz ปริศนาไอที #4
Quiz
•
9th - 12th Grade
20 questions
Pretest TIK
Quiz
•
10th Grade
21 questions
Google Sheets
Quiz
•
12th 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
