Docsity

operating system Question paper (2026-27), Exams of Operating Systems

Partial preview of the text

Download operating system Question paper (2026-27) and more Exams Operating Systems in PDF only on Docsity!

CSIT150 4 391 SECTION — C (16 Marks) (Compulsory) 9. (a) CASE STUDY: Examine various editors present in Linux and write a shell script to give the result of the student. Take marks of the five subjects, student name, roll no , percentage and show a message whether a student gets division as per the following rules: * 70% and above ----- distinction + 60%-70% ----- first division + 40%-59% ----- second division + Less than 40% ----- fail (8) (b) Explain First-fit placement and best-fit placement of jobs during memory allocation, also analyse the better approach in them. (4) (c) Consider a process requesting to read from the following tracks :- 98, 183, 37, 122, 14, 124, 65, 67. Calculate total head movement in tracks in FCFS, SSTF, SCAN and C-SCAN algorithms of disk scheduling. Assume if the disk head is initially at 53. (4) (1000) [No. of Printed Pages — 4] 391 CSIT150 Boob NO. neo weaess [ET] END SEMESTER EXAMINATION : APRIL-MAY, 2024 PRINCIPLES OF OPERATING SYSTEMS , Time: 3 Hrs. Maximum Marks : 60 Note: Attempt questions from all sections as directed. SECTION - A (24 Marks) Attempt any four questions out of five. Each question carries 06 marks. 1. Discuss the objective of operating system? Explain multiprogramming operating system with suitable example. 2. What do you mean by process synchronization? Discuss its need and concept of critical section. 3. Explain time sharing CPU scheduling algorithm with suitable example. Lets consider 3 processes with same arrival time are executing together with quanta value 3 then design gantt chart for this situation and calculate its average waiting time and average turn around time. Pals CSIT150 2 391 4. Compare and contrast clearly between Contiguous and non-contiguous memory allocation and thread. What are different types of directory structures in operating system? Also explain the need of file and directory management in operating system. SECTION - B (20 Marks) Attempt any two questions out of three. Each question carries 10 marks. (a) Discuss operating system structure and is parts with suitable diagram and also analyse the need of operating system. (5) (b) Analyse following Unix/Linux commands and examine their importance : (5) * cp Command * mv command * mkdir Command * cat(append) Command + rmdir Command CSIT150 3 391 ths J 8 (a) Explain the concept and procedure of system calls. Discuss How operating system handled a system call. (5) (b) Discuss the need of vi editor to write shell script in UNIX. Write down the steps to write a program to check a number is prime or not. (5) (a) Consider a system with a set of Processes and their CPU burst time and arrival times being as below. Process CPU Burst Arrival time time Pl 3 0 iP? 5 3 P3 4 3 P4 3 2 BS 7 4 Compute the Average waiting time and turnaround time using Round Robin algorithm with Time Quantum 2. (5) (b) Explain the concept and procedure of system calls. Discuss How operating system handled a system call. (5) PeT;O;