Week 1 Flashcards

1
Q

What is a File-Based system?

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
2
Q

What is a Database System?

A

A collection of programs that interact with the database

Shared collection of logically related data + description, designed to meet needs of an organisation

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

What is the Database Management System (DBMS)?

A

DBMS are software systems that allow users to store, retrieve, and run queries on data

Users communicate with the DBMS which pulls require fields from the Shared Database

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

What are the 4 Roles in the Database Environment?

A
  1. Database Administrator (DBA) - Responsible for implementation and monitoring of the database
  2. Database Designer - Identify data, relationships with data, constraints on the data
  3. Application Developer - Use programming language to provide required functionality for the end-users
  4. End-User - Run applications to perform specific database operations
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are 3 Advantages of a DBMS?

A
  1. Data consistency
  2. Improved security
  3. Sharing of Data
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are 3 Disavantages of a DBMS?

A
  1. Complexity - complex pieces of software, require those operating to fully understand them
  2. Size Large piece of software which requires large amount of memory
  3. Cost of DBMS - DBMS cost varies it i for a single user or a big organisation
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is a Database Application?

A

A program that interacts with a Database at some point within its execution

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

What are the Advantages of File-Based Approach?

A

User Control:

End user has total control of the stored data

Can modify application or data at will

Applications and data file can be optimisied for particular tasks

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

What are the Disadvantages of File-Based Approach?

A

Data Duplication

Data Dependance

Incompatible File Formats

Proliferation of Application Programs (APPS)

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

What is Data Duplication?

A

Each student record is duplicated in each of the 3 files

A change in student details requires updates to all 3 files

Integrity of student records may be compromised if the files are not all updated

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

What is Data Dependance?

A

Suppose the University Registrar wishes to record additional student info, such as student term-time address

Then he would need to modify the student data records in her data file as well as to modify her application program so that it can handle the modified data records

In other words: any changes that leads automatically to application program modification

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

What is Proliferation of Apps?

A

In time, each of the 3 university officials might want to get more info from their data files than what they originally anticipated when they initially wrote the programs

To do so they would need to add more application programs to handle the new queries

This leads to a proliferation of files and application programs which each official has to handle

(proliferation = rapid increase in the number or amount of something)

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

How does the Database Approach address these limitations in the File Based Approach?

A

A shared database satisfying the requirements of the 3 officials is created

Access to this database is through a 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

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

How does the DBMS increase productivity?

A

DBMS provides all the low-level file-handling routines that are typically written in application programs

Also DBMS’s typically provide simple query languages enabling users to develop their own queries themselves

This reduces programming effort (typically translates to less programming needed and hence fewer programmers needed)

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