6Medium
0/5

Write a Python 3 program to register a new recovery passphrase for an encrypted backup drive.

Your program must:

  • prompt for and get the recovery passphrase from the user
  • prompt for and get the recovery passphrase a second time to confirm
  • output the message Backup Secured and output the entered passphrase if both inputs are identical
  • output the message Validation Failed: mismatch if the entered passphrases do not match.

You should use meaningful variable names and Python 3 syntax in your answer.

[5]

Input/output Questions

Practise AQA GCSE Computer Science Input/output with exam-style questions for GCSE Computer Science. 10 questions, matched to the AQA GCSE Computer Science (8525) specification and written in Paper 1 and Paper 2 style. Every question includes a full worked solution and mark scheme, so you can see where marks are awarded rather than just whether you got the answer right.

PreviousNext

Input/output Questions

  1. GCSE
  2. /Computer Science
  3. /Input/output