Unit6 - Subjective Questions

CSE316 • Practice Questions with Detailed Answers

1

Explain the concept of File Attributes. List and describe at least five common attributes associated with a file.

2

Compare and contrast Sequential Access and Direct Access methods.

3

Discuss the Tree-Structured Directory and Acyclic-Graph Directory structures. What specific problem does the Acyclic-Graph structure solve that the Tree structure cannot?

4

Describe the Contiguous Allocation method. What are its advantages and disadvantages?

5

Explain Linked Allocation and Indexed Allocation methods. How does Indexed Allocation resolve the drawbacks of Linked Allocation?

6

What is Free-Space Management? Describe the Bit Vector and Linked List approaches.

7

Explain the concept of File System Mounting.

8

Discuss Directory Implementation using Linear Lists and Hash Tables. Compare their time complexities.

9

Differentiate between Dedicated, Shared, and Virtual devices in the context of device management.

10

Consider a disk queue with requests for I/O to blocks on cylinders: 98, 183, 37, 122, 14, 124, 65, 67. The disk head is initially at cylinder 53. Calculate the total head movement for FCFS and SSTF scheduling algorithms.

11

Explain the SCAN (Elevator) and C-SCAN (Circular SCAN) disk scheduling algorithms.

12

What are Direct Access Storage Devices (DASD)? Explain the role of Channels and Control Units in accessing these devices.

13

Define Inter Process Communication (IPC). Why is it necessary? List common IPC methods.

14

Explain the operation of Pipes in IPC with specific reference to popen and pclose functions.

15

What is Shared Memory in the context of IPC? Explain the Producer-Consumer problem using Shared Memory.

16

Differentiate between Ordinary Pipes and Named Pipes (FIFOs).

17

Explain the concept of Message Queues in IPC.

18

Describe the Access Control List (ACL) mechanism for file protection.

19

Distinguish between Serial Access Devices and Direct Access Devices with examples.

20

What are the advantages of Memory-Mapped Files utilizing shared memory?