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

Help please D Question 1 4.2 pts What could happen if a CPU does NOT have dual-m

ID: 3848860 • Letter: H

Question

Help please

D Question 1 4.2 pts What could happen if a CPU does NOT have dual-mode ur de operation U cannot distinguish when executing kernel or user code a user process has unlimited access to other users' process memory processes tan access kernel data structures execute leged instructions that can damage the rdware and access device controller ser processes D Question 2 4.2 pts Considering the increased contention for shared resources, such as memory or network capacity, it is worthwhile to scale SMP architecture to as many processors as we can attord for all parallelizable problem True False uestion 3 4.2 pts Can an interrupt o ur while the CPU executes n kernel mode False

Explanation / Answer

1) d) The user processes can access the priviledged instructions that can damage the hardware and access device controller arbitarily.

2) FALSE .

Just by increasing the number of the parallel processing units does not satisfy the contention as the resources would still be limited

3) True

Even though kernel is non preemptive it rstill esponds to interrupt.

4) c) a divide by 0 trap (exception), interrupt is generated and the OS takes control

To handle the situation of divide by zero OS generates a trap and takes control of the execution

5) fork

The fork() method creates a new process as a child process to the caller

6) b) It is easier to program in C application with I/O library function .....

This is because the DMA is best for I/O purpose and it very efficiently perform the I/O task