Which pseudocode statement is used to declare subroutines?
GCSE Unit 2 Prep - pseudocode

Quiz
•
Computers
•
10th Grade
•
Hard

Andrew Dawson
Used 4+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
DECLARE
FUNCTION
SUB
PROCEDURE
Answer explanation
The correct answer is declare. In pseudocode, the "declare" statement is used to declare a subroutine, which is a named block of code that performs a specific task. Subroutines are used to break down complex problems into smaller, more manageable parts.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which pseudocode statement is used to call a subroutine?
RUN
GOTO
CALL
EXECUTE
Answer explanation
The correct answer is CALL. In pseudocode, the "CALL" statement is used to call or invoke a subroutine. This allows the program to execute the code within the subroutine and perform the specific task it was designed for. e.g.
CALL AddTwoNumbers
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which pseudocode statement is used to declare and use an array?
myarray[99]
set myarray[99]
declare myarray[99]
myarray{99}
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which pseudocode statement is used to produce literal outputs?
OUTPUT
DISPLAY
SHOW
Answer explanation
The correct answer is OUTPUT. In pseudocode, the "OUTPUT" statement is commonly used to produce literal outputs. It allows the program to display text or values on the output device, such as the console or screen. e.g.
OUTPUT "Hello"
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which pseudocode statement is used to define a variable name?
myVariable
DEFINE myVariable
DECLARE myVariable
NAME myVariable
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which pseudocode statement is used to define the data type of a variable?
myvariable IS integer
myvariable = integer
myvariable == integer
integer IS myvariable
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which pseudocode statement is used for assignment?
SET counter = 0
ASSIGN counter = 0
counter = 0
STORE counter = 0
Create a free account and access millions of resources
Similar Resources on Quizizz
10 questions
Programming - Algorithms in Pseudocode & Flow Diagrams

Quiz
•
1st - 12th Grade
10 questions
Introduction to programming

Quiz
•
5th - 10th Grade
12 questions
Introduction to Python Programming

Quiz
•
7th - 10th Grade
7 questions
Pseudocode Practice Quiz

Quiz
•
9th - 12th Grade
15 questions
Pseudocode and Flowcharts - Computer Science

Quiz
•
KG - 12th Grade
10 questions
Programming - Iteration, Basic Programming Constructs & Loop

Quiz
•
2nd - 12th Grade
14 questions
Computer Programming Quiz

Quiz
•
10th Grade
11 questions
P1.3 - Solution planning

Quiz
•
10th Grade - University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University