Skip to content

Course home

Representing algorithms

Representing algorithms

EasyMediumHard
123456789
Question 8

A server room security console allows log-in access to only two network administrators. Their credentials are shown in Table 1 below:

Table 1
UsernamePasscode
archer404N0tFnd
weaverS3cur3P@s

Develop an algorithm, using either pseudo-code or a flowchart, to authenticate logging into the console.

The algorithm must:

  • Prompt the user to enter their username and passcode.
  • Check if the username and passcode combination is correct.
  • If correct, output 'system unlocked'.
  • If incorrect, continually prompt the user to re-enter both their username and passcode until a valid combination is entered.
[6]
Markscheme

Representing algorithms Questions

  1. GCSE
  2. /Computer Science
  3. /Representing algorithms

208 exam-style questions on AQA GCSE Computer Science Representing algorithms. Each one has a worked solution and a mark scheme showing where the marks go.

Question bank