Os
Os
6. What is segmentation ?
Segmentation Definition:
Segmentation is a memory management technique that divides a program into logical units or
segments, such as code, data, and stack. Each segment is independently addressable, allowing for
more efficient memory utilization and protection.
Disadvantages (4 Marks)
1. Performance Overhead (1 Mark).
2. Lack of Fine-grained Control (1 Mark).
3. Potential for Increased Complexity (1 Mark)
Security Risks (1 Mark).
12 a) Discuss how the following pairs of scheduling criteria conflict in certain settings. i) CPU utilization
and response time. iii) I/O device utilization and CPU utilization. ii) Average turn around time and
maximum waiting time (13)
12 b) Describe the differences among short-term, medium-term and long- scheduling with suitable
example
Aspect Short-term Scheduling Medium-term Scheduling Long-term Scheduling
Manages process swapping Decides which jobs are admitted
Decides which process gets the
Definition in/out of memory. (1 into the system.
CPU next. (1 Mark)
Mark) (1 Mark)
Controls memory by Controls the system’s degree of
Allocates CPU time to ready
Function swapping processes. multiprogramming.
processes. (1 Mark)
(1 Mark) (1 Mark)
Runs as needed, less Runs infrequently when
Runs very frequently (on every
Frequency frequently than short-term. processes are submitted.
clock cycle). (1Mark)
(1 Mark) (1 Mark)
Aspect Short-term Scheduling Medium-term Scheduling Long-term Scheduling
Round Robin selects a process Swapping out a process Batch jobs being admitted to the
Example
for the CPU. (1Mark) waiting for I/O. (1 Mark) system. (1 Mark)
Ensures efficient CPU usage Optimizes memory usage Prevents system overload by
Importance and system responsiveness. and prevents overload. controlling process admission.
(1Mark) (1 Mark) (1 Mark)
13 a) Draw the diagram of segmentation memory management scheme and Explain its principle.
Diagram of Segmentation Memory Management (4 Marks)
Definition and Explanation of Segmentation( 2 marks)
Segmented Memory Organization (2 Marks)
Segment Table (2 Marks)
Address Translation (2 Marks)
Advantages (1 Mark)
Disadvantages (1 Mark)
File Protection
Protection Mechanisms (3 Marks)
b. File Attributes and Permissions (2 Marks)
Challenges in File Protection (2 Marks)
Introduction to SDKs 2
Examples of SDK Architecture 9
- Android SDK 4
- iOS SDK 2
- AWS SDK 2
- Unity SDK 2
Challenges in SDK Design2
Introduction 3
Functions of Each Layer 9
- Media Layer 3
- Service Layer 3
- Core OS Layer 3
Comparison Table 2