DATABASE SYSTEMS Flashcards

0
Q

Explain the term data redundancy

A

Data redundancy is where you store an item of data more than once. A company may hold its data in differ files. This is wasteful because some data may need to be input twice and if data is changed in one it will need to be changed in the other.

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

Explain the term data consistency

A

Data consistency is the relationship between the input data, the processed data and the output data as well as other related data. If the system is working properly the data will be correct at each stage and is said to be consistent

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

Explain the term data integrity

A

Data integrity is the correctness of the data. Truthful, accuracy.

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

Explain the term data independence

A

Data independence is where the data and the applications/program’s used to access it are independent/separate.

New applications can be developed to access the data without changing the data./ new systems can still use existing data.

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

Describe what a data warehouse is?

A

(Large, archive, + used for decision making)

A database used to store an organisations historical data which is used by a MIS to extract information to help managers make decisions.

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

Explain what is meant by data mining?

A

(Trends, patterns or generating new information)

Data mining is the analysis of a large amount of data in a data warehouse to provide new information.

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

Explain what is meant by the term data normalisation

A

Normalisation is e process undertaken to ensure that a database has no redundant or inconsistent data.

Minimises duplication - allowing accurate processing of data and that the database has referential integrity.

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

Explain what is meant by a relational database

A

A large collection of data items and links between them structured in such a way that it allows it to be accessed by a number of different applications program’s.

A relational database is many databases or tables linked together by using primary and foreign keys as relationships.

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

What is a primary key?

A

A primary key is a field that is used to uniquely define a particular record or line/row in a table.

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

What is a foreign key?

A

A foreign key is a field of one table which is also the primary key of another. Foreign keys are used to establish relationships between tables.

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

Advantages of a distributed database

A
  1. Improved performance - quicker searches can be performed
  2. Less traffic on network if data is accessed on local database within the department
  3. Does not rely on one storage area
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Disadvantages of distributed databases

A
  1. More complex to set up, maintain and install
  2. Security risk because data is stored at different locations
  3. If network server fails data cannot be accessed from all databases
  4. Chance that data gets inconsistent because a high number of staff at different locations have access to data
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is a DBMS?

A

A database management system is a method of managing the interface between the data stored and the program’s that uses the data.

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

What are the uses of DBMS?

A
  1. Allow a number of users to access the same data and create work such as searches, reports, updating and delete files.
  2. Ensure that data is secure and protected.
  3. Create access procedures - some users will have access to certain files. Some access will be ‘read only’ or ‘write only’
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is a database?

A

A database is an organised collection of related data.

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

What is a flat file database?

A

A flat file database is a simple database that stores all data in a single file or table.

Can be stored in a text file, spreadsheet or in a database file that contains one or more unrelated tables.

16
Q

What are the problems with flat files?

A
  1. Data redundancy - large amounts of duplicated data, makes data entry slower, uses disk space/ memory, leads to other problems ….
  2. Reduced data integrity - more likely to be inaccurate, same data entered over and over - typing errors
  3. Difficult to update - if entries change then all instances have to be updated
  4. Security - all users have access to the same table/file/set of data
  5. Data dependence- user face (amongst other things) is tied to a specific file
17
Q

Advantages of using a relational database?

A
  1. Avoids data duplication - data stored once and linked by key fields
  2. Controlled redundancy - minimises data duplication, no repeating attributes
  3. Ensures data consistency - to all users
  4. Data independence - data stored separately from program’s so can add new fields because data is independent of the application which uses it
  5. Increased security -
  • password hierarchy - can create passwords to individual tables
  • DBMS can vote permissions - read only, write only etc.
  • data validation and verification techniques can be used
  • data is stored separately from program’s so different program’s cannot overwrite data
  1. Data integrity - specify constraints on the data to ensure it is in the correct format and range
  2. Easy to add new applications - without affecting stored data
  3. Flexibility - data drawn from different files can be combined in different ways, producing better quality information
  4. Greater efficiency -
  • data Inputted once - saves on time and human resources
  • memory space is less - saves on computer resources
18
Q

Disadvantages of relational databases

A
  1. Complex to set up and maintain
  2. Database software is large complex, expensive and requires powerful computers
  3. All applications which access the data will be affected if database fails
19
Q

Advantages to the company of a data warehouse?

A
  • can be mined
  • it allows the company to store all the details of what it has sold to every customers
  • the company can see who uses a loyalty card and exactly what they have bought and what method they used to pay for it
  • can compare information like the sickness data from different stores
20
Q

How might the company use data mining? (Example)

A
  • comparison with competitors
  • useful ‘what if’ results from modelling exercises
  • predictions for future sales
  • analysis of best sites for shops
21
Q

Explain how the data warehouse and data mining could be useful to a mail order company

A
  • the mail order company generates huge quantities of data
  • stored in a consistent order
  • to make interrogation more productive
    (Data warehousing)
  • is interrogating the date
  • investigates potential patterns
  • returned information can be tested for plausibility
    (Data mining)
22
Q

Advantages of distributed database

A
  • data used locally can be stored locally and network traffic kept to a minimum
  • if data lost on central site it could be rue duplicated from local site
  • allows sharing of the data and results of processing the data
  • new locations can be added to the database without the need for rewriting the entire database
23
Q

Disadvantages of distributed database

A
  • software more complex than a centralised database system
  • because data is transferred it presents more of a security risk by hackers
  • as all the data is not stored in one location if local site does not have adequate backup then this data might be lost to others
24
Q

Discuss the specific benefits that the EPR system would bring to medicine and the main concern about its use

A
  • if you were taken into any hospital anywhere in Britain they could call up your notes and see if you are for example on any medication. This can only lead to better diagnosis of patients problems and improve chances of survival.
  • computerising of patient records would create a huge database