Python Functions

Quiz
•
Computers
•
9th Grade
•
Medium
Sarbagya Malla
Used 371+ 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
20 questions
Int Prog: Lists and Functions

Quiz
•
9th - 12th Grade
20 questions
Robotics Pretest

Quiz
•
9th - 12th Grade
20 questions
JavaScript Level 1

Quiz
•
5th - 9th Grade
16 questions
Podstawy języka Python

Quiz
•
9th Grade
21 questions
Quiz 1

Quiz
•
9th - 12th Grade
20 questions
11900程1-20

Quiz
•
9th - 12th Grade
15 questions
Functions in Python

Quiz
•
9th - 12th Grade
17 questions
12/3 Classes & Objects

Quiz
•
9th - 11th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade