Skip to content
MathsGenie logo
Open app

Course home

  1. GCSE
  2. Computer Science AQA
  3. Question bank

Programming concepts

EasyMediumHard
1234567891011121314151617181920212223
Question 15

Write a VB.NET program to authorize an orbital shuttle's docking credentials.

The program should:

  • Prompt the user to enter a Registry Number
  • Prompt the user to enter a Clearance Code
  • Display the message Docking denied if the Registry Number and Clearance Code pair entered is not valid
  • Display the message Docking clearance approved if the Registry Number and Clearance Code pair entered is valid
  • Repeat these steps until a valid Registry Number and Clearance Code pair is entered.

You should use meaningful variable name(s) and VB.NET syntax in your answer.

Valid Credentials

Registry NumberClearance Code
SUT-4098821
SUT-7123094
[7]

Programming concepts Questions

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