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
Rapunzel walks into the forest of forgetfullness. She meets a Lion who lies on Monday Tuesdays and Wednesdays and meets a rabbit who lies on Thurs fridays and saturdays . On that day both say that "I lied yesterday". What day is it .
void main() { //char ch; unsigned char ch; clrscr(); for(ch =0;ch<= 127; ch++) printf(" %c= %d \t ", ch, ch); } output?
List the difference between a "copy constructor" and a "assignment operator"?
What is indirect recursion? give an example?
Difference between macros and inline functions? Can a function be forced as inline?
0 Answers HAL, Honeywell, Zomato,
In this assignment you are asked to write a multithreaded program to find the duplicates in an array of 10 million integers. The integers are between -5000,000 to 5000,000 and are generated randomly. Use 10 threads, each thread works on 1000,000 integers. Compare the time needed to accomplish the task with single thread of execution program. Do not include the time to fill the array with integers in the execution time.
void main() { int x=25,y=32; clrscr(); x=x++ + y++; y=++x + ++y; printf("%d%d",x,y); }
what is real time system?what is the differance between hard and soft real time systems
What is the use of getchar() function?
write a recursive program in'c'to find whether a given five digit number is a palindrome or not
What is a shell structure examples?
What is a null string in c?