You are on page 1of 1

THE INSTITUTE OF FINANCE MANAGEMENT

Visual Programming – CSU_07310

Practical Exercises: The week starting 27th, November and 4th December, 2017

Problem: You are required to create a student registration number validator application using
Visual Basic.Net. Your application should prompt a user to enter a registration number (using an
input dialog box; e.g. IMC/BCS/16/69960) and determines whether it is valid or not by
displaying a message box to the user.

A program should finally display report (just a form) containing student details extracted from
the registration number, such as his current year of study, course, Gender and Campus.

NB: A valid registration number has the following characteristics;

1) For female numbers, the last digits start with 6

2) Total number of last digits must be exactly 5

3) The first portion should start with either IMC or UPA

4) The second portion be; BCS, BIT (just for simplification)

5) Fourth, eighth and eleventh characters should contain forward-slash.

You might also like