H Plenary - Modular programming quick quiz

Quiz
•
Computers
•
10th Grade
•
Hard
G Alexander-Doyle
FREE Resource
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is an example of parameter passing in a procedural high-level language?
Passing values to a function when calling it
Declaring a variable inside a function
Using a loop to repeat code
Printing output to the screen
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are the two main types of sub-programs/routines mentioned in the learning intentions?
Functions and procedures
Loops and conditions
Classes and objects
Arrays and lists
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following best describes a formal parameter?
The name given to the parameters identified in the definition of the subprogram.
The value passed to the subprogram during a call.
The output of the subprogram.
The memory address of the subprogram.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Where are formal parameters typically found in a function or procedure?
Within brackets in the declaration of a function or procedure.
In the return statement of the function.
In the main body of the program.
In the comments section of the code.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a local variable?
A variable defined within a subprogram or a block of code.
A variable that can be accessed from anywhere in the program.
A variable that is always constant.
A variable that is only used for input.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the difference between local and global variables?
Local variables are accessible only within a specific function, while global variables are accessible throughout the program.
Local variables are always integers, while global variables are always strings.
Local variables are stored on disk, while global variables are stored in memory.
Local variables are used for file handling, while global variables are used for calculations.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following always return a single value?
Function
Procedure
Method
Sub-routine
8.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following performs a task such as displaying output for the user?
Function
Procedure
Method
Sub-routine
Similar Resources on Wayground
8 questions
Basics of C Quiz

Quiz
•
9th - 12th Grade
10 questions
QUARTER3 MOD 1 TO 5

Quiz
•
10th Grade
10 questions
Computer Programming (Theory)

Quiz
•
University
10 questions
String Manipulation Quiz

Quiz
•
10th - 11th Grade
10 questions
SAS PG2 - Data Transformation

Quiz
•
University
8 questions
GDSC Python Bootcamp

Quiz
•
University
10 questions
GDScript Quiz - Lesson 2 - Variables & Functions

Quiz
•
12th Grade
7 questions
Year 11 Taster - Subprograms Review

Quiz
•
10th 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
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
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade