Skip to content

Course home

Programming concepts

Programming concepts

EasyMediumHard
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
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]
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