Python Functions

Quiz
•
Computers
•
9th Grade
•
Medium
Sarbagya Malla
Used 353+ times
FREE Resource
20 questions
Show all answers
1.
OPEN ENDED QUESTION
30 sec • 1 pt
Which two (2) lines of code will print when this function is called?
Evaluate responses using AI:
OFF
2.
OPEN ENDED QUESTION
30 sec • 1 pt
What is the name of the function?
Evaluate responses using AI:
OFF
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When defining a function, the definition must occur before it is called.
true
false
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the following code output?
11, 9
16, 16
None, None
225, 117
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Consider the line of code:
Label('Go Team', 200, 100)
What is the Label?
argument
parameter
function name
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is the correct code to define a function?
def area ( ):
area ( )
def area:
def area ( )
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Hangman Game - Programming Questions

Quiz
•
7th - 11th Grade
17 questions
Python

Quiz
•
6th - 10th Grade
20 questions
Subroutines - Procedures & Functions

Quiz
•
9th - 12th Grade
16 questions
Python Looping with Integers

Quiz
•
9th - 12th Grade
20 questions
CODEHS KAREL

Quiz
•
7th - 9th Grade
25 questions
Unit 2 - Turtle Graphics Quiz for Python Computer Programming I

Quiz
•
9th - 12th Grade
20 questions
Python turtle year 8 assessment

Quiz
•
7th - 9th Grade
16 questions
Python programming

Quiz
•
6th - 12th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade