CS403 Final Term Solved Subjective Set 2 by Junaid
- Type
- Final term past paper
- Course
- CS403 Database Management Systems
- Size
- PDF 899 KB
- Updated
- 23 Oct 2026
You get 3 free files a day on the website. Add the Chrome extensionSign in with the extension for 30 a day.
Preview text
Text from pages 2, 3, 4 of 22. Download the file for all 22 pages.
Q1. Difference between Commit and Rollback.
(Marks 2)
Answer: 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
(Marks 2)
Answer: Commonality between RAID technology and Tape Drive that they both are used for backup.
Q3. Read the statement if incorrect rewrite in correct form. (2 marks)
“Hashing provides slow, time consuming data retrieve from sequential files”.
(Page 265)
Hashing provides rapid, non-sequential, direct access to records.
Q4. How do you explain Cross Reference Matrix? (2 marks)
(Page 65)
This is a tool available in the data dictionary and helps us in finding entities of the database and their associations.
Q5. Explain Redundant Data. How Data Redundancy work in sequence file. (3 marks)
(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.
Q6. State the basic difference between Inner join and Left Outer Join. .
(Marks 3)
(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.
Q7. Give one example of Deadlock.
(Marks 3)
Answer: 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.
Q8. Create unique index on “IndexNum” on Cust_Name attribute of Customer table.. (Marks 3)
Answer: CREATE INDEX IndexNum ON Customer (Cust_Name)
Q9. · Relate column 1 with column 2..
(Marks 5)
Column 1 Column 2
Q1. Sigma
Q2. Table
Q3. Relational Algebra
Q4. П
Q1. Sigma
Q2. Table
Q3. Relational Algebra
Q4. ÏÏ
Q10. 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)
Q11. (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.
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.
Q12. Analyze the below given statements and mark as correct and incorrect and also explain. (5 marks)
- Deadlock occurs when one transaction wants to read more than on object at same time.
- The mechanism ―Wait for Graph‖ is used to apply join on multiple.
Answer: (Page 320)
- 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.
- 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.
Q13. Name two types of anomalies?
(Page 162)
Two type of anomalies are:
- Insertion
- Deletion
Q14. Name types of views?
(Page 283)
- Materialized View • Simple Views • Complex View • Dynamic Views
Q15. Analyze the below given statements and mark as correct and incorrect and also
explain. 1. Deadlock occurs when one transaction wants to read more than on
object at same time.
Answer: (Page 320) The given statement is incorrect. The correct statement is 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.
Q16. 2. The mechanism “Wait for Graph” is used to apply join on multiple.
(Page 320)
The statement is incorrect and correct statement is Wait – for Graph: It is used for the detection of deadlock
Q17. How many ways to create a new view in your data base? (2 marks)
(Page 283)
There are two ways to create a new view in your database. You can: • Create a new view from scratch. • Or, make a copy of an existing view and then modify it.
Related CS403 files
All CS403 files →- CS403 Final Term MCQs and Subjective by Moaaz Final term RAR 674 KB
- CS403 Final Term MCQs by VU Topper RM Final term PDF 878 KB
- CS403 Final Term Solved MCQs Set 2 by Junaid Final term PDF 1.6 MB
- CS403 Final Term Solved MCQs Set 3 by Junaid Final term PDF 1.7 MB
- CS403 Highlighted Handouts Set 4 Highlighted PDF 7.9 MB
- CS403 MCQs MCQs PDF 21.3 MB
Get more out of VUBuddy, for free
- Unlimited downloads
- The explanation behind every MCQ answer
- Study offline on slow data
- 30 downloads a day instead of 3
- Sign in and buy Pro Semester here
One Pro Semester membership works in both the extension and the app.