0% found this document useful (0 votes)
13 views

AAT Assignment 1 OS

Uploaded by

Kamtam Rohan
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views

AAT Assignment 1 OS

Uploaded by

Kamtam Rohan
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

(AUTONOMOUS)

Affiliated to JNTUH, Approved by AICTE, Accredited by NAAC with A++ Grade, ISO 9001:2015
Certified Kacharam, Shamshabad, Hyderabad – 501218, Telangana, India
Department of Computer Science and Engineering
A8510– OPERATING SYSTEMS
AAT: Assignment-I CSE Academic Year: 2024-2025
Date of Assignment: 14-09-2024 Date of Submission:-25-9-2024
Target Students: II B.Tech I Sem Maximum Marks: 10
**Answer all the questions
S.No Question CO# BL# Marks

1 How can you make a distinction between Batch Processing, Multi Programming, CO1 BL4 2
and Multi-Tasking Operating Systems?

2 Write a C Program to create a process a child process and perform the following CO1 BL3 2
operations.
A) Parent Process Executes a function to return the factorial of a number. (Display
each iteration output)
B) Child Process executes a function to compute display multiplication table of a given
number.
C) Both parent and Child execute concurrently.
3 Compute the average waiting time, turnaround time, and response time for the CO2 BL3 2
following processes with the length of the CPU burst given in nanoseconds. Identify
the algorithm with the smallest average waiting, turnaround, and response times.

Processes Arrival Time Burst Time Priority


P0 5 3 0
P1 4 6 4
P2 6 4 2
P3 0 8 5
P4 3 10 3

Use the following algorithms.


1. FCFS Scheduling
2. SJF Scheduling
3. SRTF Scheduling
4. Pre-emptive Priority scheduling with lower value has high priority.
5. Round Robin Scheduling with a time quantum of 3 msec.
4 What is a message-passing system? Describe the various forms of message-passing CO2 BL4 2
systems implementation. Compare and contrast message-passing systems with
shared memory systems.
5 Why do we use semaphores? What are the operations performed on t h e CO2 BL3 2
semaphore variable? How do t h e busy waiting problem is resolved with
semaphore operations?
Explain the solution for the Readers-Writers problem using semaphores.

You might also like