Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

URGENT I NEED HELP QUICK CORRECT ANSWERS PLEASE Question 5 5 pts In an alternate

ID: 3866517 • Letter: U

Question

URGENT I NEED HELP QUICK CORRECT ANSWERS PLEASE

Question 5 5 pts In an alternate universe Bill Gates decides to make MS-DOS 1.0 a preemptive kernel in order to support multitasking. How should he protect critical sections on the IBM PC clones existing in the early 1980s? O atmic compare and swap spinlocks O busy waiting O disable interrupts during critical sections O use Peterson's algorithm Question 6 5 pts The value of a counting semaphore initialized with 1 is now-4. How many processes are waiting on it? Question 7 5 pts How should one protect very short critical sections in a preemptive kernel running on a multicore system? O O O disabling interrupts during critical sections using atomic operations using mutex locks with spinlocks

Explanation / Answer

5.

In an alternate universe Bill Gates decides to make MS-DOS 1.0 a preemptive kernel in order to support multitasking. Use peterson's algorithm he protect critical sections on the IBM PC clones existing in the early 1980s.

Option 4 is correct.

6.

The number of process waiting = semaphore initial value - present value

The number of process waiting = 1-(-4)=57.

7.

One protect very short critical sections in a preemptive kernel running on a multicore system with snippest lock.

Option 4 correct.

8.

yes.

Option 2 correct.