Python functions and procedures

Quiz
•
Computers
•
10th - 11th Grade
•
Hard
Dean Whittle
Used 24+ times
FREE Resource
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 Review - Functions

Quiz
•
9th - 12th Grade
10 questions
Python Input/Output

Quiz
•
9th - 12th Grade
10 questions
Adobe Premiere Pro

Quiz
•
10th - 12th Grade
10 questions
Understanding Subprograms and Subroutines

Quiz
•
10th - 12th Grade
12 questions
Syntax and Logic Errors

Quiz
•
9th - 11th Grade
12 questions
Unit 5 Lists, Loops, & Traversals

Quiz
•
10th - 12th Grade
13 questions
Scratch Programming

Quiz
•
1st - 12th Grade
11 questions
Word Expert Vocabulary 1

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

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th 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
20 questions
Analog vs Digital

Quiz
•
9th - 12th Grade
10 questions
Exploring Cybersecurity Techniques and Threats

Interactive video
•
6th - 10th Grade
10 questions
Understanding the Internet and Data Transmission

Interactive video
•
7th - 12th Grade