
Subroutines in Programming Quiz

Quiz
•
Computers
•
10th Grade
•
Hard
Simon Beedie
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are subroutines in programming?
Large blocks of code that perform multiple tasks
Small, reusable blocks of code that perform specific tasks
Code that is written once and never reused
Temporary code used for testing
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Why are in-built functions in programming languages considered reliable?
They are written by beginners
They are rarely used
They are thoroughly tested and ready to use
They are complex and difficult to understand
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is required to define a function?
Only the function code.
Name, inputs, function code, and outputs.
Only the name and outputs.
Only the inputs and outputs.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a key characteristic of procedures in programming?
They return a value to the main program.
They do not return a value.
They are used only for calculations.
They require no inputs.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the role of the 'global' keyword in Python?
To declare a variable as global
To declare a variable as local
To declare a variable as constant
To declare a variable as private
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of inputs in a procedure?
To pass parameters or arguments
To define the output
To declare variables
To initialize the procedure
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the logic of a procedure referred to as?
Procedure Code
Procedure Logic
Procedure Flow
Procedure Syntax
Create a free account and access millions of resources
Similar Resources on Wayground
8 questions
Sample Test

Quiz
•
10th - 12th Grade
10 questions
OCR GCSE CS MCQ2 1.5 Networks (J276)

Quiz
•
9th - 10th Grade
13 questions
2. Producing robust programs

Quiz
•
10th Grade
8 questions
H Plenary - Modular programming quick quiz

Quiz
•
10th Grade - University
10 questions
Year 9 Programming Constructs

Quiz
•
1st - 12th Grade
10 questions
Python Code Quiz

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

Quiz
•
10th Grade
10 questions
TLE Q3 MODULE 4 G16

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