Database Approach & Conceptual Issues Flashcards
What is a File-Based system?
A collection of application programs that perform services for end users. E.g reports Each program defines and manages its own data
What are the limitations of using the File-Based approach?
- each program maintains its own set of data, so users of one program may be unaware of useful data help by other programs
- same data is held by different programs, wasting space and different values or formats for same item
- file structure is defined in program code
- program is written in different languages, so cannot easily access other files
What is Database?
A shared collection of logically related data, along with its description designed to meet information needs for an organisation.
Why use Database approach?
- definition of data is embedded in application programs rather than being sorted separately and independently.
- no control over access and manipulation of data beyond imposed by application programs
What is a Database Management System?
A software system that enables users to define, create, maintain and control access to database.
What is “Views”?
A feature that allows each user to have their own view of the database.
What are the advantages of Database Management System?
- reduce complexity
- provide a level of security
- provide mechanism to customize the appearance of the database
- present consistent, unchanging picture of database structure, even if underlying database is changed
What are the components of DBMS?
Hardware
Software
Data
Procedures
What is the Hardware component?
ranges from a PC to a network of computers
What is the Software component?
DBMS, OS, Network Software and application programs.
What is the Procedure component?
Instructions and rules applied to the design and use of the database and DBMS
What are the roles in Database Environment Users?
Application Programmers Sophisticated Users Specialized Users Stand-alone Users Native Users
What is the Application Programmer role?
Developers who interact with the database by means of DML queries, which are written in application programs such as C++, C, Java etc. The queries convert into an object code to communicate with databases.
Give an example of what an Application Programmer does.
Writing a C program to generate a report of employees who work in certain departments require a query to get h data from a database, which includes SQL query with C program.
What is the Sophisticated User role?
Database developers who write SQL queries to select/insert/delete and update data. They do not use applications or programs to request for database. They directly interact with databases by means of query language like SQL.