7Medium
0/5

Write a C# program to set and confirm a new satellite downlink encryption key.

Your program must:

  • prompt for and get the user to input an encryption key
  • prompt for and get the user to input the encryption key a second time to confirm
  • output the message Key Verified and output the entered key if both inputs are identical
  • output the message Error: Key Mismatch if the entered keys do not match.

You should use meaningful variable name(s) and C# 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