GCSE Unit 2 Prep - pseudocode
Quiz
•
Computers
•
10th Grade
•
Practice Problem
•
Hard
Andrew Dawson
Used 4+ times
FREE Resource
Enhance your content in a minute
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
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
15 questions
Programming python review
Quiz
•
9th - 12th Grade
15 questions
Latihan Soal Daring Pemrograman Dasar (Java) - X TKJ
Quiz
•
10th Grade
15 questions
S3 Level 1
Quiz
•
9th - 10th Grade
15 questions
Q1 W1 M1 PRE-TEST
Quiz
•
10th Grade
15 questions
Types of Network
Quiz
•
10th Grade
10 questions
Cutting - Edge Technology
Quiz
•
7th - 10th Grade
10 questions
Information processing cycle
Quiz
•
10th Grade
15 questions
ASAS PEMBELAJARAN DIGITAL
Quiz
•
9th - 12th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
