Skip to content

Course home

Programming concepts

Programming concepts

EasyMediumHard
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
Question 47

Write a Python program to authenticate an operator attempting to establish a connection to a remote Arctic telemetry drone.

The program should:

  • Prompt the user to enter their Operator ID.
  • Prompt the user to enter their Security Key.
  • Display the message Connection failed if the entered combination of Operator ID and Security Key is not valid.
  • Display the message Connection established if the entered combination is valid.
  • Repeat this process until a valid Operator ID and Security Key combination is entered.

You should use indentation as appropriate, meaningful variable names, and correct Python syntax in your answer.

Authorized Operator Credentials

Operator IDSecurity Key
SupervisorDr0n3_S9!
FieldTechIce_77%
[7]
Markscheme

Programming concepts Questions

  1. GCSE
  2. /Computer Science
  3. /Programming concepts

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

Question bank