Home »
MCQs »
DBMS MCQs
DBMS Schedule MCQs
DBMS Schedule MCQs: This section contains multiple-choice questions and answers on schedule in DBMS.
Submitted by Anushree Goswami, on April 18, 2022
1. It is called a schedule when it consists of a series of operations from one ___ to another.
- Transition
- Transaction
- Transportation
- Transcription
Answer: B) Transaction
Explanation:
It is called a schedule when it consists of a series of operations from one transaction to another.
Discuss this Question
2. In each individual transaction, the ___ preserves the order of operations.
- Schedule
- System
- Steps
- Syndrome
Answer: A) Schedule
Explanation:
In each individual transaction, the Schedule preserves the order of operations.
Discuss this Question
3. How many types of schedules are there?
- 2
- 3
- 4
- 5
Answer: B) 3
Explanation:
There are 3 types of schedules.
Discuss this Question
4. Which of the following is a type of schedule?
- Serial
- Non-serial
- Serializable
- All of the above
Answer: D) All of the above
Explanation:
There are 3 types of schedules -
- Serial
- Non-serial
- Serializable
Discuss this Question
5. The ___ schedule is a type of schedule where one transaction is executed completely before starting another transaction.
- Serial
- Non-serial
- Serializable
- Non-serializable
Answer: A) Serial
Explanation:
The serial schedule is a type of schedule where one transaction is executed completely before starting another transaction.
Discuss this Question
6. In a serial schedule, the next transaction is executed after the ___ one has completed its cycle.
- First
- Last
- Middle
- One-Fourth
Answer: A) First
Explanation:
In a serial schedule, the next transaction is executed after the first one has completed its cycle.
Discuss this Question
7. A non-serial schedule would result if ___ is allowed.
- Leaving
- Inter-leaving
- Intra-leaving
- None of the above
Answer: B) Inter-leaving
Explanation:
A non-serial schedule would result if interleaving is allowed.
Discuss this Question
8. A number of possible orders for executing individual operations of transactions are presented in the ___ Schedule.
- Serial
- Non-Serial
- Serializable
- Non-serializable
Answer: B) Non-Serial
Explanation:
A number of possible orders for executing individual operations of transactions are presented in it.
Discuss this Question
9. What is TRUE about Serializable Schedule?
- In order to find non-serial schedules, the serializability of schedules is checked to ensure the transactions can run concurrently without being interfered with.
- When the executions of the transactions have interleaving of their operations, it indicates which schedules are correct.
- If a non-serial schedule's result equals that of its serial transactions, it will be serializable.
- All of the above
Answer: D) All of the above
Explanation:
In case of Serializable Schedule -
- In order to find non-serial schedules, the serializability of schedules is checked to ensure the transactions can run concurrently without being interfered with.
- When the executions of the transactions have interleaving of their operations, it indicates which schedules are correct.
- If a non-serial schedule's result equals that of its serial transactions, it will be serializable.
Discuss this Question
10. Serializability of a schedule is tested using a ___.
- Serial Graph
- Non-serial Graph
- Serialization Graph
- Non-Serialization Graph
Answer: C) Serialization Graph
Explanation:
Serializability of a schedule is tested using a serialization graph.
Discuss this Question
11. Schedules are constructed using a graph known as a ___ graph.
- Accordance
- Precedence
- Serializable
- Non-Serializable
Answer: B) Precedence
Explanation:
Schedules are constructed using a graph known as a precedence graph.
Discuss this Question
12. It is shown that the precedence graph has a pair G = (V, E), where V and E are the ___, respectively.
- Edges
- Vertices
- Edges and Vertices
- Vertices and Edges
Answer: D) Vertices and Edges
Explanation:
It is shown that the precedence graph has a pair G = (V, E), where V and E are the vertices and edges, respectively.
Discuss this Question
13. All the transactions participating in the ___ are represented by the set of vertices in the precedence graph.
- Set
- Schedule
- System
- Serial
Answer: B) Schedule
Explanation:
All the transactions participating in the schedule are represented by the set of vertices in the precedence graph.
Discuss this Question
14. All edges Ti -> Tj that satisfy one of the following conditions are contained in the set of edges:
- In the case of Ti executing write (Q) before Tj executing read (Q), create node Ti * Tj.
- If Ti executes the read operation (Q) before Tj executes the write operation (Q), create a node Ti * Tj.
- When Ti executes write (Q) before Tj executes write (Q), a node Ti * Tj is created.
- All of the above
Answer: D) All of the above
Explanation:
All edges Ti -> Tj that satisfy one of the following conditions are contained in the set of edges:
- In the case of Ti executing write (Q) before Tj executing read (Q), create node Ti * Tj.
- If Ti executes the read operation (Q) before Tj executes the write operation (Q), create a node Ti * Tj.
- When Ti executes write (Q) before Tj executes write (Q), a node Ti * Tj is created.
Discuss this Question
15. There will be no execution of the first instruction from Tj before all instructions of Ti from the ___ graph are executed.
- Schedule
- Precedence
- Serializable
- Serial
Answer: B) Precedence
Explanation:
There will be no execution of the first instruction from Tj before all instructions of Ti from the precedence graph are executed.
Discuss this Question
16. A precedence graph that contains cycles on schedule S is ___.
- Serializable
- Non-serializable
- Serial
- Non-serial
Answer: B) Non-serializable
Explanation:
A precedence graph that contains cycles on schedule S is non-serializable.
Discuss this Question
17. ___ graphs do not have cycles.
- Serializable
- Non-serializable
- Serial
- Non-serial
Answer: A) Serializable
Explanation:
Serializable graphs do not have cycles.
Discuss this Question
18. Conflict serializability occurs when a schedule can become a ___ schedule after swapping non-conflicting operations.
- Serial
- Non-Serial
- Serializable
- Non-serializable
Answer: A) Serial
Explanation:
Conflict serializability occurs when a schedule can become a serial schedule after swapping non-conflicting operations.
Discuss this Question
19. If a schedule is ___ equivalent to a serial schedule, it will be a conflict serializable schedule.
- Serial
- Non-Serial
- Conflict
- Non-conflict
Answer: C) Conflict
Explanation:
If a schedule is conflict equivalent to a serial schedule, it will be a conflict serializable schedule.
Discuss this Question
20. Which condition(s) must be met for the two operations to conflict?
- Both transactions are separate.
- The data item is the same for both of them.
- A write operation is present in at least one of them.
- All of the above
Answer: D) All of the above
Explanation:
All conditions must be met for the two operations to conflict:
- Both transactions are separate.
- The data item is the same for both of them.
- A write operation is present in at least one of them.
Discuss this Question
21. A ___ operation can be swapped for a conflicting one in the conflict equivalent.
- Conflicting
- Non-conflicting
- Serializable
- Non-serializable
Answer: B) Non-conflicting
Explanation:
A non-conflicting operation can be swapped for a conflicting one in the conflict equivalent.
Discuss this Question
22. When two schedules are conflict equivalent, the following conditions must be met?
- The transactions in both are identical.
- The same order should be followed in each pair of conflict operations.
- Both A and B
- None of the above
Answer: C) Both A and B
Explanation:
When two schedules are conflict equivalent, the following conditions must be met:
- The transactions in both are identical.
- The same order should be followed in each pair of conflict operations.
Discuss this Question
23. ___ scheduling is achieved by completing T1 operations before undertaking any operations on S2.
- Serial
- Non-serial
- Serializable
- Non-serializable
Answer: A) Serial
Explanation:
Serial scheduling is achieved by completing T1 operations before undertaking any operations on S2.
Discuss this Question
24. By swapping ___ operations in S1, schedule S1 can be turned into a serial schedule.
- Conflicting
- Non-conflicting
- Serial
- Non-serial
Answer: B) Non-conflicting
Explanation:
By swapping non-conflicting operations in S1, schedule S1 can be turned into a serial schedule.
Discuss this Question
25. Serializable schedules are those that are viewed as equivalent to ___ schedules.
- Serial
- Non-serial
- Serializable
- Non-serializable
Answer: A) Serial
Explanation:
Serializable schedules are those that are viewed as equivalent to serial schedules.
Discuss this Question
26. A schedule can be serialized if it can ___ conflicts; otherwise, it can be serialized if it is viewable.
- Create
- Update
- Resolve
- Edit
Answer: C) Resolve
Explanation:
A schedule can be serialized if it can resolve conflicts; otherwise, it can be serialized if it is viewable.
Discuss this Question
27. ___ serializable contains blind writes when it doesn't conflict with serializable.
- Conflict
- Non-conflict
- View
- Non-view
Answer: C) View
Explanation:
View serializable contains blind writes when it doesn't conflict with serializable.
Discuss this Question
28. Views S1 and S2 are considered equivalent if they meet the following requirements:
- Initial Read
- Updated Read
- Final Write
- All of the above
Answer: D) All of the above
Explanation:
Views S1 and S2 are considered equivalent if they meet the following requirements:
- Initial Read
- Updated Read
- Final Write
Discuss this Question
29. The initial reading should be the ___ for both schedules.
- Same
- Different
- Partially Same
- Partially Different
Answer: A) Same
Explanation:
The initial reading should be the same for both schedules.
Discuss this Question
30. If in schedule S1, Ti is reading A from Tj, it should also read A from ___ in schedule S2.
- Ti
- Tj
- Ta
- Tb
Answer: B) Tj
Explanation:
If in schedule S1, Ti is reading A from Tj, it should also read A from Tj in schedule S2.
Discuss this Question
31. Both schedules must have the ___ final write.
- Same
- Different
- Serial
- Non-serial
Answer: A) Same
Explanation:
Both schedules must have the same final write.
Discuss this Question
32. If a transaction T1 updates A the last in S1, then T1 should also perform ___ writing operations in S2.
- Initial
- Final
- Middle
- Center
Answer: B) Final
Explanation:
If a transaction T1 updates A the last in S1, then T1 should also perform final writing operations in S2.
Discuss this Question
33. Software issues, system crashes, and hardware failures may cause a ___ not to execute completely.
- Transition
- Table
- Database
- Transaction
Answer: D) Transaction
Explanation:
Software issues, system crashes, and hardware failures may cause a transaction not to execute completely.
Discuss this Question
34. In the unlikely event that Ti commits before Tj commits, the schedule will be ___.
- Recoverable
- Irrecoverable
- Commit
- Rollback
Answer: B) Irrecoverable
Explanation:
In the unlikely event that Ti commits before Tj commits, the schedule will be irrecoverable.
Discuss this Question
35. In the scenario of Tj reading the updated value of Ti, the schedule will be ___ through cascading rollback.
- Recoverable
- Irrecoverable
- Serial
- Non-serial
Answer: B) Irrecoverable
Explanation:
In the scenario of Tj reading the updated value of Ti, the schedule will be recoverable through cascading rollback.
Discuss this Question