BCA DBMS Preboard
BCA DBMS Preboard
7. A major goal of the db system is to minimize the number of block transfers between the
disk and memory. Which of the following helps in achieving this goal?
a) Secondary storage b) Storage
c) Catalog d) Buffer
9. Which of the following protocols ensures conflict serializability and safety from
deadlocks?
a) Two-phase locking protocol b) Time-stamp ordering protocol
c) Graph based protocol d) None of the mentioned
10. Consider money is transferred from (1) account-A to account-B and (2) account-B to
account-A. Which of the following form a transaction?
a) Only 1 b) Only 2
c) Both 1 and 2 individually d) Either 1 or 2
Bachelor of Computer Application
Course Title : Database Management System
Code No: CACS 255
Term: Preboard-term
Group B
Employees
EmpName Varchar Not Null
6. Discuss about materialized and pipelined evaluation of Query expression in Query optimization.
7. How Time-stamp ordering protocol is used to ensure concurrency control ?
Group C
Attempt the Questions [2*10=20]
8. Consider following databases and draw ER diagram and convert entities and relationships to relation
table for a given scenario.
COLLEGE DATABASE:
b. Add a new column PINCODE and DST_DATE with not null constraints to the existing table
DEPT
c. All constraints and views that reference the column DST_DATE are dropped automatically,
along with column.
6. Delete table