FirstRanker Logo

FirstRanker.com - FirstRanker's Choice is a hub of Question Papers & Study Materials for B-Tech, B.E, M-Tech, MCA, M.Sc, MBBS, BDS, MBA, B.Sc, Degree, B.Sc Nursing, B-Pharmacy, D-Pharmacy, MD, Medical, Dental, Engineering students. All services of FirstRanker.com are FREE

📱

Get the MBBS Question Bank Android App

Access previous years' papers, solved question papers, notes, and more on the go!

Install From Play Store

Download DU (University of Delhi) B-Tech 3rd Semester 1566 Operating System Question Paper

Download DU (University of Delhi) B-Tech (Bachelor of Technology) 3rd Semester 1566 Operating System Question Paper

This post was last modified on 31 January 2020

This download link is referred from the post: MU-Mumbai University MCA Last 10 Years 2010-2020 Question Papers || University of Mumbai


FirstRanker.com
A Firstranker's choice

--- Content provided by FirstRanker.com ---

[This question paper contains 4+2 printed pages]

Roll No.

S. No. of Question Paper : 1566

Unique Paper Code : 2341301 F-3

Name of the Paper : Operating System

--- Content provided by FirstRanker.com ---

Name of the Course : B.Tech. in Computer Science

Semester : VI

Duration : 3 Hours - Maximum Marks : 75

(Write your Roll No. on the top immediately on receipt of this question paper.)

Section A is compulsory. Attempt any 4 questions from Section B.

--- Content provided by FirstRanker.com ---

Parts of a question must be answered together.

SECTION A

  1. Name the scheduler responsible for :
    1. swapping out partially executed programs
    2. controlling the degree of multiprogramming
    3. shifting a process from ready state to running state
    4. --- Content provided by FirstRanker.com ---

    5. selecting a proper mix of CPU bound and I/O bound processes.

    2

  2. List an advantage and a disadvantage of integrating the user interface into the operating system. 2
  3. What may happen if setting the value(s) of the following registers is not privileged ?
    1. CPU timer
    2. --- Content provided by FirstRanker.com ---

    3. base register and limit register

    3

  4. Differentiate between the following :
    1. system calls and system programs
    2. user level thread and kernel level thread
    3. --- Content provided by FirstRanker.com ---

    4. paging and demand paging.

    3x2

  5. Assume that you have a page-reference string for a process with m frames (initially all empty). The page reference string has length p; n distinct page numbers occur in it. Answer these questions for any page replacement algorithm.
    1. What is the lower bound on the number of page faults ?
    2. What is the upper bound on the number of page faults ?
    3. --- Content provided by FirstRanker.com ---

    2

  6. What is the purpose of keeping open file table by operating system ? 2
  7. What is need-to-know principal ? 2
  8. Explain any two program threats. 2
  9. --- Content provided by FirstRanker.com ---

  10. What are the two ways to specify the pathnames in tree structured directories ? 2
  11. What are the challenges faced by developers of handheld devices ? 2
  12. What is a dispatcher and give its various functions ? 2
  13. Why is round-robin algorithm also called as processor sharing ? 2
  14. List four necessary conditions for deadlock to occur in the system. 2
  15. --- Content provided by FirstRanker.com ---

  16. How many processes are created by the program segment given below ? Justify your answer.

    main() { fork(); fork();
    }

    5

  17. Define transfer rate and positioning time with respect to magnetic disk. 3
  18. --- Content provided by FirstRanker.com ---

SECTION B

  1. (a) Consider the following set of processes, with the length of CPU burst time given in milliseconds.
    Process Arrival Time Burst Time Priority
    P1 0 5 1 (Highest)
    P2 1 3 2
    P3 2 4 3
    P4 3 2 4
    1. Draw Gantt charts illustrating the execution of these processes using :
      1. Shortest remaining time first
      2. Priority based (non-preemptive)
      3. Round robin with time quantum = 3
    2. --- Content provided by FirstRanker.com ---

    3. What is the turnaround time of every process for each of the scheduling algorithms given in part (i) ?

    3+3

  2. (b) What is race condition ? Give an example to show race between two different processes ? 4
  3. (a) Consider a paging system with the page table stored in memory.
    1. If a memory reference takes 200 nanoseconds, how long does a paged memory reference take ? 3
    2. --- Content provided by FirstRanker.com ---

    3. If we add TLBs and 75% of all page table references are found in the TLBs, what is the effective memory access time ? Assume that the time taken to access a TLB is 20 nanoseconds.

    1+3

  4. Consider the following memory address references :

    0030, 0012, 0315, 0104, 0185, 0445, 0467, 0215, 0732, 0749, 0752, 0612, 0204, 0239, 0226, 0173, 0184, 0426, 0781, 0381, 0261, 0286, 0278, 0257, 0189, 0289, 0146, 0178.

    What will the reference string corresponding to the addresses given above (assuming page size is 100 bytes) ? Determine the number of page faults for optimal page replacement algorithm. Assume that there are three frames and all of them are initially empty.

    --- Content provided by FirstRanker.com ---

    2+4

  5. (a) Suppose the read/write head is at track 97, moving towards track 199 (the highest numbered track on the disk) and the disk request queue contains read/write requests for the sectors on tracks 84, 155, 103, 96 and 197, respectively. What is the total number of head movements needed to satisfy the requests in the queue using :
    1. SCAN

    where threads are more appropriate than processes.

  6. --- Content provided by FirstRanker.com ---

  7. Draw a resource allocation graph for the following data :

    P= {P1, P2, P3}

    R = {R1, R2, R3}

    E={P1->R1, R1->P2, P2->R3, R3->P1, R2->P2, P3->R2}

    The number of instances of R1 and R3 is 1 and R2 is 2.

    Is there a cycle in the graph ? Is the system in a deadlock state ? If not, then give reason.

    --- Content provided by FirstRanker.com ---

    5

  8. (b) Explain the three disadvantages of linked allocation. Which disadvantage can be overcome using FAT and how ? 5
  9. Write short notes (any two) :
    1. Microkernel approach
    2. Real time operating system
    3. --- Content provided by FirstRanker.com ---

    4. Segmentation.

    5+5

FirstRanker.com


--- Content provided by FirstRanker.com ---


This download link is referred from the post: MU-Mumbai University MCA Last 10 Years 2010-2020 Question Papers || University of Mumbai