GCSE Unit 2 Prep - pseudocode

GCSE Unit 2 Prep - pseudocode

10th Grade

10 Qs

quiz-placeholder

Similar activities

Programming - Syntax & Logic Errors

Programming - Syntax & Logic Errors

3rd - 12th Grade

10 Qs

Programming - Algorithms in Pseudocode & Flow Diagrams

Programming - Algorithms in Pseudocode & Flow Diagrams

1st - 12th Grade

10 Qs

10 CS // Pseudocode

10 CS // Pseudocode

9th - 11th Grade

10 Qs

Pseudocode and Flowcharts - Computer Science

Pseudocode and Flowcharts - Computer Science

KG - 12th Grade

15 Qs

AQA Computer Science GCSE - 3.1 Fundamentals of algorithms

AQA Computer Science GCSE - 3.1 Fundamentals of algorithms

10th - 12th Grade

15 Qs

Pseudocode

Pseudocode

9th - 11th Grade

15 Qs

Programming - Iteration, Basic Programming Constructs & Loop

Programming - Iteration, Basic Programming Constructs & Loop

2nd - 12th Grade

10 Qs

Javascript

Javascript

10th - 12th Grade

15 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?