Skip to content
SmartFigureEduExam kits ₹19

AL3452 · 2 papers compared

AL 3452 Operating Systems important questions

AL3452 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

AL 3452 — OPERATING SYSTEMS

Fourth Semester · Computer Science and Design

Prepared from 2 previous year question papers (Apr/May 2024, 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 (2/2) · Evolution of Operating System (1/2) · Operating System Structures (1/2) · Operating System Services (1/2)

Part A · 2 marks

  1. 1.
    OS is designed in different ways. In what ways modular kernel approach is similar to the layered approach? In what way they differ?

    Asked in Apr/May 2024

    (2)
  2. 2.
    What are system calls? Give some examples.

    Asked in Apr/May 2024

    (2)
  3. 3.
    List any two objectives of the Operating System.

    Asked in Apr/May 2023

    (2)
  4. 4.
    Name the System Call used to create processes on UNIX systems.

    Asked in Apr/May 2023

    (2)

Part B · 13 marks

  1. 1.
    Explain the operating system structure in detail. What is the main advantage of the layered approach to system design? What are the disadvantages of the layered approach?

    Asked in Apr/May 2024

    (13)
  2. 2.
    Explain the evolution of operating system in detail.

    Asked in Apr/May 2024

    (13)
  3. 3.
    Explain the Functions and Services of Operating Systems in detail.

    Asked in Apr/May 2023

    (13)
  4. 4.
    Discuss the various structures of Operating Systems in detail.

    Asked in Apr/May 2023

    (13)

UNIT 2Process Management

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

Part A · 2 marks

  1. 1.
    Priority inversion is a condition that occurs in real time systems where a low priority process is starved because higher priority processes have gained hold of the CPU" - Comment on this statement.

    Asked in Apr/May 2024

    (2)
  2. 2.
    What is deadlock? What is startvation? How do they differ from each other?

    Asked in Apr/May 2024

    (2)
  3. 3.
    Define Process Control Block.

    Asked in Apr/May 2023

    (2)
  4. 4.
    State any two differences between user thread and kernel thread.

    Asked in Apr/May 2023

    (2)

Part B · 13 marks

  1. 1.
    Explain the seven-state model of a process and also explain the queuing diagram for the same. Is it possible to have more than one blocked queue, if so can a process reside in more than one queue?

    Asked in Apr/May 2024

    (13)
  2. 2.
    Define: Critical Section, critical resource. Explain the need for enforcing mutual exclusion using echo function as an example in both uniprocessor and multiprocessor environment.

    Asked in Apr/May 2024

    (13)
  3. 3.
    Consider the following set of processes, with the length of the CPU burst time given in milliseconds. [Table: Process / Burst Time / Priority: P1 2 2; P2 1 1; P3 8 4; P4 4 2; P5 5 3] The processes are assumed to have arrived in the order P1, P2, P3, P4, P5, all at time 0. Sketch the diagram of Gantt chart that illustrates the execution of these processes using the following scheduling algorithms: SJF, non- preemptive priority scheduling (a larger priority number implies a higher priority). …

    Asked in Apr/May 2023

    (4+4+4+1)
  4. 4.
    An operating system uses the banker's algorithm for deadlock avoidance when managing the allocation of three resource types X, Y and Z to three processes A, B and C. There are (7, 8, 6) units of each resource type available in the system. The table given below presents the current system state. Here, the Allocation matrix shows the current number of resources of each type allocated to each process and the Max matrix shows the maximum number of resources of each type required by each process during its execution. …

    Asked in Apr/May 2023

    (13)

UNIT 3Memory Management

Most asked topics: Main Memory (1/2) · Virtual Memory (1/2) · Demand Paging (1/2) · Allocation of Frames (1/2) · Thrashing (1/2)

Part A · 2 marks

  1. 1.
    What is the difference between internal and external fragmentation?

    Asked in Apr/May 2024

    (2)
  2. 2.
    What is page fault? How is page fault frequency related to degree of multiprogramming of a computer?

    Asked in Apr/May 2024

    (2)
  3. 3.
    What is Demand Paging?

    Asked in Apr/May 2023

    (2)
  4. 4.
    Define Thrashing.

    Asked in Apr/May 2023

    (2)

Part B · 13 marks

  1. 1.
    What do you mean by virtual memory? Consider a system where the virtual memory page size is 2K (2048 bytes), and main memory consists of 4 page frames. Now consider a process which requires 8 pages of storage. At some point during its execution, the page table is as shown below: [Table: Virtual page / Presence bit / Physical Page: 0: 0, -; 1: 0, -; 2: 1, 1; 3: 0, -; 4: 1, 3; 5: 0, -; 6: 1, 0; 7: 1, 2] (i) List the virtual address ranges for each virtual page. …

    Asked in Apr/May 2024

    (13)
  2. 2.
    Explain the concept of Paged Memory Management and solve the following problem using virtual memory concept. Assume a process contains 6 virtual pages on disk and is assigned a fixed allocation of page frame in main memory. The following page trace occurs: 1 2 4 1 6 5 3 4 5 6 4 6 4 3 2 3 2 5. Show the successive pages residing in the three and four frames using (i) OPT (ii) FIFO (iii) LRU.

    Asked in Apr/May 2024

    (1+4+4+4)
  3. 3.
    (i) Distinguish Static and Dynamic Partitions of memory. (ii) Given memory partitions of 100K, 400K, 200K, 300K, and 600K. How would each of the First-fit, Best-fit, and Worst-fit algorithms place processes of 112K, 317K, 212K, and 62K? Which algorithm makes the Most efficient use of memory?

    Asked in Apr/May 2023

    (13)
  4. 4.
    (i) Describe the concept of paging and its address translation mechanism in detail. (ii) Compute the number of page faults using First In First Out (FIFO) for the following Page Reference String in which the physical memory has 3 frames. 5 3 4 0 1 2 3 6 7 5 4 0 1

    Asked in Apr/May 2023

    (13)

UNIT 4Storage Management

Most asked topics: Disk Scheduling and Management (1/2) · Access methods (1/2) · Directory Structure (1/2) · Allocation Methods (1/2) · Free Space Management (1/2)

Part A · 2 marks

  1. 1.
    What is the reason that all I/O operations are done in privileged mode?

    Asked in Apr/May 2024

    (2)
  2. 2.
    List and define the various file access methods.

    Asked in Apr/May 2024

    (2)
  3. 3.
    State Rotational Latency.

    Asked in Apr/May 2023

    (2)
  4. 4.
    Distinguish Sharable and Dedicated Device.

    Asked in Apr/May 2023

    (2)

Part B · 13 marks

  1. 1.
    Explain various file allocation method with suitable illustrations. Also discuss in detail various file organization methods.

    Asked in Apr/May 2024

    (13)
  2. 2.
    Disk requests come into the disk driver for cylinders in the following order: 10, 22, 20, 2, 40, 6 and 38. Assume that the disk has 100 cylinders. A seek takes 6 milli-second per cylinder moved. Compute the average seek time for the request sequence given above using the following scheduling algorithm. (i) First come first served. (ii) Shortest Seek Time First (SSTF). (iii) LOOK (Assume disk arm moves towards higher number cylinders from lower number cylinder). (iv) C-SCAN.

    Asked in Apr/May 2024

    (13)
  3. 3.
    Illustrate the logical structure of a file directory in detail and compare the structures.

    Asked in Apr/May 2023

    (13)
  4. 4.
    (i) Compute the total head movements (in number of cylinders) while servicing the requests using SCAN and LOOK. disk scheduling algorithms and compare the performance. Consider a disk queue with requests for I/O to disk blocks on cylinders 68, 173, 41, 102, 15, 134, 55, 67, 90, 182. The head is initially at cylinder number 50. The cylinders are numbered from 0 to 199. (ii) Write a short note on Free Space Management.

    Asked in Apr/May 2023

    (13)

UNIT 5Virtual Machines and Mobile OS

Most asked topics: Virtual Machines (2/2) · Types of Virtual Machines and their Implementations (1/2) · Mobile OS (1/2) · iOS and Android (1/2)

Part A · 2 marks

  1. 1.
    What is the significance of using virtual machines?

    Asked in Apr/May 2024

    (2)
  2. 2.
    Compare iOS and Android OS?

    Asked in Apr/May 2024

    (2)
  3. 3.
    Define para virtualization.

    Asked in Apr/May 2023

    (2)
  4. 4.
    Name the mechanism that Android uses to discover and identify activities, and services.

    Asked in Apr/May 2023

    (2)

Part B · 13 marks

  1. 1.
    Explain the features of virtual machine and also discuss the architecture in detail.

    Asked in Apr/May 2024

    (13)
  2. 2.
    Discuss in detail the system components of mobile OS. Also analyze the features of iOS and Android OS.

    Asked in Apr/May 2024

    (13)
  3. 3.
    Summarize the major types of Virtual Machines and their implementation in detail.

    Asked in Apr/May 2023

    (13)
  4. 4.
    Explain the Design Goals and the architecture of Android with a neat sketch.

    Asked in Apr/May 2023

    (13)

PART CAny unit

Part C · 15 marks

  1. 1.
    Explain the methods how deadlock can be avoided? Assume that there are three resources, A, B, and C. There are 4 processes P0 to P3. At T0, the state of the system is given below. [Table: Allocation (A B C) / Maximum (A B C) / Need (A B C): P0: 1 0 1 / 2 1 1 / 2 1 1; P1: 2 1 2 / 5 4 4 / -; P2: 3 0 0 / 3 1 1 / -; P3: 1 0 1 / 1 1 1 / -] (i) Create a need matrix. (ii) Use Banker's algorithm to check if the system in a safe state? Why or why not?

    Asked in Apr/May 2024

    (15)
  2. 2.
    Consider the execution of two processes P1 and P2 with the following CPU and I/O burst times. [Table: P1: CPU-3, Net-4, CPU-2, Disk-3; P2: CPU-4, Disk-3, CPU-3, Net-3] Each row shows the required resource for the process and the time that the process needs that resource. For example "Net 3" in fourth row says that P2 needs network card for 3 time units. …

    Asked in Apr/May 2024

    (15)
  3. 3.
    Perform a comparative analysis of the Operating Systems WINDOWS, LINUX, ANDROID and IOS based on the following features: Manufacturer; Computer Architecture; File System Supported; Memory Management Technique Used; User Friendliness; Security; Reliability; Compatibility

    Asked in Apr/May 2023

    (15)
  4. 4.
    The Fibonacci sequence is the series of numbers 0, 1, 1, 2, 3, 5, 8, etc., Formally, it can be expressed as: fib 0 = 0, fib1 = 1, fibn = fibn-1 + fibn-2. Write a multithreaded program in C that generates the Fibonacci sequence. This program should work as follows: On the command line, the user should enter the number of Fibonacci numbers that the program should generate. …

    Asked in Apr/May 2023

    (15)

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