首页 > 信息技术 > 软考(计算机) > 先来先服务调度算法

先来先服务调度算法

软考(计算机) · 考点例题与解析
📘 教材推导
📘 依据出处:该考点依据教材与考试大纲整理,无单一条款出处
单选题
() is the simplest type of scheduling algorithm. Its basic idea is to schedule tasks according to their arrival sequence. It is a non-preemptive scheduling method where if a current task occupies the CPU, it must run until completion or be blocked before releasing the CPU to other tasks.
A. First-Come-First-Served (FCFS)
B. Round Robin
C. Shortest Remaining Time First (SRTF)
D. Shortest Job First (SJF)
正确答案:A
本题考察操作系统进程调度算法分类。FCFS 严格按到达顺序调度,且为非抢占式,即任务一旦占用 CPU 便运行至完成或阻塞,与题干“按到达顺序”和“非抢占”两个条件同时吻合。SJF 按最短预计运行时间调度,可抢占也可非抢占;Round Robin 是时间片轮转的抢占式算法;SRTF 是 SJF 的抢占版本。后三者均无法同时满足“按到达顺序”与“非抢占”这两项条件。
单选题
() is the simplest type of scheduling algorithm. Its basic idea is to schedule tasks according to their arrival sequence. It is a non-preemptive scheduling method where if a current task occupies the CPU, it must run until completion or be blocked before releasing the CPU to other tasks.
A. Shortest Remaining Time First (SRTF)
B. First-Come-First-Served (FCFS)
C. Round Robin
D. Shortest Job First (SJF)
正确答案:B
本题考察操作系统进程调度算法分类。FCFS严格按到达顺序调度,且为非抢占式,即任务一旦占用CPU便运行至完成或阻塞,同时满足“按到达顺序”与“非抢占”两个条件。SJF按最短预计运行时间调度,可抢占也可非抢占;Round Robin是时间片轮转的抢占式算法;SRTF是SJF的抢占版本。将题干的两项条件与各算法的调度依据逐一比对,即可确定符合项。

软考(计算机)·其他考点

进入「先来先服务调度算法」专项练习 → 查看软考(计算机)全部题目 →
内容依据教材推导整理 · 智学通