Operations Systems C7 Flashcards

1
Q

Differentiate between dedicated, shared, and virtual devices, providing examples for each category.

A

Dedicated devices are assigned to one job at a time, such as tape drives or printers. Shared devices, like direct access storage devices (DASD), are utilized by multiple processes simultaneously with controlled interleaving. Virtual devices, such as printers converted from dedicated to shared using spooling, combine aspects of both dedicated and shared devices.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Explain the role of I/O traffic controllers in managing devices in a computer system.

A

I/O traffic controllers monitor the status of devices, control units, and channels, determining available paths and managing device connections. They maintain databases containing each unit’s status and connections.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Compare the functions of I/O schedulers and process schedulers in a computer system.

A

I/O schedulers allocate devices, control units, and channels, prioritizing requests based on criteria like request urgency. Process schedulers, on the other hand, manage the execution of processes, determining which process to run next based on scheduling algorithms.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Discuss the responsibilities of I/O device handlers in the context of managing I/O requests.

A

I/O device handlers handle actual data transfer, process device interrupts, manage error conditions, and implement scheduling algorithms specific to each device type. They are responsible for the low-level management and operation of I/O devices.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How does spooling contribute to the concept of virtual devices?

A

Spooling converts dedicated devices into shared devices by queuing and buffering input/output data, allowing for more efficient utilization of resources and enhancing system performance.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Describe the role of the local operating system in accessing remote I/O devices in cloud computing.

A

he local operating system’s role in accessing remote I/O devices is similar to accessing local devices. However, cloud computing expands accessibility by providing access to a broader range of devices remotely.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Explain the characteristics of magnetic tape as a sequential access storage medium.

A

Magnetic tape stores records serially, with record length determined by the application program. Accessing records on tape is time-consuming, and tape density, determined by the number of characters recorded per inch, impacts storage capacity and access speed.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is blocking in the context of magnetic tape storage, and what are its advantages and disadvantages?

A

Blocking groups records into blocks, improving efficiency by reducing the number of I/O operations and wasted tape space. However, blocking introduces overhead and requires software routines for management, potentially wasting buffer space when only one logical record is needed.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Discuss the efficiency of magnetic tape storage for routine secondary storage tasks.

A

Magnetic tape storage is inefficient for routine secondary storage tasks due to its sequential access nature, which requires time-consuming tape rotations to access records. It is best suited for files with very high (90 to 100 percent) sequential activity.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

How does tape density impact the storage capacity and access speed of magnetic tape?

A

Tape density, determined by the number of characters recorded per inch, directly impacts the storage capacity and access speed of magnetic tape. Higher tape density allows for more data to be stored in the same length of tape, increasing storage capacity and potentially improving access speed.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What are Direct Access Storage Devices (DASDs), and how do they provide random access storage?

A

DASDs allow direct reading or writing to specific disk areas, offering random access storage capabilities. They include magnetic disks, optical discs, and solid-state (flash) memory.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Describe the components and organization of magnetic disk storage.

A

Magnetic disks typically consist of two recording surfaces formatted into concentric tracks, with each track numbered from 0 on the outer edge to the highest track number in the center.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What factors contribute to file access time on magnetic disks?

A

File access time on magnetic disks is influenced by seek time (the time to position the read/write head), search time, rotational delay (time to rotate until the desired record is under the read/write head), and transfer time (the time to transfer data).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Discuss the various device handler seek strategies used to minimize seek time on DASDs.

A

Device handler seek strategies include FCFS, SSTF, SCAN, LOOK, N-Step SCAN, C-SCAN, and C-LOOK. Each strategy aims to minimize seek time by optimizing arm movement and response time variance.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Compare the advantages and disadvantages of FCFS, SSTF, and SCAN seek strategies.

A

FCFS offers simplicity but can lead to extreme arm movement and longer service times under high loads.

SSTF minimizes overall seek time by prioritizing requests closest to the currently serviced track.

**SCAN **eliminates indefinite postponement but may lead to localization problems under heavy loads.

Choosing the best strategy depends on the workload characteristics and desired performance metrics.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

How does rotational ordering optimize search times in optical disc storage systems?

A

Rotational ordering optimizes search times by ordering requests once the read/write heads are positioned, reducing time wasted due to rotational delay. Requests are typically arranged in a pattern where the first sector requested on the second track has the next number higher than the one just served

17
Q

Compare the features and capacities of CDs, DVDs, and Blu-Ray discs.

A

CDs, DVDs, and Blu-Ray discs share similar physical characteristics but differ in data capacity and laser technology. DVDs offer higher data capacity compared to CDs, while Blu-Ray discs utilize a blue-violet laser allowing for multiple layers and higher data capacities than DVDs.

18
Q

How does flash memory storage differ from traditional magnetic and optical storage?

A

Flash memory storage, a type of solid-state storage, is electrically erasable, programmable, and nonvolatile, offering random access emulation and secure data storage. It differs from traditional magnetic and optical storage in its lack of moving parts, faster access times, and secure data storage even when removed from the device.

19
Q

Explain the principle behind the write-once technique used in CD-R technology.

A

CD-R technology records data using a write-once technique, where a high-power laser permanently marks the dye layer of the disk, creating pits and lands that represent zeros and ones. Once data is recorded, it cannot be erased or modified, making CD-Rs suitable for archival purposes.

20
Q

What advantages does Blu-Ray disc technology offer over DVD technology?

A

Blu-Ray disc technology offers higher data capacity, smaller pits, and more tightly wound tracks compared to DVD technology. It utilizes a blue-violet laser allowing for multiple layers, enabling higher data capacities and improved data storage capabilities.

21
Q

Discuss the advantages and disadvantages of Solid State Drives (SSDs).

A

SSDs offer fast operation, low power consumption, silent operation, and relatively lightweight design. However, they are pricey and prone to catastrophic crashes without warning messages, and their data transfer rates may degrade over time.

22
Q

Explain the role of I/O channels and control units in the I/O subsystem.

A

I/O channels are programmable units positioned between the CPU and control unit, synchronizing device speeds and managing concurrent processing. I/O control units receive and interpret signals, while disk controllers link disk drives and the system bus.

23
Q

How does Direct Memory Access (DMA) improve data transfer in computer systems?

A

DMA allows control units to access main memory directly, transferring data without CPU intervention. This is particularly useful for high-speed devices like disks, improving data movement synchronization between relatively slow I/O devices and the fast CPU.

24
Q

What is RAID, and how does it enhance data storage and recovery?

A

RAID involves viewing a set of physical disk drives as a single logical unit, providing improved I/O performance and data recovery in case of disk failure. Different RAID levels offer varying levels of redundancy, error correction, and data striping to enhance data storage and recovery capabilities.

25
Q

Describe Level Zero RAID and its suitability for certain applications.

A

Level Zero RAID utilizes data striping without parity or error corrections, making it suitable for applications requiring large data quantities where redundancy and recovery are not critical. However, it does not offer error correction, redundancy, or recovery capabilities.

Level Zero RAID uses data striping without error correction or redundancy, making it suitable for applications needing high data capacity but not requiring data recovery.

26
Q

Describe the characteristics and benefits of RAID Level One.

A

RAID Level One utilizes data striping in a mirrored configuration, providing redundancy and improved reliability through a duplicate set of all data. While it offers enhanced data protection, it is expensive due to the need for duplicate storage.

RAID Level One uses data striping with mirroring for redundancy and reliability, offering enhanced data protection but at a higher cost due to the need for duplicate storage.

27
Q

Explain the features and complexities associated with RAID Level Two.

A

RAID Level Two uses small stripes with Hamming code for error detection and correction. It is costly and complex, with the size of the strip determining the number of array disks. Despite its complexity, it offers robust error correction capabilities.

RAID Level Two uses small stripes with Hamming code for error detection and correction, providing robust error correction but at a high cost and complexity due to its reliance on the stripe size and number of disks.

28
Q

How does RAID Level Three differ from Level Two, and what advantages does it offer?

A

RAID Level Three is a modification of Level Two, requiring one disk for redundancy and one parity bit for each strip. It offers improved fault tolerance compared to Level Two, enhancing data reliability in case of disk failure.

RAID Level Three improves on Level Two by using one disk for redundancy and a parity bit per strip, enhancing fault tolerance and data reliability.

29
Q

Discuss the operation and features of RAID Level Four.

A

RAID Level Four computes parity for each strip and stores parities in corresponding strips, utilizing a designated parity disk. It shares a similar strip scheme with Levels Zero and One but introduces parity computation for enhanced fault tolerance.

RAID Level Four uses a designated parity disk to store parity for each strip, enhancing fault tolerance while sharing a striping scheme with Levels Zero and One.

30
Q

What are the characteristics and drawbacks of RAID Level Five?

A

RAID Level Five distributes parity strips across disks to avoid the bottleneck seen in Level Four. While it offers improved performance and fault tolerance, it can be complicated to regenerate data from a failed device, posing a challenge in data recovery scenarios

RAID Level Five distributes parity across disks to enhance performance and fault tolerance, but data recovery from a failed device can be complex.

31
Q

Explain the features and advantages of RAID Level Six.

A

RAID Level Six provides enhanced error protection and correction through the use of double parity, with two different parity calculations. It combines aspects of Level Four and Level Five, employing independent algorithms for parity calculation. Parities are stored on separate disks across the array, enabling data restoration even if two disks fail, thus offering robust fault tolerance and data reliability.

RAID Level Six uses double parity with two different calculations, allowing data restoration even if two disks fail, providing robust fault tolerance and data reliability.