Skip to content
SmartFigureEduExam kits ₹19

CS3451 · 4 papers compared

CS 3451 Introduction to Operating Systems important questions

CS3451 exam kitRepeated questions + all papers, 1 PDF

Exam kit

Needed by the payment gateway. Not shared or used for marketing.

Secure payment by Cashfree Payments (UPI, cards, net banking). One-time payment, no subscription. The payment page may show StrangerYaar, the business that processes payments for SmartFigure.Terms · Refunds

ANNA UNIVERSITY · REGULATION 2021

Important Questions

CS 3451 — INTRODUCTION TO OPERATING SYSTEMS

Fourth Semester · Computer Science and Engineering

Prepared from 4 previous year question papers (Nov/Dec 2024, Apr/May 2024, Nov/Dec 2023, Apr/May 2023). Every question was compared with the others of its unit; the ones asked more than once come first. "Most asked topics" shows in how many different exams a syllabus topic had a question.

UNIT 1Introduction

Most asked topics: System Calls (4/4) · Operating System Services (2/4) · User Operating System Interface (2/4) · Objectives and Functions (1/4) · Operating System Structures (1/4) · System Programs (1/4)

Part A · 2 marks

  1. 1.
    Define Operating Systems.

    Asked 2 times: Nov/Dec 2024, Apr/May 2023

    (2)
  2. 2.
    What is the purpose of system calls?

    Asked 2 times: Apr/May 2024, Nov/Dec 2023

    (2)
  3. 3.
    List out different services of operating systems.

    Asked in Nov/Dec 2024

    (2)
  4. 4.
    How does an interrupt differ from a trap?

    Asked in Apr/May 2024

    (2)
  5. 5.
    "OS is a control program". Justify the statement with an example scenario.

    Asked in Nov/Dec 2023

    (2)
  6. 6.
    List the services of OS.

    Asked in Apr/May 2023

    (2)

Part B · 13 marks

  1. 1.
    Explain the following terms with necessary illustrations. (i) Buffering (ii) Spooling (iii) Time sharing systems (iv) Distributed systems (v) Real-time systems.

    Asked in Nov/Dec 2024

    (13)
  2. 2.
    What are system calls? Explain different categories of system calls with examples.

    Asked in Nov/Dec 2024

    (13)
  3. 3.
    (i) What is the main difficulty that a programmer must overcome in writing an operating system for a real-time Environment? (ii) Describe three general methods for passing parameters to the operating system.

    Asked in Apr/May 2024

    (13)
  4. 4.
    (i) Consider a computing cluster consisting of two nodes running a database. Describe two ways in which the cluster software can manage access to the data on the disk. Discuss the benefits and disadvantages of each. (ii) List five services provided by an operating system, and explain how each creates convenience for users. In which cases would it be impossible for user-level programs to provide these services? Explain your answer.

    Asked in Apr/May 2024

    (13)

UNIT 2Process Management

Most asked topics: Deadlock (4/4) · Processes (3/4) · Semaphores (2/4) · Deadlock avoidance (2/4) · Process Scheduling (1/4) · CPU Scheduling (1/4)

Part A · 2 marks

  1. 1.
    What do you mean by cooperating process?

    Asked in Nov/Dec 2024

    (2)
  2. 2.
    Define IPC.

    Asked in Nov/Dec 2024

    (2)
  3. 3.
    Define the process states.

    Asked in Apr/May 2024

    (2)
  4. 4.
    What are the threading issues?

    Asked in Apr/May 2024

    (2)
  5. 5.
    Draw the life cycle of a process.

    Asked in Nov/Dec 2023

    (2)
  6. 6.
    Compare process creation and thread creation in terms of economy.

    Asked in Nov/Dec 2023

    (2)

Part B · 13 marks

  1. 1.
    (i) Explain the difference between long-term, short-term, and medium-term schedulers. (ii) Discuss about threads.

    Asked in Nov/Dec 2024

    (13)
  2. 2.
    (i) Explain deadlock prevention and avoidance. (ii) Given 3 processes, A, B and C, three resources, x, y, and z and following events, (i) A requests x (ii) A requests y (iii) B requests y (iv) B requests z (v) C requests z (vi) C requests x (vii) C requests y Assume that requested resources should always be allocated to the request process if available. Draw the resource allocation graph for the sequences. Also, mention whether it is a deadlock. If it is, how to recover from the deadlock.

    Asked in Nov/Dec 2024

    (13)
  3. 3.
    (i) Describe how processes are created and terminated in an operating system. (ii) Give an example of a situation in which ordinary pipes are more suitable than named pipes and an example of a situation in which named pipes are more suitable than ordinary pipes.

    Asked in Apr/May 2024

    (13)
  4. 4.
    (i) Describe how deadlock is possible with the dining-philosopher's problem. (ii) Consider the following snapshot of a system. (2+2+2) [Table: Allocation (ABCD) / Max (ABCD) / Available (ABCD): T0 0012 / 0012 / 1520; T1 1000 / 1750; T2 1354 / 2356; T3 0632 / 0652; T4 0014 / 0656] Answer the following questions using the banker's algorithm: (1) What is the content of the matrix Need? (2) Is the system in a safe state? (3) If a request from thread T1 arrives for (0,4,2,0) can the request be granted immediately

    Asked in Apr/May 2024

    (13)

UNIT 3Memory Management

Most asked topics: Page Replacement (3/4) · Demand Paging (2/4) · Swapping (1/4) · Virtual Memory (1/4) · Thrashing (1/4)

Part A · 2 marks

  1. 1.
    What is address binding?

    Asked in Nov/Dec 2024

    (2)
  2. 2.
    What is page fault, and how is it handled?

    Asked in Nov/Dec 2024

    (2)
  3. 3.
    What is the purpose of paging the page tables?

    Asked in Apr/May 2024

    (2)
  4. 4.
    Define the benefits of virtual memory.

    Asked in Apr/May 2024

    (2)
  5. 5.
    What is trashing?

    Asked in Nov/Dec 2023

    (2)
  6. 6.
    List the advantages of demand paging.

    Asked in Nov/Dec 2023

    (2)

Part B · 13 marks

  1. 1.
    Consider the following page-reference string 7 0 1 2 0 3 0 4 2 3 0 3 2 1 2 0 1 7 0 1 2 3 4. (i) How many Page hits would occur in the following page replacement algorithms, assuming four-page frames? Remember that all frames are initially empty, so your first unique pages will all cost one fault each. - Least-Recently-Used (2) - First-In-First-Out replacement (2) - Optimal replacement. (3) (ii) Calculate the hit ratio for each of the above algorithms. (iii) Which algorithm is the best for the above case and why?

    Asked 2 times: Nov/Dec 2024, Apr/May 2023

    (13)
  2. 2.
    (i) Explain paging scheme of memory management. (ii) Discuss about the different memory allocation techniques.

    Asked in Nov/Dec 2024

    (13)
  3. 3.
    (i) Explain the difference between internal and external fragmentation. (ii) On a system with paging, a process cannot access memory that it does not own. Why? How could the operating system allow access to additional memory? Why should it or should it not?

    Asked in Apr/May 2024

    (13)
  4. 4.
    (i) Illustrate how pages are loaded into memory using demand paging. (ii) Under what circumstances do page faults occur? Describe the actions taken by the operating system when a page fault occurs.

    Asked in Apr/May 2024

    (13)

UNIT 4Storage Management

Most asked topics: I/O Systems (3/4) · Free Space Management (2/4) · File-System Interface (1/4) · Access methods (1/4) · Directory Structure (1/4) · Directory organization (1/4)

Part A · 2 marks

  1. 1.
    Write short notes on free space management.

    Asked 2 times: Apr/May 2024, Nov/Dec 2023

    (2)
  2. 2.
    Name the three methods of allocating disk space for file systems.

    Asked in Nov/Dec 2024

    (2)
  3. 3.
    List the operations that can be performed on the directory.

    Asked in Nov/Dec 2024

    (2)
  4. 4.
    State the functions of file system.

    Asked in Apr/May 2024

    (2)
  5. 5.
    List the various file access methods.

    Asked in Nov/Dec 2023

    (2)
  6. 6.
    What is a sequential-access file?

    Asked in Apr/May 2023

    (2)

Part B · 13 marks

  1. 1.
    Write short notes on: (i) Directory organization. (ii) File system mounting. (iii) Kernel (I/O) system.

    Asked in Nov/Dec 2024

    (13)
  2. 2.
    Suppose that a disk drive has 5000 cylinders numbered 0 to 4999 the drive currently services a request at cylinder 143, and the previous request was at cylinder 125. the queue of pending requests in the FIFO order is 86, 1470, 913, 1774, 948, 1509, 1022, 1750 and 130. Starting from the current position, what is the total distance (in cylinders) that the disk arm moves to satisfy all pending requests for each of the following algorithms: (i) FCFS (ii) SSFT (iii) SCAN (iv) LOOK (v) C-SCAN.

    Asked in Nov/Dec 2024

    (13)
  3. 3.
    (i) Is disk scheduling, other than FCFS scheduling, useful in a single-user environment? Explain your answer. (ii) Describe three circumstances under which blocking I/O should be used. Describe three circumstances under which nonblocking I/O should be used.

    Asked in Apr/May 2024

    (13)
  4. 4.
    (i) Consider a file system in which a file can be deleted and its disk space reclaimed while links to that file still exist. What problems may occur if a new file is created in the same storage area or with the same absolute path name? How can these problems be avoided? (ii) Contrast the performance of the three techniques for allocating disk blocks (contiguous, linked, and indexed) for both sequential and random file access.

    Asked in Apr/May 2024

    (13)

UNIT 5Virtual Machines and Mobile OS

Most asked topics: Virtual Machines (3/4) · iOS and Android (2/4) · Benefits and Features (1/4) · Types of Virtual Machines and their Implementations (1/4) · Virtualization and Operating-System Components (1/4) · Mobile OS (1/4)

Part A · 2 marks

  1. 1.
    Define virtualization.

    Asked in Nov/Dec 2024

    (2)
  2. 2.
    State the merits of Android OS.

    Asked in Nov/Dec 2024

    (2)
  3. 3.
    What is paravirtualization?

    Asked in Apr/May 2024

    (2)
  4. 4.
    What is the major design goal for the android platform?

    Asked in Apr/May 2024

    (2)
  5. 5.
    What are the benefits of virtual machines?

    Asked in Nov/Dec 2023

    (2)
  6. 6.
    List any two components that are unique for mobile OS.

    Asked in Nov/Dec 2023

    (2)

Part B · 13 marks

  1. 1.
    Distinguish the various functional behaviors of IOS and Android with suitable examples.

    Asked in Nov/Dec 2024

    (13)
  2. 2.
    Explain the concept of virtual machines with a suitable sketch. Also, bring out its benefits and features.

    Asked in Nov/Dec 2024

    (13)
  3. 3.
    (i) Describe four virtualization-like execution environments, and explain how they differ from "true" virtualization. (ii) Why are VMMs unable to implement trap-and-emulate-based virtualization on some CPUs? Lacking the ability to trap and emulate, what method can a VMM use to implement virtualization?

    Asked in Apr/May 2024

    (13)
  4. 4.
    (i) Describe the three types of traditional hypervisors. (ii) Discuss about the mobile operating system with suitable example.

    Asked in Apr/May 2024

    (13)

PART CAny unit

Part C · 15 marks

  1. 1.
    Consider the 5 processes, A, B, C, D and E, as shown in the table. The highest number has low Priority. Find The completion order of the 5 processes under the policies. [Table: Process - Arrival Time - Burst Time - Priority: A - 0 - 6 - 3; B - 2 - 4 - 4; C - 4 - 2 - 3; D - 7 - 4 - 2; E - 11 - 2 - 1] (i) Draw four Gantt charts illustrating the execution of these processes using FCFS, pre-emptive SJF, non-pre-emptive Priority and RR (Quantum= 2) scheduling. …

    Asked in Nov/Dec 2024

    (15)
  2. 2.
    Represent and explain the drawback of the typical 'Semaphore" solution to Dining Philosophers' problem with pseudo code, and also provide a solution to remedy the drawback.

    Asked in Nov/Dec 2024

    (15)
  3. 3.
    Assume that a program has just referenced an address in virtual memory. Describe a scenario in which each of the following can occur. (If no such scenario can occur, explain why) (i) TLB miss with no page fault (ii) TLB miss with page fault (iii) TLB hit with no page fault (iv) TLB hit with page fault

    Asked in Apr/May 2024

    (3+4+4+4)
  4. 4.
    Apply the (i) FIFO, (ii) LRU, and (iii) optimal (OPT) replacement algorithms for the page-reference strings: 4, 2, 1, 7, 9, 8, 3, 5, 2, 6, 8, 1, 0, 7, 2, 4, 1, 3, 5, 8 Indicate the number of page faults for each algorithm assuming demand paging with three frames.

    Asked in Apr/May 2024

    (5+5+5)
  5. 5.
    Consider three processes, all arriving at time zero, with total execution time of 10, 20 and 30 units respectively. Each process spends the first 20% of execution time doing I/O, the next 70% of time doing computation, and the last 10% of time doing I/O again. The operating system uses a shortest remaining compute time first scheduling algorithm and schedules a new process either when the running process gets blocked on I/O or when the running process finishes its compute burst. …

    Asked in Nov/Dec 2023

    (15)
  6. 6.
    Consider the following scenario. There are 4 segments in a program of sizes, A0=400B, A1=100B, A2=21B and A3=365B. Assume that the main memory address ranges from 0 to 1999, among which the following are the available free slots: 50-350, 450-500, 670-1060 and 1200-1850. …

    Asked in Nov/Dec 2023

    (15)

A question asked once is no guarantee for the next exam; cover the full CS3451 syllabus. Read the papers themselves:Nov/Dec 2024, Apr/May 2024, Nov/Dec 2023, Apr/May 2023.