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
12 questions
Microsoft Programs

Quiz
•
9th - 12th Grade
8 questions
Small Basic Mid Point Review

Quiz
•
6th - 12th Grade
13 questions
A words - GCSE Computer Science

Quiz
•
1st - 10th Grade
8 questions
1.1.3 CSE Conditionals and Event-driven Programming

Quiz
•
9th - 12th Grade
8 questions
Functions and Procedures

Quiz
•
9th - 11th Grade
9 questions
2.1.2 CSE Coding Fundamentals: Dead Reckoning

Quiz
•
9th - 12th Grade
10 questions
Advanced Python Iteration Quiz

Quiz
•
10th Grade
7 questions
Computer Science Essentials Vocabulary

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
Discover more resources for Computers
40 questions
Algebra Review Topics

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

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
40 questions
LSHS Student Handbook Review: Pages 7-9

Quiz
•
11th Grade
10 questions
Characteristics of Life

Quiz
•
9th - 10th Grade
10 questions
Essential Lab Safety Practices

Interactive video
•
6th - 10th Grade
20 questions
Scalars, Vectors & Graphs

Quiz
•
11th Grade
62 questions
Spanish Speaking Countries, Capitals, and Locations

Quiz
•
9th - 12th Grade