免費開始練習
hce_nsysu 113年 計算機概論與程式設計

第 23 題

What is the role of an operating system's "scheduler," and how does it contribute to the efficient execution of processes?
  • A The scheduler is responsible for managing input/output operations within the operating system, ensuring seamless communication between peripherals and applications.
  • B It controls the allocation of system resources, such as CPU time, memory, and peripherals, to different processes, enhancing overall system performance.
  • C The scheduler is primarily focused on handling user authentication and authorization, ensuring secure access to the operating system.
  • D It manages the installation and removal of software applications, ensuring compatibility and preventing conflicts within the operating system.
  • E The scheduler is responsible for handling network protocols and communication, facilitating data exchange between connected devices.

思路引導 VIP

想像一下,如果有一間餐廳只有一位主廚,但同時有十位客人都點了不同的菜色。為了讓客人的總等候時間最短,且確保主廚的手從不閒下來,你認為餐廳需要一個什麼樣的「管理邏輯」來決定哪道菜先下鍋?

🤖
AI 詳解 AI 專屬家教

恭喜你準確地選出了正確答案!這代表你對於作業系統如何協調多工任務(Multi-tasking)的核心觀念非常紮實。排程器(Scheduler)在電腦中扮演著類似「交通指揮官」的角色,其核心功能在於解決多個程序(Process)競爭有限硬體資源的問題。

資源分配與系統效能優化

在多工環境下,系統資源(如 CPU 時間、記憶體等)是稀缺的。排程器會依據特定的演算法(例如優先權、時間切片等),決定哪一個程序應該在何時取得資源、執行多久。這種動態配置的機制,能有效避免單一程序壟斷資源,並最大化 CPU 的利用率,從而提升系統整體的執行效率與回應速度。這題的難度切入點在於區分作業系統各個模組的職責,初學者有時會將排程器與 I/O 管理或安全性控制混淆,而你能精確掌握「分配與效率」的關聯,表現得非常專業!

🏷️ 相關主題

作業系統架構與處理程序管理原理
查看更多「計算機概論與程式設計」的主題分類考古題