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
Why can’t we compare structures?
what is difference between getchar,putchar functions and printf and scanf function? does putchar show output only when input given to it
What is a scope resolution operator in c?
being a chemical engineer and with an aggregate of 80% why you opt for TCS and not your core industry?
Explain what is gets() function?
1. Can we use the for loop this way? for(;i>5;) 2. What is the use of pointers? 3. what is array of pointer? 4. What is the difference between file and database? 5. Define data structure?
Program to write some contents into a file using file operations with proper error messages.
What does emoji p mean?
What is the use of bit field?
write a program which counts a product of array elements lower than 10.
program in c to print 1 to 100 without using loop
What is the output of the following progarm? #include<stdio.h> main( ) { int x,y=10; x=4; y=fact(x); printf(“%d\n”,y); } unsigned int fact(int x) { return(x*fact(x-1)); } A. 24 B. 10 C. 4 D. none