Subroutines

Quiz
•
Computers
•
9th - 11th Grade
•
Medium
Used 175+ times
FREE Resource
16 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What would the output be for the following program if the user enters 4 and 6?
10
14
16
error
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
If the user inputs "Connolly"into surname and "Luke" into first what would be output?
Error
Connolly Luke
Luke Connolly
Connolly Luke Connolly Luke
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
John wants to create a subroutine in python that will roll a dice. Which is the correct method below?
DEFINE diceroll:INTEGER
def diceroll[]:
def diceroll():
def diceroll:
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Norah wants to print her multiplication equation of 12 x 12. What code should she add below?
print (multiply)
a = 12
b = 12
answer = a * b
print(multiply(12, 12))
print(multiply(12 * 12))
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
"Declaration" refers to...
Storing data in variables
Creating variables
Repeating sections of code
Checking a condition to see which piece of code to run next
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
"Iteration" refers to...
Storing data in variables
Creating variables
Repeating sections of code
Checking a condition to see which piece of code to run next
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A loop within a loop is...
Definite iteration
Indefinite iteration
Nested iteration
Reverse Polish iteration
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Subroutine

Quiz
•
10th Grade
17 questions
Flowcharts and Actuators

Quiz
•
7th - 10th Grade
16 questions
Digital Solutions - Algorithms

Quiz
•
11th - 12th Grade
20 questions
PCS - Scratch

Quiz
•
6th Grade - University
16 questions
Iteration Recap

Quiz
•
8th - 9th Grade
15 questions
AP Computer Science Principles - Module 3 Review

Quiz
•
10th - 12th Grade
20 questions
Validating user input

Quiz
•
11th Grade
13 questions
python times table practice

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

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

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
1.2 OSI & TCP IP Models Quiz

Quiz
•
10th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
30 questions
Introduction to Computers

Quiz
•
8th - 9th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade