RECALL Flashcards

1
Q

What is a file-based system?

A

Is a collection of application programs that perform services for end-users. Each program defines and manages its own data.

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

What are limitations of file-based systems?

A

Duplication of data.
Data independence.
Incompatible formats.
Separation and isolation of data.

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

What is a database?

A

A shared collection of data and a description of the data, designed to meet to information needs of an organisation.

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

What does a system catalog provide?

A

Provides a description of the data to enable program data independence.

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

What is a Database Management System (DBMS)?

A

A system that enables users to create, manipulate, maintain a database.

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

What is Data Definition Language? (DDL)

A

Allows database administrators and users to define and name entities, attributes and relationships.

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

What is Data Manipulation Language? (DML)

A

Allows basic manipulation operations on the data in the database.

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

There a three major components of the DBMS environment. What are these three?

A

Machine, bridge, human.

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

Relating to machine, bridge and human, what does each of these involve?

A

Hardware = A pc or a network of pc’s.
Software = DBMS, operating system, network software, application program.
Data
Procedures = A set of instructions and rules that should be applied to the database and DBMS.
People

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

What is the purpose of views?

A

Allows each user to have their own view of the database.

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

What are some purposes of views?

A

Provide powerful and flexible security.
Allow users to have a customizable view of the database.
Can simply complex operations.

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

What are some advantages of DBMS?

A
Sharing of data.
Improved concurrency.
Improved security.
Backup and recovery services.
Increased productivity.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What are some disadvantages of DBMS?

A

Complexity.
Size.
Cost.
Higher impact of failure.

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

What are the objectives of three-level architecture?

A

All users should be able to access the same data.
Users view should be immune to changes in other views.
Database administrator should be able to make changes in the storage structure and conceptual schema without affecting the users view.

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

What are the three levels of three-level architecture? Describe them

A

External view = Users view of the database and describes the part of the database relevant to the user.
Conceptual view = Communities view of the database and defines data’s and what data is being stored
Internal view = Physical representation of the database.

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

What is procedural DML?

A

Allows users to tell the system exactly how to manipulate data.

17
Q

What is non-procedural DML?

A

Allows users to state what data is needed.

18
Q

What is a data model and what is its purpose?

A

Is a collection of concepts describing the data, relationships between data and the constraints on the data. Its purpose is to represent the data in an understandable way.

19
Q

What is a relational model?

A

A table with column and rows.

20
Q

What does ‘attribute’ mean?

A

Named column.

21
Q

What is a domain?

A

A set of allowable values for one or more attributes.

22
Q

What is a tuple?

A

A row.

23
Q

What does degree mean?

A

The number of attributes in a relation.

24
Q

What does cardinality mean?

A

The number of tuples in a relation.

25
Q

What are some properties of relations?

A

Relation name is distinct from other relation names
Each cell of relation contains only one single value
Each attribute has a distinct name
No duplicate tuples
Values of an attribute are all from the same domain
Attribute and tuple order have no real significance

26
Q

There are 5 types of keys. Name them.

A

Super key, primary key, alternate key, candidate key, foreign key.

27
Q

What does the term multiplicity mean?

A

Number of possible occurrences of an entity type that may relate to a single occurrence of an associated entity type.

28
Q

What are the two types of traps in ER models.

A

Fan trap, chasm trap

29
Q

What is normalization?

A

A technique for producing a set of suitable relations that support the database requirements.

30
Q

What are some benefits of normalization?

A

Easier for the user to access and maintain data.

Take up minimal storage space on the computer.

31
Q

What are some characteristics of a suitable set of relations?

A

Minimal number of attributes necessary to support the data.
Attributes with a close logical relationship are found in the same relation.
Reduces redundancies in design.

32
Q

What is the point of normalization?

A

To determine if you gave redundancies in your design. Therefore a normalize design of your database will have less redundancies.

33
Q

What is unnormalized form?

A

A table the contains one or more repeating groups.

34
Q

What is First Normalized Form (1NF)?

A

A relation in which the intersection of each row and column contains one and only one value.

35
Q

What is Second Normal Form? (2NF)?

A

A relation that is 1NF and every non-primary-key attribute is fully functional dependent on the primary key.

36
Q

What is Third Normal Form (3NF)?

A

A relation that is 1NF and 2NF and which no non-primary-key is transitively independent on the primary key.