Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Help me answer any of this following. 34. Select the two major functions of a device driver d Accept abstract I/O requests from the device-independent

image text in transcribed

Help me answer any of this following.

34. Select the two major functions of a device driver d Accept abstract I/O requests from the device-independent software, and Control the device. b. Control the device, and Communicate with BUS c. Handle interrupts, and Control the device d. Control the device, and Manage DMA 35. Which of the following events will cause processes to be created? a. System calls b. Interrupt handling c. System initialization d. System failures ow usually called down and up. Which of the following 36. Dijkstra proposed having two operations on semaphores, n properties must be guaranteed for the two operations? a. Mutual exclusion b. Atomic c. Running in kernel e. Running in background 37. Which of the following process scheduling algorithms may cause the starvation (i.e., some process will never have a chance to run)? a. First-Come, First-Serve b. Shortest job first c. Round-robin d. Fair-Share 38. For decimal virtual addresses 32768, compute the virtual page number and offset for a 4-KB page: a. Page 4, offset 0 b. Page 8, offset 0 c. Page 4, offset 128 d. Page 8, offset 128 39. Suppose that a machine has 40-bit virtual addresses and 32-bit physical addresses. If pages are 1MB, how many entries are in the page table if it has only a single level? 20 a. b. 212 3:0 C. d. 232 40. Consider the page sequence of Fig. 3-15(b). Suppose that the R bits for the pages B through A are 11011011, respectively. Which page will second chance remove? In Fig. 3-15(a) we see pages A through H kept on a linked list and sorted by the time they arrived in memory Page loaded first 0 3 7B12 14 15 18 12 14 15 18 Most reently 18loaded page A is treated llke a newly loaded page a, B b, A c. D d. G 3 7 812 14 1518 20 Figure 3-15. Operation of secoud chance. ()Pages sorted in FIFO oxder. (b) Page list if a page fault occurs at time 20 and A has its R bit set. Tbe numbers above the pages are their load times

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Advanced Database Systems For Integration Of Media And User Environments 98

Authors: Yahiko Kambayashi, Akifumi Makinouchi, Shunsuke Uemura, Katsumi Tanaka, Yoshifumi Masunaga

1st Edition

9810234368, 978-9810234362

Students also viewed these Databases questions