Skip to content
VUBuddy

CS403 Final Term Subjective with References by Moaaz

Database Management Systems PDF 355 KBUpdated 23 Oct 2026
Final term past paper CS403 Final Term Subjective with References by Moaaz PDF 355 KB
vubuddy.com
Type
Final term past paper
Course
CS403 Database Management Systems
Size
PDF 355 KB
Updated
23 Oct 2026
Free download 0 of 3 used today
Download free · 355 KB

You get 3 free files a day on the website. Add the Chrome extension for 30 a day.

Unlimited downloads in the Android app Get it free on Google Play

Preview text

Text from pages 1, 2, 3 of 30. Download the file for all 30 pages.

Solved Subjective · From Final Term Papers · JUNE 30,2012 · PSMD01 · Difference between Commit and Rollback. (Marks 2)

in sql commit is used for saving the changes made in database and roll back is to roll back them , changes will not get saved in the database

Q2. Commonality between RAID technology and Tape Drive (Marks 2)

Answer: Commonality between RAID technology and Tape Drive that they both are used for backup.

Read the statement if incorrect rewrite in correct form. “Hashing provides slow, time consuming data retrieve from sequential files”. (Marks 2)

Answer: (Page 265) Hashing provides rapid, non-sequential, direct access to records.

How do you explain Cross Reference Matrix? (Marks 2)

Answer: (Page 65) This is a tool available in the data dictionary and helps us in finding entities of the database and their associations.

Explain Redundant Data. How Data Redundancy work in sequence file. (Marks 3)

Answer: (Page 14) It means if different systems of an organization are using some common data then rather than storing it once and sharing it, each system stores data in separate files. This creates the problem of redundancy or wastage of storage and on the other hand the problem on inconsistency.

State the basic difference between Inner join and Left Outer Join. . (Marks 3)

Answer: (Page 226 & 229) Inner Join : Only those rows from two tables are joined that have same value in the common attribute while In a left outer join, PROGRAM rows without a matching COURSE row appear in the result left table (i.e. the one that precedes in SQL statement) regardless of the existence of matching records in the right table.

Give one example of Deadlock. (Marks 3)

A simple computer-based example is as follows. Suppose a computer has three CD drives and three processes. Each of the three processes holds one of the drives. If each process now requests another drive, the three processes will be in a deadlock. Each process will be waiting for the "CD drive released" event, which can be only caused by one of the other waiting processes. Thus, it results in a circular chain.

Create unique index on “IndexNum” on Cust_Name attribute of Customer table.. (Marks 3)

CREATE INDEX IndexNum ON Customer (Cust_Name)

· Relate column 1 with column 2.. (Marks 5)

Column 1 Column 2

Q1. Sigma

  1. Procedural DML lang

Q2. Table

  1. Project operator

Q3. Relational Algebra

  1. Select operator

Q4. П

  1. Relational Data Model
  2. Intersection operator E. Binary operation
  1. Sigma C. Select operator (Page 149)
  2. Table D. Relational Data Model
  3. Relational Algebra A. Procedural DML lang
  4. ÏÏ B. Project operator
  5. Intersection operator E. Binary operation

Crater a VIEW INSTRUCTOR_LIST which shows the list of instructor table with

Inst_Nam and City of these instructors belong to ISLAMABAD or KARACHI.

INSTRUCTOR (Inst_ID, Imst_Name, City) (Marks 5)

If a table 1 and table 2 have same entity and the table 1 is 20 index and the table 2 14 index. Then the sequential file access use these operations (Insertion, updation or selection) on both table. Keep in mind the above scenario and mark the below given statements correct or incorrect. (Marks 5)

I. Insertion in table 1 take greater time than table 2 II. Updation in table 2 take greater time then table 1 III. Retrieving a record from table 1 take lesser time than table 2.

Analyze the below given statements and mark as correct and incorrect and also explain. (Marks 5)

  1. Deadlock occurs when one transaction wants to read more than on object at same time.
  2. The mechanism ―Wait for Graph‖ is used to apply join on multiple.

Answer: (Page 320)

  1. Deadlock occurs when one transaction wants to read more than on object at same time. (Incorrect) Explanation: - A deadlock occurs when the first transaction has locks on the resources that the second transaction wants to modify, and the second transaction has locks on the resources that the first transaction intends to modify.
  2. The mechanism ―Wait for Graph‖ is used to apply join on multiple. (Incorrect)

Explanation: - It is used for the detection of deadlock. It consists of nodes and links. The nodes represent transaction, whereas arrowhead represents that a transaction has locked a particular data item.

Name two types of anomalies?

Answer: (Page 162) Two type of anomalies are:

  1. Insertion
  2. Deletion

Name types of views?

Answer: (Page 283)

  • Materialized View • Simple Views • Complex View • Dynamic Views
All CS403 files →
CS403 Database Management Systems All CS403 handouts, past papers, quizzes and MCQs in one place. Open course page

Get more out of VUBuddy, for free

Android app Free on Google Play
  • Unlimited downloads
  • The explanation behind every MCQ answer
  • Study offline on slow data
Get the Android app
Chrome extension Free on the Chrome Web Store
  • 30 downloads a day instead of 3
  • Sign in and buy Pro Semester here
Add to Chrome

One Pro Semester membership works in both the extension and the app.