Skip to content

Course home

Programming concepts

Programming concepts

EasyMediumHard
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
Question 53

Write a VB.NET program to authenticate an employee's credentials for a secure server room.

The program should:

  • Prompt the user to enter an Employee ID
  • Prompt the user to enter a PIN Code
  • Display the message Invalid credentials if the Employee ID and PIN Code pair entered is not valid
  • Display the message Welcome if the Employee ID and PIN Code pair entered is valid
  • Repeat these steps until a valid Employee ID and PIN Code pair is entered.

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

Valid Credentials

Employee IDPIN Code
EMP1029942
EMP2051048
[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