Filters
Question type

Study Flashcards

Which of the following items does not belong to the function of a dispatcher?


A) switching context from one process to another
B) selecting a process among the available ones in the ready queue
C) switching to user mode
D) jumping to the proper location in the user program to resume that program

E) B) and C)
F) A) and B)

Correct Answer

verifed

verified

Load balancing is typically only necessary on systems with a common run queue.

A) True
B) False

Correct Answer

verifed

verified

If the time quantum get too large, RR scheduling degenerates to __________?


A) SJF
B) FCFS
C) Shortest-remaining-time-first
D) Multilevel queue

E) All of the above
F) C) and D)

Correct Answer

verifed

verified

In the Linux CFS scheduler, the task with smallest value of vruntime is considered to have the highest priority.

A) True
B) False

Correct Answer

verifed

verified

Which of the following circumstances can preemptive scheduling take place?


A) when a process switches from the running state to the waiting state
B) when a process switches from the waiting state to the ready state
C) when a process terminates
D) none of the above

E) A) and B)
F) A) and C)

Correct Answer

verifed

verified

Which of the following POSIX API sets the scheduling policy?


A) pthread_attr_getsched_policy
B) pthread_attr_setsched_policy
C) pthread_attr_getscope
D) pthread_attr_setscope

E) C) and D)
F) B) and C)

Correct Answer

verifed

verified

A Solaris interactive thread with priority 15 has a higher relative priority than an interactive thread with priority 20

A) True
B) False

Correct Answer

verifed

verified

Which of the following can be a solution to the problem of indefinite blockage of low-priority processes?


A) Aging
B) Starvation
C) Multilevel queue
D) All of the above

E) C) and D)
F) None of the above

Correct Answer

verifed

verified

Describe two general approaches to load balancing.

Correct Answer

verifed

verified

With push migration, a specific task per...

View Answer

What role does the dispatcher play in CPU scheduling?

Correct Answer

verifed

verified

The dispatcher gives control of the CPU ...

View Answer

Explain the fundamental difference between asymmetric and symmetric multiprocessing.

Correct Answer

verifed

verified

In asymmetric multiprocessing,...

View Answer

The Linux CFS scheduler identifies _____________ as the interval of time during which every runnable task should run at least once.


A) virtual run time
B) targeted latency
C) nice value
D) load balancing

E) A) and C)
F) C) and D)

Correct Answer

verifed

verified

In RR scheduling, the time quantum should be small with respect to the context-switch time.

A) True
B) False

Correct Answer

verifed

verified

What effect does the size of the time quantum have on the performance of an RR algorithm?

Correct Answer

verifed

verified

At one extreme, if the time quantum is e...

View Answer

What is the numeric priority of a Windows thread in the NORMAL_PRIORITY_CLASS with HIGHEST relative priority?


A) 24
B) 10
C) 8
D) 13

E) A) and D)
F) A) and C)

Correct Answer

verifed

verified

Distinguish between coarse-grained and fine-grained multithreading.

Correct Answer

verifed

verified

Unlike the rate-monotonic algorithm, EDF...

View Answer

A Solaris interactive thread with a time quantum of 80 has a higher priority than an interactive thread with a time quantum of 120.

A) True
B) False

Correct Answer

verifed

verified

Showing 41 - 57 of 57

Related Exams

Show Answer