You are on page 1of 1

Test Phase

Write a program in which you’ll create two classes named Person and User where
User (Child Class) will inherit from Person class (Base Class). The attributes of
Person class include information like First name, Last Name and address whereas;
attributes of User class will include email, password and User Type (Admin\Non
Admin).

All the information will be taken as input from user by using a graphical user
interface (Registration Form). You need to design the required interface using
HTML.

You need to insert the taken information into any database of your choice.

Create another graphical user interface (Sign-In form) in which user will enter
email and password.

On clicking the submit button on the interface, the program will match the input
data with database entries (added before) and prompt “Valid User” if data is found
in database otherwise prompt “Invalid User”. Make sure that exceptions are
properly managed in the program.

Note: You are allowed to use any server-side programming language (PHP, Java,
ASP.net etc.) to complete the above mentioned task.

You might also like