User-level and kernel-level threads


Q1. Let consider a logical address space of 8 pages of 1024 words each, mapped to a physical memory of 32 frames. Determine the number of bits which are there in the logical and physical addresses?

Q2. Some of the systems automatically delete all user files whenever a user logs off or a job terminates, unless the user explicitly requests to keep them; other systems keep all the files unless the user explicitly deletes them. Describe the relative advantages of each approach.

Q3. By using non preemptive scheduling, determine the average turnaround time for each process by using:

a) FCFS
b) SJF
c) If CPU is left idle for the first 1 unit and then SJF scheduling is used

Q4. Compute the number of disk accesses required to read 20 consecutive logical blocks of a file in a system with:

a) Contiguous allocation
b) Linked allocation
c) Indexed allocation

Q5. Explain the differences between the logical and physical addresses.

Q6. Illustrate the differences between the user-level threads and kernel-level threads? Under what conditions is one type better than the other?    

Request for Solution File

Ask an Expert for Answer!!
Operating System: User-level and kernel-level threads
Reference No:- TGS011757

Expected delivery within 24 Hours