Write a program to maintain student’s 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 user’s 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
user’s type.


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

which of the following is allowed in a "C" arithematic instruction a) [] b) {} c) () d) none of the above

0 Answers  


What is c variable?

0 Answers  


what are two categories of clint-server application development ?

1 Answers  


What are enums in c?

0 Answers  


Tell me is null always defined as 0(zero)?

0 Answers  






Write a c program to read a positive number and display it in words.? ex: 123=one two three help me....

2 Answers  


Can we assign string to char pointer?

0 Answers  


what is computer engg

1 Answers  


Draw a diagram showing how the operating system relates to users, application programs, and the computer hardware ?

0 Answers  


A program to allow an input operand and operator from the operator and read on the display and output operand.

0 Answers  


Which of the following sorts is quickest when sorting the following set: 1 2 3 5 4 1) Quick Sort 2) Bubble Sort 3) Merge Sort

7 Answers  


what is c

4 Answers  


Categories