CSE301 Sheet1+Solutions
CSE301 Sheet1+Solutions
1
7. Name the five phases of the traditional systems development life cycle, and
explain the purpose and deliverables of each phase.
11. State the types of relationships; give at least two examples for each?
12. State briefly with net graph the components of the database environment
2
Course Name: Database Systems Course Code: CSE301
d. Constraint
A rule that cannot be violated by database users.
e. Database
A database is an organized collection of logically related data, usually designed to
meet the information needs of multiple users in an organization.
f. Entity
A person, a place, an object, an event, or a concept in the user environment about
which the organization wishes to maintain data.
3
The SDLC is a complete set of steps that a team of information systems
professionals, including database designers and programmers, follow in an
organization to specify, develop, maintain, and replace information systems.
i. Prototyping
An iterative process of systems development in which requirements are converted
to a working system that is continually revised through close work between analysts
and users.
j. Enterprise data model
The first step in database development, in which the scope and general
contents of organizational databases are specified.
The enterprise data model is a graphical model that shows the high-level
entities for the organization and the relationships among those entities.
Enterprise data model is represented with the help of a E-R diagram that
shows the entities, attributes, relations, connectivity and cardinalities.
a. Data dependence; data independence. With data dependence, data descriptions are
included with the application programs that use the data, while with data
independence the data descriptions are separated from the application programs.
b. Structured data; unstructured data. Structured data refers to facts related to objects
and events of importance in the user’s environment and represent the traditional data
that is easily stored and retrieved in traditional databases and data warehouses.
4
Unstructured data refers to multimedia data, such as images, sound and video
segments or to unstructured textual data. All these types of data are now stored as part
of the user’s business environment.
c. Data; information. Data consist of facts, text, and other multimedia objects, while
information is data that have been processed in such a way that it can increase the
knowledge of the person who uses it.
e. Entity; enterprise data model. An entity is an object or concept that is important to the
business, while an enterprise data model is a graphical model that shows the high-
level entities for the organization and the relationship among those entities.
f. Systems development life cycle; prototyping. Both are systems development processes.
The SDLC is a methodical, highly structured approach that includes many checks and
balances. Consequently, the SDLC is often criticized for the length of time needed
until a working system is produced, which occurs only at the end of the process.
Increasingly, organizations use more rapid application development (RAD) processes,
which follow an iterative process of rapidly repeating analysis, design, and
implementation steps until you converge on the system the user wants. Prototyping is
a widely used method within RAD. In prototyping, a database and its applications are
iteratively refined through a close interaction of systems developers and users.
g. Enterprise data model; conceptual data model. In an enterprise data model, the
range and contents of the organizational databases are set. Generally, the enterprise
data model represents all of the entities and relationships. The conceptual data model
extends the enterprise data model further by combining all of the various user views
and then representing the organizational databases using ER diagrams.
5
h. Prototyping; Agile software development. Prototyping is a rapid application
development (RAD) method where a database and its application(s) are iteratively
refined through analysis, design, and implementation cycles with systems developers
and end users. Agile software development is a method that shares an emphasis on
iterative development with the prototyping method yet further emphasizes the people
and rapidity of response in its process.
A conceptual schema defines the whole database without reference to how data are stored
in a computer’s secondary memory. A user view (or external schema) is also independent
of database technology, but typically contains a subset of the associated conceptual
schema, relevant to a particular user or group of users (e.g., an inventory manager or
accounts receivable department). An internal schema consists of both a physical schema
and a logical schema. A logical schema consists of a representation of the data for a type
of data management technology. For example, if the relational model is the technology
used, then the logical schema will consist of tables, columns, rows, primary keys, foreign
keys and constraints. A physical schema contains the specifications for how data from a
logical schema are stored in a computer’s secondary memory.
7. Name the five phases of the traditional systems development life cycle,
and explain the purpose and deliverables of each phase.
i. Planning;
To develop a preliminary understanding of a business situation and how
information systems might help solve a problem or make an opportunity
possible.
ii. Analysis;
To analyze the business situation thoroughly to determine requirements,
to structure those requirements, and to select among competing system
features.
7
iii. Design;
To elicit and structure all information requirements; to develop all
technology and organizational specifications.
iv. Implementation;
To write programs, build databases, test and install the new system, train
users, and finalize documentation
v. Maintenance;
To monitor the operation and usefulness of the system, and to repair and
enhance the system
8. State briefly the disadvantages of file processing system
Program-Data Dependence
– All programs maintain metadata for each file they use
Data Redundancy (Duplication of data)
– Different systems/programs have separate copies of the same data
Limited Data Sharing
– No centralized control of data
Lengthy Development Times
– Programmers must design their own file formats
Excessive Program Maintenance
– 80% of information systems budget
12. State briefly with net graph the components of the database environment
i. CASE Tools – computer-aided software engineering
ii. Repository – centralized storehouse of metadata
iii. Database Management System (DBMS) – software for managing the
database
iv. Database – storehouse of the data
v. Application Programs – software using the data
vi. User Interface – text and graphical displays to users
vii. Data Administrators – personnel responsible for maintaining the
database
viii. System Developers – personnel responsible for designing databases and
software
ix. End Users – people who use the applications and databases
9
13. Three-schema architecture:
a. external schema
b. conceptual schema
c. internal schema
10