
Y9 Subroutines L3 AFL

Quiz
•
Computers
•
8th Grade
•
Medium

Naomi Bailey
Used 3+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
What Python code is used to output a message to the user?
print()
def
return
output
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the name of the subroutine in this program?
number
double
timesTwo
return
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
On what line is mySubroutine called (run)?
1
2
3
4
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
On what line is mySubroutine defined (created)?
1
2
3
4
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the output of this program?
mySubroutine
message
return
Hi
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What statement is used to pass a value back to the main program from a subroutine without outputting it?
return
print()
def
pass
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the first output of this program?
Ciao
Hello
Bonjour
Hallo
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Input Process Output

Quiz
•
7th - 8th Grade
15 questions
Scope of Variables in Python

Quiz
•
1st Grade - Professio...
10 questions
ICT General Knowledge Quiz

Quiz
•
3rd Grade - Professio...
10 questions
Microbit: Variable

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

Quiz
•
6th - 12th Grade
12 questions
Adventure game project

Quiz
•
7th - 8th Grade
13 questions
A words - GCSE Computer Science

Quiz
•
1st - 10th Grade
7 questions
Scratch Lesson 3

Quiz
•
6th - 8th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade