Showing posts with label DATABASE MANAGEMENT SYSTEMS. Show all posts
Showing posts with label DATABASE MANAGEMENT SYSTEMS. Show all posts

Tuesday, November 3, 2015

Purpose and functions of Database Management Systems

·         Data redundancy is found- the presence of duplicate data in multiple data files
e.g. Customer Name, NI number, Address is present in several different files on several different systems. Errors are generated, time entering data is wasted.
·         Data inconsistency will become a problem
 e.g. information is duplicated in each system and may be updated in most systems but not necessarily in all – the savings account and loan account may have different addresses for a particular customer.
·         Lack of data independence.
In the bank imagine cases where any change in data format or structure requires a change in all the programs that access the data.
e.g. effort required to change from 3-digit STD to 4-digit STD may be very difficult.
·         Data lacks integrity
This is the quality by which information from the system can be trusted.
·         Lack of flexibility
Creating reports
e.g. in this system a summary of account balances in each separate account would require separate reports for each open account or cutting and pasting into a word processor file – not a satisfactory state of affairs.
·          Data not shareable. Similarly if different departments want to access data this would be very awkward.

Tuesday, October 27, 2015

RELATIONAL MODEL

1. Define the terms i) DDL ii) DML
DDL: Data base schema is specified by a set of definitions expressed by a special language
called a data definition language.
DML:
A data manipulation language is a language that enables users to access or manipulate data as organized by the appropriate data model
2. What is embedded SQL? What are its advantages? April/May-2011
Embedded SQL is a method of combining the computing power of a programming language and the database manipulation capabilities of SQL. Embedded SQL statements are SQL statements
written in line with the program source code of the host language. The embedded SQL
statements are parsed by an embedded SQL preprocessor and replaced by host-language calls to
a code library. The output from the preprocessor is then compiled by the host compiler. This allows programmers to embed SQL statements in programs written in any number of languages such as: C/C++, COBOL and Fortran
3. Write short notes on relational model

The relational model uses a collection of tables to represent both data and the relationships
among those data. The relational model is an example of a record based model.
4. Define tuple and attribute
Attributes: column headers
Tuple : Row
5. Define the term relation.
Relation is a subset of a Cartesian product of list domains.

Friday, October 23, 2015

DATABASE MANAGEMENT SYSTEMS

1. Who is a DBA? What are the responsibilities of a DBA? April/May-2011
A database administrator (short form DBA) is a person responsible for the design, implementation, maintenance and repair of an organization's database. They are also known by
the titles Database Coordinator or Database Programmer, and is closely related to the Database
Analyst, Database Modeller, Programmer Analyst, and Systems Manager.
The role includes the development and design of database strategies, monitoring and improving database performance and capacity, and planning for future expansion requirements. They may also plan, co-ordinate and implement security measures to safeguard the database
2. What is a data model? List the types of data model used. April/May-2011
A database model is the theoretical foundation of a database and fundamentally determines in
which manner data can be stored, organized, and manipulated in a database system. It thereby defines the infrastructure offered by a particular database system. The most popular example of a database model is the relational model.
Types of data model used
Ø Hierarchical model
Ø Network model
Ø Relational model
Ø Entity-relationship
Ø Object-relational model
Ø Object model

 3. Define database management system?
Database management system (DBMS) is a collection of interrelated data and a set of programs to access those data.
4. List any eight applications of DBMS.
a) Banking
b) Airlines
c) Universities
d) Credit card transactions e) Tele communication
f) Finance g) Sales
h) Manufacturing
i) Human resources
5. What are the disadvantages of file processing system?
The disadvantages of file processing systems are
a) Data redundancy and inconsistency b) Difficulty in accessing data
c) Data isolation
d) Integrity problems
e) Atomicity problems
f) Concurrent access anomalies