Functions in Python

Quiz
•
Computers
•
9th - 12th Grade
•
Easy
Jed Tresmanio
Used 39+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following keywords marks the begining of the function block?
Func
define
def
function
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following pertains to a piece of code that can take inputs to perform a specific task?
Arguments
Functions
Parameters
Loops
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When defining a function, the definition must occur before it is called.
TRUE
FALSE
4.
DROPDOWN QUESTION
1 min • 1 pt
The variable listed inside the parentheses in the function definition is called a(n) (a) , while the value that is sent to the function when it is called is a(n) (b) .
5.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
Which of the following describe what parameters are function? (Select 2)
input value to a function for the function’s execution
a variable used to send information to a function
the name of the function
the name of the main program calling the function
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following symbols always comes after a function code block?
;
]
:
#
7.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Which of the following is TRUE about the given function? (Select 3)
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Chapter 7-8 Review

Quiz
•
11th Grade
11 questions
Python Arcade 10Com at 26/5/2021

Quiz
•
10th Grade
20 questions
Python Programming II CSE A

Quiz
•
12th Grade - University
20 questions
Understanding Functions in Programming

Quiz
•
9th Grade - University
10 questions
Python Testing

Quiz
•
9th - 12th Grade
10 questions
Python Basics

Quiz
•
8th - 10th Grade
15 questions
G10 CS Functions and Procedures

Quiz
•
12th Grade
10 questions
PCEP Section 4B: the function and its environment

Quiz
•
12th 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
29 questions
AP CSP Unit 2 Review (Code.org)

Quiz
•
10th - 12th Grade