Unit6 - Subjective Questions

CSE316 • Practice Questions with Detailed Answers

1

Explain the various file attributes that the operating system maintains.

2

Distinguish between Sequential Access and Direct Access methods.

3

Describe the Tree-Structured Directory and Acyclic-Graph Directory structures. Highlighting their advantages and disadvantages.

4

Explain the concept of File System Mounting.

5

Compare Contiguous, Linked, and Indexed allocation methods.

6

Explain the Access Matrix model of protection.

7

Discuss how Free-Space Management is handled using a Bit Vector and a Linked List.

8

Explain Directory Implementation using Linear Lists and Hash Tables.

9

Differentiate between Dedicated, Shared, and Virtual devices.

10

Suppose a disk drive has 200 cylinders, numbered 0 to 199. The drive is currently serving a request at cylinder 53. The queue of pending requests, in FIFO order, is:

Calculate the total head movement for FCFS and SSTF disk scheduling algorithms.

11

Compare SCAN and C-SCAN disk scheduling algorithms.

12

What are Channels and Control Units in the context of Direct Access Storage Devices (DASD)?

13

Differentiate between Serial Access and Direct Access devices with examples.

14

What is Inter Process Communication (IPC)? Why is it required?

15

Explain the concept of Pipes in IPC. Distinguish between anonymous and named pipes.

16

Describe the usage of popen and pclose functions in the context of pipes.

17

Explain the Shared Memory method for IPC. How is it different from Message Passing?

18

What are Message Queues in IPC? List their characteristics.

19

Explain FIFOs (Named Pipes) in detail.

20

Discuss the Unix Inode structure as an example of Linked/Indexed allocation.