3 Level Architecture Flashcards

1
Q

What are the 2 main reasons for the 3LA?

A

Data Abstraction and Data Independance

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Define Data Abstraction…

A

Architecting the database in such a way that the end users can’t view or interact directly with the internal level, but can only see the views on the external level.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Define Data Independence…

A

The property that data is stored independently from the rest of the model. This means that data and configuration of levels can be modified without effecting other levels.
Logical Independence - The separation of the External and Conceptual level, meaning the external level can be changed without effecting the internal level.
Physical Independence - The separation of the Internal and Conceptual level, meaning the physical level can be changed without effecting the end users.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are the main benefits of Data Abstraction?

A

Security - Users can only access their allocated data from the database.
Reduce Complexity - Reduces the complexity of the database for the users, only showing them relevant data.
Customisable - Views enable users to have a tailored view of the database to see data relevant to them.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Define the Internal Level

A

Consists of the technical structuring of the database. This includes which data structures are used as storage, which hardware to use, security measures etc.
Focuses on HOW the data is stored.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Define the Conceptual Level

A

Provides a conceptual mapping of the data stored in the internal level. Shows the data, data descriptions and the logical constraints. This level provides mapping to the internal and external levels, and is the enabler of the abstraction and independence properties.
Focuses on WHAT data is stored.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Define External Level

A

The user facing level which provides the views that users use to view and interact with the data base.
Focuses on the WAY in which the data is presented to the users.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

In what way does the External Level map to the Conceptual Level?

A

In a many to one way.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Define Database Schema

A

Refers to the logical design of the database. This is relatively static and is defined the design stage.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Define Database State

A

Refers to the state of the database at any given time. This is dynamic, and changes in accordance with the changes of data instances held in the database.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is a Data Model?

A

A collection of concepts that enable a high level interpretation of the database. This makes the database schemas more readable for users.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What are the 3 types of Data Models?

A

Object-orientated : Consists of Objects (entities), attributes, relationships and constraints. These include ER models and semantic models.
Record-based : Consist of tables with records and attributes, each row is known as a tuple. Each column is an attribute. These include the relational model, network model and hierarchical model.
Physical models : Physical representations of the database.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What are the 3 types of Data Models?

A

Object-orientated : Consists of Objects (entities), attributes, relationships and constraints. These include ER models and semantic models.
Record-based : Consist of tables with records and attributes, each row is known as a tuple. Each column is an attribute. These include the relational model, network model and hierarchical model.
Physical models : Physical representations of the database.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly