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
Which pseudocode statement is used to declare subroutines?
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 Wayground
15 questions
1 - Pseudocode

Quiz
•
9th - 10th Grade
15 questions
Pseudocode

Quiz
•
9th - 11th Grade
10 questions
Pseudocode Writing-Sequential Control

Quiz
•
10th Grade
11 questions
Sequence and selection

Quiz
•
9th - 10th Grade
10 questions
Programming - Syntax & Logic Errors

Quiz
•
3rd - 12th Grade
10 questions
Pseudocode Input

Quiz
•
9th - 12th Grade
10 questions
7.10 Writing and Amending Algorithms Cambridge IGCSE 0478

Quiz
•
10th Grade - University
10 questions
String Manipulation Quiz

Quiz
•
10th - 11th Grade
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
Discover more resources for Computers
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
10 questions
Characteristics of Life

Quiz
•
9th - 10th Grade
10 questions
Essential Lab Safety Practices

Interactive video
•
6th - 10th Grade
62 questions
Spanish Speaking Countries, Capitals, and Locations

Quiz
•
9th - 12th Grade
20 questions
First Day of School

Quiz
•
6th - 12th Grade
21 questions
Arithmetic Sequences

Quiz
•
9th - 12th Grade