Cs 67 (p)s3

183 views

Published on

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
183
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
1
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Cs 67 (p)s3

  1. 1. No. of Printed Page :1 SET-3 BACHELOR IN COMPUTER APPLICATIONS (BCA) Term-End Practical Examination 02467 June, 2011 CS-67P:RDBMS LABTime allowed : 2 hours Maximum Marks : 75Note : There is one compulsory question in this paper carrying 50 marks. Rest 25 marks are for viva-voce. You may use any RDBMS for implementation. Make suitable assumptions, if any.1. A database management system is proposed to be developed to keep track of voters and their votes in an election. A voter is expected to vote for many positions in an election. The information that needs to be stored about a voter includes- Voter_ID, voter_Name, voter_date of birth, voter_address. In addition the positions for which candidate has to vote are recorded as : Position, Candidate name, Candidate application. A voter then is asked to select at most one candidate for each position. This information is also recorded in a separate table. A voter can vote only once. Perform the following activities for the system given above - (a) Design and implement the normalised relations/tables for the requirements given 20 above. You should include primary key in each table, validation checks and constraints including referential integrity constraints in your implementation. (b) Enter about 5-6 sets of meaningful data in each of the relation/table. 10 (c) Design and implement the following queries/forms/reports for the database : 20 (i) A form to enter information about a candidate for a position. (ii) A query through which a list of candidates for each position is displayed. (iii) A query that list all the positions for which election has been held. (iv) A query that determines the winner of the election for each position. (v) A report that lists the total number of voters who have taken part in the election.CS-67P/S3 1 4,000

×