Database mangement system test.doc

上传人:11****ws 文档编号:2990607 上传时间:2019-05-16 格式:DOC 页数:2 大小:19.81KB
下载 相关 举报
Database mangement system test.doc_第1页
第1页 / 共2页
Database mangement system test.doc_第2页
第2页 / 共2页
亲,该文档总共2页,全部预览完了,如果喜欢就下载吧!
资源描述

1、DATABASE MANAGEMENT SYSTEM SAMPLE QUESTIONSQ1.(a) Explain the consistency property of the ACID properties and explain how this property relate to recovery mechanism.(b) Consider the following transaction:Start;Read(X);X: = X+100;Write(X);Read(Y);Y: =Y-100;Write(Y);Commit;(i) During the execution of

2、this transaction, it passes several states until it finally commits. List and explain briefly all the states that this transaction may pass.(ii) If the system fails after operation Y: = Y-100 but not before operation Write(Y), what will happen to this transaction? Explain your answer.Q2.(a) What is

3、a concurrency control? Explain. (c) Consider the following schedule, Schedule S: T1 T2read (P)P = P + 100write (P)read (Q)Q = Q 100write (Q)read (P)P = P * 0.1write (P)read (Q)Q = Q * 0.1write (Q)(i) Write locking and unlocking instructions to the above schedule.(ii) Is the above schedule S conflict

4、 serializable? Show how you derive your answer by using this schedule and explain your answer.Q3.(a) The following concepts are used in recovery. Explain how these concepts can be used in recovery process.(i) transaction log(ii) backup(b) The following questions are based on the following schedule:

5、Time Actiont1 begin At2 begin Bt3 begin Ct4 commit Bt5 checkpoint t6 begin Dt7 commit At8 begin Et9 commit Et10 System crashState which transactions that need to be undone and redone if the following update techniques are used: Deferred update Immediate updateQ4. Explain briefly what discretionary access control is and what are its strength and weakness for data security.

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 实用文档资料库 > 策划方案

Copyright © 2018-2021 Wenke99.com All rights reserved

工信部备案号浙ICP备20026746号-2  

公安局备案号:浙公网安备33038302330469号

本站为C2C交文档易平台,即用户上传的文档直接卖给下载用户,本站只是网络服务中间平台,所有原创文档下载所得归上传人所有,若您发现上传作品侵犯了您的权利,请立刻联系网站客服并提供证据,平台将在3个工作日内予以改正。