Disk I/O Operations Quiz
32 Questions
4 Views

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

What is the basic storage device where the O.S., application software, and data are kept?

  • Disk (correct)
  • RAM
  • CPU
  • Cache
  • What is the time it takes to position the head at the track known as in a movable-head system?

  • Data transfer time
  • Rotational delay
  • Access time
  • Seek time (correct)
  • What is the most commonly used I/O device for basic storage?

  • Keyboard
  • Printer
  • Disk (correct)
  • Monitor
  • What is the sum of seek time and rotational delay in disk performance parameters known as?

    <p>Access time</p> Signup and view all the answers

    What is the average rotational delay for disks other than floppy disks?

    <p>8.3ms</p> Signup and view all the answers

    What does the seek time consist of?

    <p>Initial start up time and time taken to traverse the cyclinders</p> Signup and view all the answers

    How is the transfer time to or from the disk calculated?

    <p>$T = \frac{b}{r \cdot N}$</p> Signup and view all the answers

    In sequential organization, what is the total time to read the first track of a file 128KB long stored on disk occupying 8 adjacent tracks?

    <p>45ms</p> Signup and view all the answers

    For a file 128 KB long stored on different locations on the disk with random organization, what is the total time to read all sectors?

    <p>7373ms</p> Signup and view all the answers

    What is the formula for estimated seek time?

    <p>$TS = m \cdot n \cdot s$</p> Signup and view all the answers

    What are the two key components of seek time?

    <p>Initial start up time and time taken to traverse the cyclinders</p> Signup and view all the answers

    What does the access time of a disk I/O operation include?

    <p>$TS + (1/2r) + [b / (r.N)]$</p> Signup and view all the answers

    What is the formula for calculating transfer time to or from the disk?

    <p>$T= b / (r \cdot N)$</p> Signup and view all the answers

    What does the total average access time consist of?

    <p>Ts + (1/2r) + [b / (r.N)]</p> Signup and view all the answers

    What is the average rotational delay for floppy disks?

    <p>8.3ms</p> Signup and view all the answers

    What does fragmented files on disk lead to?

    <p>Slower access to scattered sectors of files.</p> Signup and view all the answers

    What is the sum of seek time and rotational delay in disk performance parameters known as?

    <p>Access time</p> Signup and view all the answers

    In sequential organization, what is the total time to read the first track of a file 128KB long stored on disk occupying 8 adjacent tracks?

    <p>$8 \times (\text{access time} + \text{seek time})$</p> Signup and view all the answers

    What does fragmented files on disk lead to?

    <p>Increased seek time</p> Signup and view all the answers

    What are the two key components of seek time?

    <p>Head positioning and track selection</p> Signup and view all the answers

    What is the formula for calculating the estimated seek time of a disk drive?

    <p>TS = m.n.s</p> Signup and view all the answers

    What is the formula for calculating the transfer time to or from the disk?

    <p>T = b / (r.N)</p> Signup and view all the answers

    What does fragmented files on disk lead to?

    <p>Slower access to scattered sectors</p> Signup and view all the answers

    What is the average rotational delay for disks other than floppy disks?

    <p>16.7ms</p> Signup and view all the answers

    What does the access time of a disk I/O operation include?

    <p>Seek time, rotational delay, and queuing delays</p> Signup and view all the answers

    What are the two key components of seek time?

    <p>Initial start up time and rotational delay</p> Signup and view all the answers

    What is the basic storage device where the O.S., application software, and data are kept?

    <p>Hard Drive</p> Signup and view all the answers

    What is the time it takes to position the head at the track known as in a movable-head system?

    <p>Seek time</p> Signup and view all the answers

    What is the sum of seek time and rotational delay in disk performance parameters known as?

    <p>Access time</p> Signup and view all the answers

    What does the total average access time consist of?

    <p>Seek time, rotational delay, and transfer time</p> Signup and view all the answers

    What does the seek time consist of?

    <p>Initial start up time and traversal time</p> Signup and view all the answers

    In sequential organization, what is the total time to read the first track of a file 128KB long stored on disk occupying 8 adjacent tracks?

    <p>45ms</p> Signup and view all the answers

    Study Notes

    Disk Storage Basics

    • Hard disk drive (HDD) is the basic storage device for the O.S., application software, and data.
    • Seek time is the time required to position the read/write head over the desired track in a movable-head disk system.
    • Hard disk drive (HDD) is the most commonly used I/O device for basic storage.
    • Latency is the sum of seek time and rotational delay in disk performance parameters.
    • Average rotational delay for disks other than floppy disks is 8.33 msec (half the time of one rotation).

    Disk Access Time

    • Seek time consists of positioning time (moving the head to the correct track) and settling time (allowing the head to settle).
    • Transfer time is calculated by dividing the number of bytes to be transferred by the transfer rate of the disk.
    • Average rotational delay for floppy disks is 100 msec (half the time of one rotation).
    • Total average access time consists of seek time, rotational delay, and transfer time.
    • Fragmented files on disk can lead to increased access time due to the head having to move across multiple tracks to read or write the file.

    Reading Files on Disk

    • Sequential organization refers to storing data in consecutive tracks on the disk. To read the first track of a file 128KB long stored on disk occupying 8 adjacent tracks, it takes only the time to access the first track, which is the sum of seek time and rotational delay.
    • Random organization refers to storing data in non-consecutive locations on the disk. To read all sectors of a file 128KB long stored on disk occupying 8 adjacent tracks, it takes the time to access each individual sector, which is the sum of seek time and rotational delay for each sector.
    • Estimated seek time can be calculated using this formula: average seek time + (0.5 * (shortest seek time - longest seek time))

    Seek Time Components

    • Seek time has two key components: positioning time and settling time.
    • Access time of a disk I/O operation includes seek time, rotational latency, and transfer time.

    Transfer Time Calculation

    • Transfer time to or from the disk is calculated by dividing the number of bytes to be transferred by the transfer rate of the disk.

    Studying That Suits You

    Use AI to generate personalized quizzes and flashcards to suit your learning preferences.

    Quiz Team

    Related Documents

    chapter11.pdf

    Description

    Test your knowledge of disk I/O operations with this quiz. Explore the details of disk I/O transfer, including the wait for device, wait for channel, seek, rotational delay, and data transfer processes.

    More Like This

    Operating Systems and Disk Partitions Quiz
    6 questions
    Memory Operations and Endianness
    5 questions
    Particiones de disco duro: MBR y GPT
    10 questions
    File Fragmentation and Storage
    10 questions
    Use Quizgecko on...
    Browser
    Browser