Database System Flashcards

(36 cards)

1
Q

Define a Database

A

an organised collection of related data

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

Define a database Management System (DBMS)

A

software that manages and controls access to the database

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

Define a Database Application

A

a program that interacts with the database at some point in its execution

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

Define a database system

A

a collection of programs that interacts with the database

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

Give an example as a super market as a database

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

Define an entity

A

what we store the data about
e.g. a person, an order etc

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

Define an attribute

A

for example if the entity was a person the attributes would be for example their hair colour their name etc. they describe entities

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

What is a file based system

A

A collection of application programs that perform services for the 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
9
Q

What is a database system

A

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

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

What are the advantages of the file based approach

A

User control
- end users has total control of the stored data
- Can modify application or data at will

Applications and data file can be optimised for particular tasks

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

What are the disadvantages of file based approach

A
  • DAta duplication\
  • data dependence
  • incompatible file formats
    proliferation of application programs (APPS)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Explain data duplication

A
  • Each student record is duplicated in each of the three files
  • Integrity of students records may be compromised if the files are not all updates
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Explain data dependence

A

suppose the university registrar wishes to record additional information:
any changes to data leads automatically to application program modification

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

Explain incompatible file formats

A

different application programs and data files may be incompatible

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

Define Database management system

A

A DBMS is a software system that enables the user to define, create, maintain, control access to the database

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

How does the database approach address this elimitations

A
  • A shared database satisfying the requirements of the three officials is created
  • Access to this database is through a database management System (DBMS)
  • When the officials need info from the database, they write queries in a special language (SQL) to communicate with the DBMS
  • They pass these queries to the DBMS which queries the database on their behalf and returns the results they require
17
Q

How would you get more information about data files

A

add more application programs to handle the new quires

18
Q

What are the roles in data base environment

A
  • Data base administrator
  • Database besigner
  • application developer
  • end user
19
Q

What is the role of the application developer

A

Use a programming language (such as Java or C++) to provide the required
functionality for the end-users.

20
Q

Database administrator

A

responsible for implementation and monitoring of the database

21
Q

What is the role of the end user

A

run applications to perform specific database operations

22
Q

Name a few advantages of DBMS

A

Control of data redundancy
* Data Consistency
* Sharing of Data
* Improved data integrity
* Improved Security
* Enforcement of Standards
* Economy of Scale
* Balance of conflicting requirements
* Improved data accessibility and responsiveness
* Increased Productivity
* Improved maintenance through data independence
* Increased concurrency
* Backup and Recovery services

23
Q

Explain how data redundancy is an advantage of DBMS

A

Since all data is now stored in a single database, there are no unnecessary multiple copies of some data

24
Q

Explain how data consistency is an advantage of DBMS

A

Since only one copy of each data item is stored, then any changes to the data item needs to be done on only one item

25
explain how sharing of data is an advantage of DBMS
Since the data is common to the organisation, it is easy for all authorised users to have access to the same data
26
explain how improved data integrity is an advantage of DBMS
Since organisational data is stored in one place, it is easy to enforce consistency rules that should not be violated
27
explain how improved security is an advantage of DBMS
The database administrator can easily put in place security and access measures simply by enforcing these using the DBMS
28
how is enforcement standards an advantage of DBMS
since all data is in the same database, it is easy to enforce data standards such as data formats etc
29
Explain how economy of scale is an advantage of DBMS
Combining the entire organisation’s data into one database and creating a set of applications that work on this one source results in cost savings
30
Explain how having one database can be beneficial
database administrator has an organisation-wide view of all operations, he/she can optimise the design and operational use of the database to provide the best use of resources for the organisation as a whole
31
Explain how DBMS provides improved data accessibility and responsiveness
- A common database provides easy data access to all the authorised people within the organisation * In addition the DBMS provides a simplified query language to enable end- users to easily construct ad hoc queries without detailed programming knowledge
32
how is there increased productivity due to DBMS
reduced programming effect and simple query languages
33
How does DBMS improve maintenance and data independence's
- DBMS separates data management from the application programs - DBMS will provide the necessary mappings between applications programs and data stores on the database
34
Explain and define increased concurrency as a result of a DBMS
Many DBMSs allow users to access the database simultaneously without any conflict
35
How is back and recovery services an advantage of DBMS
DBMS have facilities to enable data recovery following a failure * they can also automatically backup the data stored in the database
36
What are the disadvantages of DBMS
- Complexity (require lots of knowledge + expertise) - Size (requires lots of memory) - cost of DBMS (e