Python functions and procedures
Quiz
•
Computers
•
10th - 11th Grade
•
Practice Problem
•
Hard
Dean Whittle
Used 25+ times
FREE Resource
Enhance your content in a minute
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which one of these is NOT a reason to use a subroutine?
Small, so easy to write, test and debug
Can be saved as separate modules so can be used in other programs
Can be used repeatedly within a program
Automatically adds comments in to the program
2.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Which type of subroutine is used to perform a specific task?
3.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Which type of subroutine is used to return a result?
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What type of subroutine is this?
Function
Procedure
5.
FILL IN THE BLANK QUESTION
1 min • 1 pt
What is the name of this subroutine?
6.
FILL IN THE BLANK QUESTION
1 min • 1 pt
What is the parameter that is being input in to this subroutine?
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which one of these is used to put a value into the memory for use elsewhere in the program?
import
return
output
8.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these command words is used to tell the program to use a variable outside of the subroutine?
return
global
def
Similar Resources on Wayground
10 questions
Python with DataScience
Quiz
•
7th Grade - University
10 questions
Recap: Introduction to Python
Quiz
•
10th Grade
10 questions
ANALISIS DATA XI INFORMATIKA
Quiz
•
11th Grade
10 questions
Star & Mesh Networks
Quiz
•
9th - 12th Grade
10 questions
Programowanie w Scratchu
Quiz
•
10th - 12th Grade
10 questions
IT Quiz
Quiz
•
11th - 12th Grade
10 questions
UH EXCEL TIK
Quiz
•
10th Grade
10 questions
𝐂𝐡𝐚𝐩𝐭𝐞𝐫 𝟓—𝐓𝐡𝐞 𝐅𝐮𝐭𝐮𝐫𝐞 𝐨𝐟 𝐂𝐨𝐦𝐩𝐮𝐭𝐢𝐧𝐠
Quiz
•
10th Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
