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

Operating System Mid Term Question_Evening Batch

The document outlines the mid-term examination for the Operating System course at the World University of Bangladesh, detailing the structure and requirements of the exam. Students are required to answer three questions, including specific tasks related to operating system features, algorithms, and system calls. The exam covers various topics such as directory creation, multiprogramming vs multitasking, SJF algorithm, and system calls in a multi-user environment.

Uploaded by

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

Operating System Mid Term Question_Evening Batch

The document outlines the mid-term examination for the Operating System course at the World University of Bangladesh, detailing the structure and requirements of the exam. Students are required to answer three questions, including specific tasks related to operating system features, algorithms, and system calls. The exam covers various topics such as directory creation, multiprogramming vs multitasking, SJF algorithm, and system calls in a multi-user environment.

Uploaded by

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

World University of Bangladesh (WUB)

Department of Computer Science and Engineering


Mid-Term Examination
Course Title: Operating System, Course Code: CSE 06133135
Batch: 63B (Evening Batch)
Time: 1:00 hr Total marks: 15

Answer three of the following questions. You must need to answer CO marked
questions.

1. a. Suppose you want to create a directory using a command line interpreter. Now, 1
write down the steps and commands involved in this procedure for windows
based operating systems. (CO1)
b. A graphic design agency needs an operating system for its designers, who often 4
work with multiple software applications at the same time, such as image
editing, video rendering, and file transfer applications. The agency wants to
ensure that designers can switch between tasks smoothly without any
interruptions or delays. Which operating system feature—multiprogramming or
multitasking—would be more beneficial in this situation? Explain your answer
with specific reasons related to task switching and responsiveness.
.(CO1)

2. a. Illustrates SJF algorithm and its type. (CO 2) 1


b. Consider the following scenario of 5 processes with their arrival time and burst 1+3
time. Identify which algorithm between FCFS and SJF non-preemptive is
applicable to execute all the 5 process. Justify your answer with solution. (CO 2)
Process Arrival Time Burst Time
P1 2 4
P2 3 7
P3 1 3
P4 2 2
P5 7 5

3. a. An operating system acts as an intermediary between hardware and software – 2


explain this term.
b. You are working as a system administrator for a multi-user operating system. A 3
user logs into the system and needs to perform the following tasks:

I. Open a file to read some important data.


II. Write new data into an existing file.
III. Terminate the process after completing the task.

Explain how system calls are involved in this process. For each task (open file,
write data, terminate process), identify and describe the system call(s) that are
triggered by the user’s actions. How does the operating system handle these
requests?
.

4. a. State about the Batch operating system. 1

b. Interpret completion time, turnaround time (TAT), waiting time (WT), response 4
time (RT) for the following scenario using shortest job first preemptive
algorithm.
Process Arrival Time Burst Time
A1 2 1
A2 4 5
A3 3 3
A4 3 4
A5 5 3

You might also like