Operating System » Atomic Transactions
Operating System Subcategories
Memory Management Swapping 1Process Scheduling Queue
Virtual Memory Page Replacement Algorithms 1Linux
Cpu SchedulingMemory Management
Computer FundamentalsCpu Scheduling Benefits
Threads Signal HandlingThreads Ult Klt
Distributed Operating SystemBasics
Operating SystemProcesses
Cpu Scheduling Algorithms 1Cpu Scheduling Algorithms 2
DeadlockDeadlock Avoidance
Memory Management Swapping 2Memory Allocation 1
Secondary StorageMemory Management Paging 1
Memory Management Paging 2Rtos
Multimedia System Cpu Disk SchedulingSecurity Intrusion Detection
Virtual Memory ThrashingFile System Interface Access Methods 1
File System Interface Directory Structure 1File System Interface Directory Structure 2
File System Interface Mounting SharingFile System Allocation Methods 1
Disk Scheduling 2Disk Management
Classic Sync ProblemsSemaphores 1
Process CreationMultimedia System Network Management
Semaphores 2Cpu Scheduling 2
Application Io Interface 1Inter Process Communication
Process SynchronizationMultimedia System Compression 1
Network File System 1Disk Scheduling 1
Mass Storage Raid 1File System 1
Communication Systems Bandwidth Transmission MediumSecurity Cryptography
Two Port NetworkProcess Rpc
Virtual Memory Page Replacement Algorithms 2Virtual Memory Frame Allocation
Network File System 2File System Allocation Methods 2
File System Allocation Methods 3Process Control Block
Process StructuresCritical Section Problem
Process Sync MonitorsAtomic Transactions
Deadlock RecoveryMemory Allocation 2
Memory Management SegmentationApplication Io Interface 2
Kernel Io SubsystemsMultimedia System Compression 2
Multimedia System Compression 3Security User Authentication
Security Program System ThreatsSecurity System Facility
Threads Fork ExecThreads Cancellation
Threads PoolsMulti Threading Models
Virtual Memory Demand PagingVirtual Memory
File System ConceptsFile System Implementation
File System Interface Access Methods 2File System Recovery
Io SubsystemSwap Space Management
Mass Storage Raid 2Mass Storage Tertiary Storage
Protection ConceptsProtection Access Matrix
SecurityProtection Memory Protection
Protection Revocation Access RightsNetwork Structure Topology
RobustnessDistributed File System
Distributed SynchronizationDeadlock Prevention
Deadlock DetectionThreads
File System Interface ProtectionFile System Free Space Performance
A collection of instructions that performs a single logical function is called ____________

A. Transaction
B. Operation
C. Function
D. All of the mentioned

A terminated transaction that has completed its execution successfully is ____________ otherwise it is __________

A. Committed, destroyed
B. Aborted, destroyed
C. Committed, aborted
D. None of the mentioned

Write ahead logging is a way ____________

A. To ensure atomicity
B. To keep data consistent
C. That records data on stable storage
D. All of the mentioned

In the write ahead logging a _____________ is maintained.

A. A memory
B. A system
C. A disk
D. A log record

An actual update is not allowed to a data item ____________

A. Before the corresponding log record is written out to stable storage
B. After the corresponding log record is written out to stable storage
C. Until the whole log record has been checked for inconsistencies
D. All of the mentioned

The undo and redo operations must be _________ to guarantee correct behaviour, even if a failure occurs during recovery process.

A. Idempotent
B. Easy
C. Protected
D. All of the mentioned

Explanation: Idempotent – Multiple executions of an operation have the same result as does one execution.

The system periodically performs checkpoints that consists of the following operation(s) ____________

A. Putting all the log records currently in main memory onto stable storage
B. Putting all modified data residing in main memory onto stable storage
C. Putting a log record onto stable storage
D. All of the mentioned

Consider a transaction T1 that committed prior to checkpoint. The record appears in the log before the record. Any modifications made by T1 must have been written to the stable storage either with the checkpoint or prior to it. Thus at recovery time ____________

A. There is a need to perform an undo operation on t1
B. There is a need to perform a redo operation on t1
C. There is no need to perform an undo and redo operation on t1
D. All of the mentioned

Serializable schedules are ones where ____________

A. Concurrent execution of transactions is equivalent to the transactions executed serially
B. The transactions can be carried out one after the other
C. A valid result occurs after execution transactions
D. None of the mentioned