Amanda - Dbms
Amanda - Dbms
Information Technology
CS/ SE/ IT 1105
Database Management Systems
Tutorial 03
Computerized
Controlled Redundancy
Data consistence
Flexibility
Unlimited data sharing
High enforcement of standards
No extensive program maintenance
1
Bachelor of Science (Hons) in Computer Science | Software Engineering &
Information Technology
CS/ SE/ IT 1105
Database Management Systems
6.
a) What is known as the ANSI/SPARC model? Give another name for the ANSI/SPARC model.
Logical Schema
Physical Schema
Database
External level – Provides different views of the same database for a specific user or group of
users
Logical Schema- It explains what data to be stored in the database, what the data types are and
what relationships exist among those data.
Physical Schema- It describes how the data is stored in the database and provides methods to
access data from the database
Improved Scalability
e) What do you mean by logical data independence and physical data independence?
Physical data independence is concerned mainly on how data is stored in a given system
Logical Data Independence is concerned mainly with the changing definition of the data in a
system or its structure as a whole
2
Bachelor of Science (Hons) in Computer Science | Software Engineering &
Information Technology
CS/ SE/ IT 1105
Database Management Systems
yes
8. Think of a DB of a bank.
b) In the three-schema architecture where would you put details about above data?
Logical Schema
c) In the three-schema architecture which schema describes details about the type of file
organization used to store the above data?
“In Health Plus Hospital an admitted patient is assigned for a specific doctor for examination.
One doctor is assigned with many patients”
d) Draw an ER diagram.
Assumptions
Assumed that all hospitals have a unique hospital code
Assumed that examination details of the patient have to be recorded
4
Bachelor of Science (Hons) in Computer Science | Software Engineering &
Information Technology
CS/ SE/ IT 1105
Database Management Systems
10. At Saegis degree courses are conducted. Students can enroll in degree courses. They have
to follow many units/subjects for a particular degree program. There is a well-qualified
academic staff to teach.
Assumptions
5
Bachelor of Science (Hons) in Computer Science | Software Engineering &
Information Technology
CS/ SE/ IT 1105
Database Management Systems
“Manufacturer orders parts from suppliers. A given manufacturer can order a particular
part from many suppliers”
Assumption
Assumed that one manufacturer can deal with many suppliers
A supplier can supply many parts
Each part has a unique name
6
Bachelor of Science (Hons) in Computer Science | Software Engineering &
Information Technology
CS/ SE/ IT 1105
Database Management Systems
Rosell, 23 years old, a diploma holder who is residing at 54/A, Kirula Road, Narahenpita
joined the company as a management trainee. She joined the Production department on
01/01/2005. When Rosell successfully completed her Commerce degree, she was
promoted as Finance Executive and transferred to the Finance department from
02/02/2006.
Considering her MBA qualification, the management of the company promoted her as
Assistant Manager - Business Development and transferred to the Business Development
department with effect from 03/03/2008.
7
Bachelor of Science (Hons) in Computer Science | Software Engineering &
Information Technology
CS/ SE/ IT 1105
Database Management Systems
8
Bachelor of Science (Hons) in Computer Science | Software Engineering &
Information Technology
CS/ SE/ IT 1105
Database Management Systems
9
Bachelor of Science (Hons) in Computer Science | Software Engineering &
Information Technology
CS/ SE/ IT 1105
Database Management Systems
10
Bachelor of Science (Hons) in Computer Science | Software Engineering &
Information Technology
CS/ SE/ IT 1105
Database Management Systems
d) “The company has a medical scheme which covers the dependents of employees.
Dependents are identified by their names. Once an employee leaves the company,
the company no longer wants to keep his/her information”.
11
Bachelor of Science (Hons) in Computer Science | Software Engineering &
Information Technology
CS/ SE/ IT 1105
Database Management Systems
12
Bachelor of Science (Hons) in Computer Science | Software Engineering &
Information Technology
CS/ SE/ IT 1105
Database Management Systems
Assumption
Assumed that through the descriptive attribute employmnt_duration we can figure out
who has left the company and delete that employee’s information.
13