Академический Документы
Профессиональный Документы
Культура Документы
DATABASE MANAGEMENT
SYSTEM
ASSIGNMENT#01
9/22/2019
DATABASE MANAGEMENT SYSTEM ASSIGNMENT-01
QUESTION#01
ANSWER:
A database is a collection of data. It is basically a software
which is used to maintain database whereas file system is
software which is used for organizing data.
Following are some advantages for data base management
system:
Data independence.
Data access
Data integrity and security
Concurrency control
Crash recovery
QUESTION#02
ANSWER:
Page | 3
DATABASE MANAGEMENT SYSTEM ASSIGNMENT-01
QUESTION#03
ANSWER:
Scrooge Mcnugget wants a database to store information
using a standalone application on his PC. Basic requirements
are:
SECURITY FACILITY: His database requires security
facilities to avoid intruders to access his PC and to avoid the
miscue of the data.
Page | 4
DATABASE MANAGEMENT SYSTEM ASSIGNMENT-01
QUESTION#04
PART A:
Transactions of different users are interleaved to
improve the performance of the system, when a particular
user transaction is waiting for a task to be completed, instead
of wasting the CPU or system time another user transaction is
executed meanwhile.
Due to interleaved transactions CPU of the system is never
idle, resulting in better throughput, lower waiting time for
user programs and better performance of DBMS.
Page | 5
DATABASE MANAGEMENT SYSTEM ASSIGNMENT-01
PART B:
Users must ensure that their transactions do not
interfere with other transactions. That is user transactions do
not change the values of variables used in other user
transactions leading to inconsistency. User transaction should
not corrupt data stored in database.
DBSM transactions must provide Atomicity that is either a
transaction is completely executed or rolled back. When a
transaction is executed the end result should lead the system
to a consistent state. When a transaction is incomplete the task
must be aborted. Incomplete transactions lead to
inconsistencies.
Page | 6
DATABASE MANAGEMENT SYSTEM ASSIGNMENT-01
QUESTION#05
ER DIAGRAM:
Page | 7