Which algorithm can be optimized to meet the timing deadlines and rate…

2025

Which algorithm can be optimized to meet the timing deadlines and rate requirements of continuous media?

Answer: C. Both Earliest-Deadline-First scheduling & SCAN-EDF schedulingConceptContinuous-media (audio/video) files differ from ordinary data files in two ways: they carry timing deadlines (each block must reach the player before…

  1. A.

    Earliest-Deadline-First scheduling

  2. B.

    SCAN-EDF scheduling

  3. C.

    Both Earliest-Deadline-First scheduling & SCAN-EDF scheduling

  4. D.

    None of the above

Attempted by 82 students.

Show answer & explanation

Correct answer: C

Concept

Continuous-media (audio/video) files differ from ordinary data files in two ways: they carry timing deadlines (each block must reach the player before its play-out instant) and rate requirements (a steady throughput must be sustained so playback does not stall). A disk-scheduling approach for such media must therefore honour deadlines while keeping disk throughput high.

Applying the idea

Two real-time disk-scheduling approaches address these constraints:

  • Earliest-Deadline-First (EDF): disk requests are served in order of their deadlines, so the block due soonest is read first. This directly satisfies the timing-deadline constraint of continuous media, making it a recognised real-time disk-scheduling approach.

  • SCAN-EDF: a hybrid that serves requests in EDF (deadline) order but, when several requests share the same deadline, applies the SCAN seek-optimisation among them. It meets the same deadlines while reducing disk-arm movement, improving the sustained transfer rate.

Contrast

Each approach maps onto the two facets of the requirement:

  • Deadline facet: the deadline-ordered approach guarantees the timing constraint; the hybrid preserves that same guarantee.

  • Rate facet: the hybrid additionally optimises seek time, so the sustained transfer rate is improved beyond what pure deadline ordering gives.

  • Both together: because each can be optimized for continuous media, the complete answer is the option pairing them; a single-approach answer addresses only part of the requirement, and a blanket “none” denies established theory.

Result

The approaches that can be optimized to meet the timing deadlines and rate requirements of continuous media are both Earliest-Deadline-First scheduling and SCAN-EDF scheduling.

Explore the full course: Bihar Stet Paper Ii Computer Science

Loading lesson…