
Subroutines

Quiz
•
Computers
•
10th Grade
•
Hard
Jon Rogers
Used 1+ times
FREE Resource
6 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Which of the following are a type of subprogram
Function
Iteration
Selection
Procedure
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which type of subroutine will return a value to the program?
Function
Procedure
Both
Neither
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which type of subroutine can be given a parameter?
Function
Procedure
Both
Neither
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which is true for parameters
Parameters are variables you can use anywhere in your program
Parameters can only be strings or numbers
Parameters can only be used in Functions
Parameter names go in the brackets when defining or calling a subroutine
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A function called "calculate" takes two parameters, num1 and num2.
Which is the correct first line of the function?
calculate(num1, num2
function calculate (num1, num2):
function calculate():
function calculate (num1: num2):
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is the correct way to call the calculate function with the numbers 6 and 3
calculate(6,3)
function(calculate)
function calculate(6,3)
def calculate
Similar Resources on Wayground
6 questions
Mathematical Expressions Quiz (MCQs)

Quiz
•
10th Grade
9 questions
TMFS Coding Day 2 (English)

Quiz
•
1st - 12th Grade
10 questions
Excel formulas VS Functions

Quiz
•
10th - 12th Grade
11 questions
Đề 1

Quiz
•
10th Grade
10 questions
AP CSA Unit 1 & 2 Review

Quiz
•
9th - 12th Grade
7 questions
File Size Calculations (iGCSE Up to 2022)

Quiz
•
8th Grade - University
10 questions
Karel Quizzes 1-5 (Command - Start)

Quiz
•
9th - 12th Grade
10 questions
DFD- DIAGRAMAS DE FLUJO

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