Professional Documents
Culture Documents
School: LHST Department: Computer Application Name of the faculty member: Harjinder Kaur Course No: CAP255 Course Title: Management of database Class: BCA(h) Term: Section: A3001 Batch:2010 Max. Marks: 5 Date of Allotment: 30th march2011 Date of Submission: 8th april2011
Part-A
Q. 1. Which of the schedules below (if any) is conflict serializable? For each serializable schedule, show an equivalent serial schedule. Schedule 1 T1: write(A) T1: read(F) T2: write(B) T3: increment(C) T1: increment(E) T4: increment(E) T2: read(F) T4: read(D) T3: read(A) T4: write(B) T2: write(C) T1: increment(D) T3: read(F) T2: increment(E) Schedule 2 T2: write(B) T1: write(A) T2: read(F) T3: increment(C) T4: increment(E) T1: read(F) T2: increment(E) T1: read(D) T4: write(B) T2: write(C) T3: read(A) T4: increment(D) T1: increment(E) T3: read(F) Q. 2. Explain the significance of the Normalization by giving example of railway reservation database? Q. 3 Show different states of a transaction with the help of diagram. Consider any system of your choice to exemplify states. Part-B Q. 4. Why the relations should not have Transitive Dependency, illustrate with real life example. Q. 5. Giving suitable examples, highlight what is the need of BCNF form and 4th normal form? Q. 6. Give an example program to explain the concept of functions in PL/SQL, explain its various types.