GCSE Unit 2 Prep - pseudocode

GCSE Unit 2 Prep - pseudocode

10th Grade

10 Qs

quiz-placeholder

Similar activities

Algorithm

Algorithm

10th - 11th Grade

15 Qs

Code.org - Unit 6 Review

Code.org - Unit 6 Review

9th - 12th Grade

15 Qs

Introduction to Python Programming

Introduction to Python Programming

7th - 10th Grade

12 Qs

Pseudocode Practice Quiz

Pseudocode Practice Quiz

9th - 12th Grade

7 Qs

Kelas X - Algoritma Pemrograman

Kelas X - Algoritma Pemrograman

10th Grade

10 Qs

P1.3 - Solution planning

P1.3 - Solution planning

10th Grade - University

11 Qs

Programming - Selection in an Algorithm

Programming - Selection in an Algorithm

1st - 11th Grade

10 Qs

Programming - Syntax & Logic Errors

Programming - Syntax & Logic Errors

3rd - 12th Grade

10 Qs

GCSE Unit 2 Prep - pseudocode

GCSE Unit 2 Prep - pseudocode

Assessment

Quiz

Computers

10th Grade

Hard

Created by

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?

PRINT

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?