GCSE - Algorithms
a year ago
misshmdickinson
Save
Edit
Host a game
Live GameLive
Homework
Solo Practice
Practice
• Question 1
30 seconds
Q.

What is an algorithm?

A flowchart

Step by step instructions used to solve a problem

A decision

A flowchart or pseudocode

• Question 2
30 seconds
Q.

What are the three algorithm constructs?

Sequence, Selection, Iteration

Input, Process, Output

Input/output, decision, terminator

Loop, input/output, process

• Question 3
30 seconds
Q.

What is the difference between a flowchart and pseudocode?

A flowchart is diagrammatic whilst pseudocode is written in a programming language

A flowchart is textual but pseudocode is diagrammatic

A flowchart is a diagrammatic description of an algorithm whilst pseudocode is a textual description of an algorithm

A flowchart and pseudocode are the same thing

• Question 4
30 seconds
Q.

In a flowchart an input or output instruction is represented by:

A rectangle

A rhombus

A parallelogram

A circle

• Question 5
30 seconds
Q.

In a flowchart a calculation (process) is represented by:

A rectangle

A rhombus

A parallelogram

A circle

• Question 6
30 seconds
Q.

In a flowchart a decision (selection) is represented by:

A rectangle

A rhombus

A parallelogram

A circle

• Question 7
30 seconds
Q.

An algorithm asks a user to enter their age, the age is read into the system and the system outputs a 'Thank You' message.

This is an example of which of the algorithm construct?

Decision (Selection)

Loop (Iteration)

Order (Sequence)

All of the above

• Question 8
30 seconds
Q.

An Algorithm asks the user to enter their scores for 5 different tests.

This is an example of which of the algorithm constructs?

Decision (Selection)

Loop (Iteration)

Order (Sequence)

All of the above

• Question 9
30 seconds
Q.

An Algorithm asks the user to enter their gender (M or F) and prints out a different comment depending on what they entered.

This is an example of which of the algorithm constructs?

Decision (Selection)

Loop (Iteration)

Order (Sequence)

All of the above

• Question 10
30 seconds
Q.

What is a "Variable" ?

A value that can be changed and manipulated as an algorithm is running

A value that cannot be changed and manipulated as an algorithm is running

• Question 11
30 seconds
Q.

Variables are assigned an identifier/name. The identifier should be:

not too long

have a sensible name

all of the above

• Question 12
30 seconds
Q.

firstName is and example of what commonly used way to name a variable

camelcase

snakecase

linecase

hillcase

• Question 13
30 seconds
Q.

first_name is and example of what commonly used way to name a variable

camelcase

snakecase

linecase

hillcase

• Question 14
30 seconds
Q.

This an example of:

a nested if

a combined if

a multiple if

a sequence if

• Question 15
30 seconds
Q.

Case statements can be used in some languages instead of: