
Database Management System
Authored by Viswathika K
Other
Professional Development
25 Questions
Used 5+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Consider the following sequence of two transactions on a bank account(A) with initial balance 20,000 that transfers 5,000 to another account (B) and then applies 10% interest.
(i) T1 start
(ii) T1 A old=20000 new=15,000
(iii) T1 B old=12000 new=17000
(iv) T1 commit
(v) T2 start
(vi) T2 A old=15000 new=16500
(vii) T2 commit
Suppose the database system crashes just before log record (vii) is written. When the system is restarted, which one statement is true of the recovery process?
We can apply redo and undo operations in arbitrary order because they are idempotent.
We must redo log record (vi) to set A to 16,500.
We must undo log record (vi) to set A to 16,500 and then redo log records (ii) and (iii).
We need not redo records (ii) and (iii) because transaction T1 has committed.
Answer explanation
When the system crashes before transaction T2 commits (at log record vii), we have to ensure that any operation done by T2 that was not yet committed must be undone. Therefore, we need to undo the changes made by T2 (log record vi), which would restore account A to 15,000.
Afterward, we need to redo the operations of T1 (log records ii and iii) to ensure that the transfer of 5,000 from account A to account B is preserved and the changes are reflected in the database correctly.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following scenarios may lead to an irrecoverable error in a database system?
A transaction writes a data item after it is read by an uncommitted transaction.
A transaction reads a data item after it is read by an uncommitted transaction.
A transaction reads a data item after it is written by a committed transaction.
A transaction reads a data item after it is written by an uncommitted transaction.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A transaction may be in one of the following states during its execution life cycle in a concurrent execution environment: A. FAILED B. TERMINATED C. PARTIALLY COMMITTED D. COMMITTED E. ACTIVE Given a transaction in the active state during its execution, find its next transitioned state from the options given below:
A only
C only
D only
Either A or C only
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the DBMS components ensures that concurrent execution of multiple operations on the database results into a consistent database state?
Buffer manager
File manager
Logs
Transaction processing system
Answer explanation
The Transaction Processing System (TPS) is responsible for managing database transactions. It ensures that multiple transactions are executed in such a way that the database maintains its consistency, even in the presence of concurrent access.
TPS enforces the ACID properties (Atomicity, Consistency, Isolation, Durability) which guarantee that concurrent transactions do not lead to an inconsistent database state.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In the context of concurrency control, a given pair of operations in a schedule is called a conflict schedule if: (A) At least one of the operations is a write operation.
(B) Both the operations are performed on the same data item.
(C) Both the operations are performed by different transactions.
(D) Both the operations are performed on different data items.
(A), (B) and (C) only
(A), (B), (C) and (D)
(A) and (C) only
(B) and (D) only
Answer explanation
A conflict schedule involves operations that meet three conditions:
At least one operation must be a write operation (A).
Both operations must act on the same data item (B).
Both operations must come from different transactions (C).
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
_________ SQL command changes one or more fields in a record.
LOOK-UP
INSERT
MODIFY
CHANGE
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
___________ command is used to remove a relation from an SQL database.
Update table
Remove table
Delete table
Drop table
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
20 questions
Halbil 2023
Quiz
•
Professional Development
20 questions
Environment, Health & Safety in Industries - First Internal
Quiz
•
Professional Development
20 questions
MS Excel Quizz
Quiz
•
Professional Development
20 questions
KUIS SEPUTAR BPJS
Quiz
•
Professional Development
21 questions
ALS
Quiz
•
University - Professi...
20 questions
Quizz évaluation VCM
Quiz
•
Professional Development
20 questions
Safety Quiz Bulan K3 Nasional 2025
Quiz
•
Professional Development
20 questions
TechMD-IEC Module 1 Quiz
Quiz
•
Professional Development
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
Discover more resources for Other
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
25 questions
Christmas Movies
Quiz
•
Professional Development
20 questions
Christmas Trivia
Quiz
•
Professional Development
15 questions
Fun Holiday Trivia
Quiz
•
Professional Development
25 questions
Name That Tune - Christmas
Quiz
•
Professional Development
29 questions
Christmas Song Emoji Pictionary
Quiz
•
Professional Development
9 questions
Holiday Movie Trivia
Lesson
•
Professional Development
34 questions
Winter Trivia
Quiz
•
Professional Development