Question 1 | MCQ
THIS IS QUESTION PAPER FOR THE SUBJECT "DEGREE LEVEL : OPERATING SYSTEM (COMPUTER BASED EXAM)"
ARE YOU SURE YOU HAVE TO WRITE EXAM FOR THIS SUBJECT?
CROSS CHECK YOUR HALL TICKET TO CONFIRM THE SUBJECTS TO BE WRITTEN.
(IF IT IS NOT THE CORRECT SUBJECT, PLS CHECK THE SECTION AT THE TOP FOR THE SUBJECTS REGISTERED BY YOU)
ARE YOU SURE YOU HAVE TO WRITE EXAM FOR THIS SUBJECT?
CROSS CHECK YOUR HALL TICKET TO CONFIRM THE SUBJECTS TO BE WRITTEN.
(IF IT IS NOT THE CORRECT SUBJECT, PLS CHECK THE SECTION AT THE TOP FOR THE SUBJECTS REGISTERED BY YOU)
Solution
Solution
If the memory map of the DMA controller starts from the offset 0x30001000 and has an address range of 256 bytes in a 32-bit addressing scheme, what will be the final address in the memory map?
Solution
Solution
In a cryptographic implementation where memory access patterns depend on the value of a secret key, which type of attack is likely to exploit this vulnerability?
Solution
Solution
When a process invokes the exec system call, the Process Identifier (PID) remains unchanged.
Solution
State True/false

Bob can execute the Program 1.
Bob can execute the Program 1.
Solution
Consider a system with 128 MB of physical memory and a 32-bit virtual address space. Given a page size of 8 KB, what will be the number of frames?
Solution
In the Xv6 OS, What is the correct sequence of tasks as listed below that takes place as part of timer interrupt?
(i) Supervisor mode executes (ii) CPU goes to machine mode (iii) Timer interrupt occurs (iv) The function in machine mode triggers the supervisor mode software interrupt (v) Context switch occurs
(i) Supervisor mode executes (ii) CPU goes to machine mode (iii) Timer interrupt occurs (iv) The function in machine mode triggers the supervisor mode software interrupt (v) Context switch occurs
Solution
Consider a system with three processes (P1, P2, and P3) and three resources (R1, R2 and R3). The following Resource Allocation Graph (RAG) represents the current state of resource allocation:

Based on the given Resource Allocation Graph (RAG), is there a deadlock situation present in the system?
Based on the given Resource Allocation Graph (RAG), is there a deadlock situation present in the system?
Solution
Solution
Solution
Consider the below plots representing the order in which the requests are serviced by different disk scheduling algorithms.

Match the plots with the corresponding disk scheduling algorithm.
Match the plots with the corresponding disk scheduling algorithm.
Solution
Select all the true statements about hard links.
Solution
Assume Process A is currently running, Process B and Process D are waiting for an I/O operation, and Process C was running before Process A and is now waiting for its turn. Select all the correct statements about the states of the processes.
Solution
Consider the set of 5 processes whose arrival time and burst time are given below.

If the CPU scheduling policy used is Round Robin with a time quantum of 3 units, what will be the average response time?
If the CPU scheduling policy used is Round Robin with a time quantum of 3 units, what will be the average response time?
Solution
Consider a system with four processes, P1, P2, P3, and P4, arriving at different times and needing the following CPU bursts to complete:

Assuming that the system employs the First-Come-First-Served (FCFS) scheduling algorithm, what is the average waiting time?
Note: Write up to two decimal place
Assuming that the system employs the First-Come-First-Served (FCFS) scheduling algorithm, what is the average waiting time?
Note: Write up to two decimal place
Solution
Consider a system with four processes, P1, P2, P3, and P4, arriving at different times and needing the following CPU bursts to complete:

Assuming that the system employs the Shortest Job First (SJF) scheduling algorithm, what will be the average response time?
Note: Write up to two decimal place
Assuming that the system employs the Shortest Job First (SJF) scheduling algorithm, what will be the average response time?
Note: Write up to two decimal place
Solution
Solution
For a scenario with 7 philosophers in the dining philosopher’s problem, what is the minimum number of forks necessary to ensure deadlock prevention?
Solution
Shape
Thickness [ / ]
3
All colors