database
Discussion
Ask a question about this paper, or help someone else with theirs. Answers are emailed to whoever asked.
No questions yet — be the first to ask.
Need a paper or stuck on a question? Ask here — students reply and you get an email.
Ask about a paper-
BS Islamic Studies, 5th semester, ISL-511 Translation of Holy Quran (3) — Government College University Faisalabad (GCU…
0 replies Reply → -
Civics course code GCCE101
1 reply Reply → -
BS 4the semester2025 civics and community engagement past paper According UOs
0 replies Reply → -
Bs public administration 1st semester mid term past papers
0 replies Reply → -
BS English from uni of Sargodha Functional English, history of old English literature, literary devices and genres,
0 replies Reply →
Paper text
2
Q12.Find the names and company names of all employees sorted in ascending order of company name and descending order of
employee names of that company.
Q13. Change the country of Ahli Bank Corporation from ‘Qatar’ to ‘Dubai’.
Q14. Considering the above tables to show the use of wild card entries with employee name, street, company name, company
country .
Q15.Get the names of employees who are employed to more than one companies.
Q16. How database recovery process involves bringing the database to a consistent state after failure?
Q17. Explain the Two phase Locking Method. Discuss how two-phase locking is used to resolve the problem of uncommitted
dependency.
Q18. Explain how lost update problem can be resolve by using the two phase lock? Complete the given balance of the table by
preventing the lost update problem.
Time | T1 | T2 | Balance
T1 | | Begin Transaction | 100
T2 | Begin Transaction | Write_lock(balance) |
T3 | Write_lock(balance) | Read(balance) |
T4 | wait | Balance=balance+100 |
T5 | wait | Write(balance) |
T6 | wait | Commit/unlock(balance) |
T7 | Read(balance) | |
T8 | Balance=balance-10 |
| T9 | Write(balance) | |
T10 | Commit/unlock(balance) | |
Q19. Explain the purpose and scope of database security.
Q20. Examine any DBMS used by your organization and identify the security measures provided.