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
If the memory map for a device starts from the offset 0x40005000 and has a size of 1024 bytes in a 32-bit addressing scheme, what will be the last address in the memory map?
Solution
Solution
Solution
What is the correct sequence of setting up first user process?
(i) Find an unused proc entry.
(ii) Create trapframe.
(iii) Create empty user process page table.
(iv) Create context for process.
(i) Find an unused proc entry.
(ii) Create trapframe.
(iii) Create empty user process page table.
(iv) Create context for process.
Solution
Consider a process A that forks process B, and process B forks process C. Process A terminates, and process B continues to execute while process C forks a new process D. What is the parent process of D?
Solution
Solution
Consider a system with a virtual memory space size of 16GB and a single page table containing 220 entries. What is the size of each page frame?
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
Solution
What is deadlock in an operating system?
Solution
Solution
Solution
Solution
In the xv6 operating system, if a process is waiting for I/O to complete, what will be the state transition of the process?
Solution
Imagine a basic Linux shell that executes the ls -l command. Which of the following lists correctly orders the system calls initiated by the shell, starting from the moment the user enters this command until the shell resumes and prompts the user for their next input?
Solution
Solution
When a process invokes the exec system call, which components in the Process Control Block (PCB) remain unchanged?
Solution
Solution
Assume the following processes are in various states:
- Process P1 is waiting for I/O to complete.
- Process P1 is waiting for I/O to complete.
Solution
Shape
Thickness [ / ]
3
All colors