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 is volatile in c language?

2 Answers   HCL, TCS,


What is a Deque?

2 Answers  


Write a pro-gramme to determine whether the number is even or odd?

1 Answers  


write a c program to find the square of a 5 digit number and print the result.

5 Answers   Accenture, Sasken, Vimukti Technologies,


program for following output using for loop? 1 2 3 4 5 2 3 4 5 3 4 5 4 5 5

8 Answers   Infosys,


Difference between strcpy() and memcpy() function?

0 Answers  


I didn't count the ducks that I saw in line, but I do remember that one duck was in front of two ducks, another duck behind two ducks. How many ducks did I see?

2 Answers  


Explain what are preprocessor directives?

0 Answers  


what is the disadvantage of using macros?

1 Answers   Wipro,


how can i make a program with this kind of output.. Enter a number: 5 0 01 012 0123 01234 012345 01234 0123 012 01 0

4 Answers   Wipro,


in a town the percentage of men is 52 the percentage of total literacy is 48 if total percentage of literate men is 35 of the total population write a program to find the total no of the literate men and women if the population of the town is 80000

3 Answers  


What is double pointer?

0 Answers  


Categories