Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

What are the advantages of the functions?

0 Answers  


Discuss similarities and differences of Multiprogramming OS and multiprocessing OS?

4 Answers   TCS,


for questions 14,15,16,17 use the following alternatives:a.int b.char.c.string.d.float

1 Answers  


Is calloc better than malloc?

0 Answers  


#define min((a),(b)) ((a)<(b))?(a):(b) main() { int i=0,a[20],*ptr; ptr=a; while(min(ptr++,&a[9])<&a[8]) i=i+1; printf("i=%d\n",i);}

3 Answers  


What are the differences between Structures and Arrays?

0 Answers   TCS,


how can f be used for both float and double arguments in printf? Are not they different types?

0 Answers  


Why malloc is faster than calloc?

0 Answers  


Diff: between this 2 classes in terms of memory class A { int i; char c; double d; }; class A { double d; int i; char c; }; How it is calculating?

1 Answers   HCL,


Write a program to exchange two variaables without temp

9 Answers   Geometric Software,


a=(1,2,3); b=1,2,3; c=1,(2,3); d=(1,2),3; what's the value of 'a','b','c','d'

2 Answers  


Read N characters in to an array . Use functions to do all problems and pass the address of array to function. 2. Enter alphanumeric characters and form 2 array alphaets and digits.Also print the count of each array.

0 Answers  


Categories