Question 1 | MCQ
THIS IS QUESTION PAPER FOR THE SUBJECT "DEGREE LEVEL : OPERATING SYSTEMS (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 interrupt controller starts from the offset 0x20000000 and has an address range 128 bytes in a 32-bit addressing scheme then what will be the final address in the memory map?
Solution
Assume that process A (parent) is (voluntarily) trying to create a daemon process B (child).
Statement 1: exit system call must be called by process A.
Statement 2: wait system call must be called by process B. Choose the correct answer from below.
Statement 1: exit system call must be called by process A.
Statement 2: wait system call must be called by process B. Choose the correct answer from below.
Solution
Solution
Solution
What is the correct sequence of steps that an attacker would do to inject a payload into the stack using buffer overflow vulnerabilty?
(i) Put machine code in string larger than the buffer (ii) Get machine codes of payload (iii) Find buffer overflow vulnerability in an application (iv) Copy large string into buffer
(i) Put machine code in string larger than the buffer (ii) Get machine codes of payload (iii) Find buffer overflow vulnerability in an application (iv) Copy large string into buffer
Solution
Select all the incorrect statement(s) about CPU cores in the xv6 Operating System.
Solution
Assume process A is waiting for an input, process B is running, and process C was running before process B and is now waiting for its turn to run. Select all the correct statements from below.
Solution
Choose all the correct statements about the exec system call.
Solution
Assume a trap occurs due to a system call while in usermode. Which of the following functions are not called while handling the trap?
Solution
Choose all the correct statements regarding CLV (Constant Linear Velocity).
Solution
Consider the size of the virtual memory space is 4 GB, and the size of each page frame is 4 KB. What is the number of entries in the page table?
Solution
Solution
Solution
In xv6 operating system, trapframe struct holds the register context of a process when an interrupt occurs.
Solution
Match the following

Solution
Solution
Solution
Consider the scenario given below in which the requests are serviced by C-SCAN disk scheduling algorithm.
Start: 12, tracks requested: [11, 0, 3, 4, 14, 8, 17, 9, 1].
Assume there are only 21 tracks in the disk numbered from 0 to 20.
What is the total number of head movements required to service all the requests using the C- SCAN algorithm?
Start: 12, tracks requested: [11, 0, 3, 4, 14, 8, 17, 9, 1].
Assume there are only 21 tracks in the disk numbered from 0 to 20.
What is the total number of head movements required to service all the requests using the C- SCAN algorithm?
Solution
Solution
For a scenario with 8 philosophers in the dining philosopher’s problem, what is the minimum number of forks necessary to ensure deadlock prevention?
Solution
Solution
Solution
Solution
Solution
Shape
Thickness [ / ]
3
All colors