School ICT Self Study
📝 View in Your Language:

Advanced Operating System Concepts

50 viewsG12-05. AL ICT Operating System
0

  1. How does an operating system’s security function protect against unauthorized access?

  2. How does disk formatting contribute to file system management?

  3. Explain context switching and its impact on system performance.

  4. Differentiate between a process and a program with an example.

  5. How does virtual memory use paging to manage memory constraints?

Spread the love
Ruwan Suraweera Changed status to publish June 22, 2025
0

Answers

  1. Answer: The OS uses authentication (e.g., passwords), access controls (e.g., permissions), and encryption to prevent unauthorized access to system resources.
    Description: Security mechanisms like user authentication and file permissions ensure only authorized users access sensitive data, as seen in Linux’s user/group-based permissions.

  2. Answer: Disk formatting protects a storage device by creating a file system structure, defining how data is stored and accessed, and erasing existing data.
    Description: Formatting sets up tracks, sectors, and file allocation tables (e.g., FAT32 or NTFS), ensuring efficient data organization and access, critical for new or corrupted drives.

  3. Answer: Context switching saves the state of a running process and loads another, enabling multitasking, but frequent switches can reduce performance due to overhead.
    Description: The OS uses the PCB to save and restore process states. Excessive switching, as in overloaded systems, increases CPU overhead, slowing performance, as seen in task-heavy Linux servers.

  4. Answer: A program is a passive set of instructions (e.g., a text editor’s code), while a process is an active instance of a program in execution (e.g., running the text editor).
    Description: A program is static, stored on disk, while a process includes runtime elements like memory and CPU usage. For example, notepad.exe is a program; its running instance is a process.

  5. Answer: Virtual memory uses paging to map virtual addresses to physical memory or disk, allowing processes to run despite limited physical RAM.
    Description: Paging divides memory into pages, swapping them to disk when RAM is full. This enables large programs to run, as seen in Windows’ pagefile.sys, but excessive swapping slows performance.

Spread the love
Ruwan Suraweera Changed status to publish June 22, 2025
You are viewing 1 out of 1 answers, click here to view all answers.
Write your answer.
Select Language:
Select Font Size: