Reference no: EM133105897
Part A
Question 1. What are the security implications of implementation of database systems in organizations, and how can they be addressed?
Question 2. Explain the term ACID as used in database systems.
Question 3. Construct ER Diagram for hospital with a set of patients and a set of medical doctors. Associate with each patient a log of the various tests and examination conducted. State any assumptions that you have made.
Question 4. Explain THREE different cardinalities between entities, showing the constraints that may exist. Use Question 3 (a) to illustrate.
Question 5. What is type check constraint as used in DBMS? Explain with examples.
Part B
Question 1: Explain the following the term integrity constraints as used in DBMS. Give suitable examples.
Section B
1. Write SQL statements to perform the following tastes
Customer table
P.D
|
LAST Name
|
First Name
|
Address
|
City
|
1
|
Hanset
|
Olap
|
345
|
Thika
|
2
|
Standson
|
Tore
|
346
|
Nairobi
|
3
|
Pettarson
|
Kare
|
|
|
2. Select customer table.
3. Retrieve last name and first name where city is Nairobi
• To update address and city where PID = 3.
4. To insert a row with (4, Mike, John, 243, Embu).
5. What is a table in 3NF?