Filters
Question type

Study Flashcards

SMP systems that use multicore processors typically run faster than SMP systems that place each processor on separate cores.

Correct Answer

verifed

verified

The ready queue can be implemented as a _______________.


A) FIFO queue
B) priority queue
C) tree
D) unordered linked list
E) all of the above

Correct Answer

verifed

verified

For interactive systems, it is more important to minimize ________.


A) the average response time
B) the average turnaround time
C) the variance in response time
D) the waiting time

Correct Answer

verifed

verified

The default scheduling class for a process in Solaris is ____.


A) time sharing
B) system
C) interactive
D) real-time

Correct Answer

verifed

verified

In Solaris, if an interactive thread with priority 25 is waiting for I/O, what is its priority recalculated to when it is eligible to run again?


A) 15
B) 120
C) 52
D) It remains at 25

Correct Answer

verifed

verified

In Pthread real-time scheduling, the SCHED_FIFO class provides time slicing among threads of equal priority.

Correct Answer

verifed

verified

Which of the following circumstances can cooperative scheduling take place?


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

Correct Answer

verifed

verified

In Windows, how does the dispatcher determine the order of thread execution?

Correct Answer

verifed

verified

The dispatcher uses a 32-level priority ...

View Answer

Systems using a one-to-one model (such as Windows, Solaris , and Linux) schedule threads using process-contention scope (PCS).

Correct Answer

verifed

verified

Load balancing algorithms have no impact on the benefits of processor affinity.

Correct Answer

verifed

verified

Which of the following processes usually have highest priority?


A) real-time processes
B) system processes
C) interactive processes
D) batch processes

Correct Answer

verifed

verified

Which of the following is preemptive?


A) rate-monotonic scheduling
B) earliest-deadline-first scheduling
C) both of the above
D) none of the above

Correct Answer

verifed

verified

Which of the following scheduling algorithms must be nonpreemptive?


A) SJF
B) RR
C) FCFS
D) priority algorithms

Correct Answer

verifed

verified

Which of the following scheduling algorithm may suffer from convoy effect?


A) SJF
B) FCFS
C) RR
D) Multilevel queue

Correct Answer

verifed

verified

A significant problem with priority scheduling algorithms is _____.


A) complexity
B) starvation
C) determining the length of the next CPU burst
D) determining the length of the time quantum

Correct Answer

verifed

verified

The Completely Fair Scheduler (CFS) is the default scheduler for Linux systems.

Correct Answer

verifed

verified

The length of a time quantum assigned by the Linux CFS scheduler is dependent upon the relative priority of a task.

Correct Answer

verifed

verified

A multicore system allows two (or more) threads that are in compute cycles to execute at the same time.

Correct Answer

verifed

verified

Providing a preemptive, priority-based scheduler guarantees hard real-time functionality.

Correct Answer

verifed

verified

Explain the process of starvation and how aging can be used to prevent it.

Correct Answer

verifed

verified

Starvation occurs when a process is read...

View Answer

Showing 21 - 40 of 57

Related Exams

Show Answer