Subroutines
Quiz
•
Computers
•
9th - 11th Grade
•
Medium
Used 175+ times
FREE Resource
Enhance your content in a minute
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
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
12 questions
Intro to Scratch 2
Quiz
•
KG - University
19 questions
Unit 4: Operators in Java
Quiz
•
9th - 10th Grade
15 questions
Program Logic Test
Quiz
•
10th Grade
16 questions
Program Development - Python: Code Basics 1
Quiz
•
8th - 10th Grade
11 questions
VARIABLES EN PROGRAMACION
Quiz
•
9th Grade
15 questions
09-Subroutines-GCSE-Python
Quiz
•
11th Grade
12 questions
Visual Basic Básico
Quiz
•
11th Grade
20 questions
Computer Pioneers - Charles Babbage & others
Quiz
•
9th Grade
Popular Resources on Wayground
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
4 questions
Activity set 10/24
Lesson
•
6th - 8th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
How to Email your Teacher
Quiz
•
Professional Development
15 questions
Order of Operations
Quiz
•
5th Grade
30 questions
October: Math Fluency: Multiply and Divide
Quiz
•
7th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
20 questions
Six Weeks Test 2 Review
Lesson
•
9th - 12th Grade
12 questions
Overview of Mexico Part 1
Lesson
•
9th - 12th Grade
16 questions
Lesson 3.5 - If Structures Practice
Quiz
•
11th Grade
10 questions
Exploring Computer Hardware and Software Components
Interactive video
•
6th - 10th Grade
