0% found this document useful (0 votes)
37 views

Information Is Changed Back To The Actual Information)

This document outlines a student record management program with different user types (Admin, Super Admin, Guest). It describes creating encrypted user accounts during initial setup and authenticating users on launch. The record file structure is also defined, containing fields like registration number, name, courses, etc. Functions are to be written separately for each required functionality according to the user type's allowed operations on records.

Uploaded by

Engr Fawad Wali
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
37 views

Information Is Changed Back To The Actual Information)

This document outlines a student record management program with different user types (Admin, Super Admin, Guest). It describes creating encrypted user accounts during initial setup and authenticating users on launch. The record file structure is also defined, containing fields like registration number, name, courses, etc. Functions are to be written separately for each required functionality according to the user type's allowed operations on records.

Uploaded by

Engr Fawad Wali
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Write a program to maintain students record. Record should not be available to any unauthorized user.

There are three (3) categories of users. Each user has its own type. It depends upon users type that which kind of operations user can perform. Their types and options are mentioned below: 1. Admin

(Search Record [by Reg. No or Name], View All Records, Insert New Record, Modify Existing Record) 2. Super Admin

(Search Record [by Reg. No or Name], View All Records, Insert New Record, Modify Existing Record, Delete Single Record) 3. Guest

(Search Record [by Reg. No or Name], View All Records)

When first time program runs, it asks to create accounts. Each user type has only 1 account (which means that there can be maximum 3 accounts). In account creation, following options are required:

Login Name: <6-10 alphabets long, should be unique> Password: <6-10 alphabets long, should not display characters when user type> Confirm Password: <must match with the Password, should not display characters when user type> Account Type: <One character long, A or S or G where A for Admin, S for Super Admin, G for Guest>

Login Name, Password and Account Type should be stored in a separate file in encrypted form. (Encryption means that actual information should be changed and Decryption means that Encrypted information is changed back to the actual information)

If any of the above mentioned requirement(s) does not meet then point out mistake and ask user to specify information again.

When Program is launched with already created accounts, it will ask for user name and password to authenticate. On successful authentication, give options according to the users type.

Students Record A separate file should contain Student Record. Student Record should contain following fields:

Registration No., Name, Fathers Name, Date of Birth, E-mail ID, Phone Number, CNIC, Courses [Courses will be entered with course code separated with comma, e.g. CSC103,EEE121,HUM110, MTH104,HUM100]

Instructions: Write function for each functionality separately Name your source code with following format: your_registration_number.c (not .cpp) for example, FA12-BET-999.c Marks will be deducted if indentation is not done properly in the code. Note: Marks will be deducted if instructions are not followed!

You might also like