• Tidak ada hasil yang ditemukan

Department of Computer Science and Engineering

N/A
N/A
Protected

Academic year: 2023

Membagikan "Department of Computer Science and Engineering"

Copied!
2
0
0

Teks penuh

(1)

Daffodil International University

Department of Computer Science and Engineering

Faculty of Science & Information Technology

Midterm Examination, spring 2021 @ DIU Blended Learning Center Course Code: CSE 323 Course Title: Operating Systems

Level: 3 Term: 2 Section: EVE-B

Instructor: Shahriar Parvej Modality: Open Book Exam Date: Sunday; 14 March, 2021 Time: 6:00-8:30pm

Two and half hours (2:30) to support online open/case study based assessment Marks: 25 [Answer all of the questions]

1. I. “OS is a resource allocator and control program” is this statement true? Explain your answer.

3.0

II. The ios and the android os has different structures. Which one do you think more feasible? Why do you choose your selected operating system structure and why not other? Explain.

2.0

2 I “PCB plays an important role in CPU switching” – Do you agree? Give proper explanation.

3.0

II Do you think that a process state may vary from time to time? Explain in detail. 2.0 3. I. Draw the gantt chart and find out the total idle time, average waiting time and response

time for the following processes in round robin? TQ= [(your ID % 3) +1].

For example, Your ID= 181151234. Your ID % 3 = 2. Therefore, TQ=2+1=3.

8.0

Process Arrival Time Burst Time

J1 9 2

J2 7 3

J3 7 6

J4 4 7

J5 6 3

J6 1 2

(2)

II. Draw the gantt chart and determine the total idle time, average waiting time and total turn-around time for the following processes in preemptive priority scheduling

algorithm? If your ID is an odd number, 0 is the maximum priority. Otherwise, 0 is the lowest priority.

Process Arrival Time Burst Time Priority

J1 0 4 4

J2 3 2 0

J3 6 5 3

J4 9 5 1

J5 6 7 1

7.0

Good Luck

Referensi

Dokumen terkait

Aminul Haque Internal Examiner Assistant Professor & Associate Head Department of Computer Science and Engineering Faculty of Science & Information Technology Daffodil

Syed Akhter Hossain Chairman Professor and Head Department of Computer Science and Engineering Faculty of Science & Information Technology Daffodil International University Dr..