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
10 questions
Java Basic Syntax Quiz

Quiz
•
10th Grade
10 questions
Programming - Algorithms in Pseudocode & Flow Diagrams

Quiz
•
1st - 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
13 questions
CS Edexcel 1.2a Writing Algorithms

Quiz
•
9th - 10th Grade
10 questions
Berpikir Komputasional Kelas 9

Quiz
•
10th Grade
10 questions
Chapter 03 Worksheet

Quiz
•
10th Grade
10 questions
Javascript & Client side scripting

Quiz
•
10th - 12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th 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
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade
29 questions
AP CSP Unit 2 Review (Code.org)

Quiz
•
10th - 12th Grade