
Subroutines Python

Quiz
•
Computers
•
10th Grade
•
Medium

CALUM WOODHEAD
Used 19+ times
FREE Resource
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Leo wants to create a subroutine that will roll a dice. Which syntax is correct?
def dice roll ():
def diceroll ()
def diceroll ():
def diceroll []:
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a function?
A section of code that will return a value
A section of code that will return nothing
A section of code that will return a command
None of the above
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a Procedure?
A section of code that will return a value
A section of code that will return nothing
A section of code that will return a command
None of the above
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct way to start a procedure?
def
Def
define
(def)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a subroutine?
Function
Procedure
Parameter
Functions and Procedures
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a benefit of using Subroutines?
More efficient
Takes longer to write
The code looks better
The program executes better
8.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What must go at the end of defining a Procedure?
():
[]:
()
:
Similar Resources on Wayground
10 questions
Python3

Quiz
•
4th Grade - University
11 questions
AP CSP Vocab Quiz BI 1, 2

Quiz
•
9th - 12th Grade
10 questions
Global and local variables

Quiz
•
10th - 12th Grade
13 questions
Python Functions

Quiz
•
9th - 12th Grade
10 questions
SLR 9 - Advanced Programming Techniques - Part Two

Quiz
•
10th Grade
10 questions
Indexing and Slicing in Python

Quiz
•
4th Grade - University
8 questions
СОР (пересдача) 10 класс

Quiz
•
10th Grade
12 questions
C++ References

Quiz
•
6th - 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