MauryaHub PYQ Practice

Operating System · Quiz 1 · Jan 2025

Operating System · Quiz 1 · Jan 2025

← Course papers · Start practice / exam

This page contains the reliably extracted subset, not the complete original paper.

Questions and published explanations below are available without starting a test. Some questions may not have a published solution yet.

0 / 18 published solutions

Question 163 MCQ · 3.0 marks

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?
6406533771330.
0x400053FF
6406533771331.
0x40005400
6406533771332.
0x400052FF
6406533771333.
0x40004FFF

A published solution is not available for this question yet.

Report a correction for Q163

Question 164 MCQ · 3.0 marks

Source diagram or notation
6406533771334.
Sizes of all the registers are 4-byte.
6406533771335.
Sizes of ‘config_reg‘, ‘status_reg‘, and ‘counter_reg‘ are 4-byte, 1-byte, and 2- byte respectively.
6406533771336.
Sizes of ‘config_reg‘, ‘status_reg‘, and ‘counter_reg‘ are 2-byte, 1-byte, and 2- byte respectively.
6406533771337.
Sizes of ‘config_reg‘, ‘status_reg‘, and ‘counter_reg‘ are 1-byte, 2-byte, and 4- byte respectively.

A published solution is not available for this question yet.

Report a correction for Q164

Question 165 MCQ · 3.0 marks

Source diagram or notation
6406533771356.
Both the parent and child processes execute the ‘ls‘ command concurrently.
6406533771357.
The child process executes the ‘ls -l‘ command, and the parent process waits for it to complete.
6406533771358.
The parent process executes the ‘ls -l‘ command, and the child process terminates.
6406533771359.
None of these

A published solution is not available for this question yet.

Report a correction for Q165

Question 166 MCQ · 3.0 marks

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.
6406533771360.
(i) → (ii) → (iii) → (iv)
6406533771361.
(i) → (iii) → (ii) → (iv)
6406533771362.
(ii) → (i) → (iii) → (iv)
6406533771363.
(ii) → (i) → (iv) → (iii)

A published solution is not available for this question yet.

Report a correction for Q166

Question 167 MCQ · 3.0 marks

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?
6406533771370.
Process A
6406533771371.
Process B
6406533771372.
Process C
6406533771373.
Process init
6406533771374.
None of these

A published solution is not available for this question yet.

Report a correction for Q167

Question 168 MCQ · 3.0 marks

Source diagram or notation
6406533771388.
The base address of the process’s memory.
6406533771389.
The number of system calls handled by the kernel.
6406533771390.
The number identifying the requested system call.
6406533771391.
The priority level of the process.

A published solution is not available for this question yet.

Report a correction for Q168

Question 169 MCQ · 4.0 marks

Consider a system with a virtual memory space size of 16GB and a single page table containing 2\(^{20}\) entries. What is the size of each page frame?
6406533771340.
64 KB
6406533771341.
16 KB
6406533771342.
8 KB
6406533771343.
32 KB

A published solution is not available for this question yet.

Report a correction for Q169

Question 170 MCQ · 4.0 marks

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?
6406533771344.
2\(^{16}\) frames
6406533771345.
2\(^{15}\) frames
6406533771346.
2\(^{13}\) frames
6406533771347.
2\(^{17}\) frames

A published solution is not available for this question yet.

Report a correction for Q170

Question 171 MCQ · 4.0 marks

Source diagram or notation
6406533771375.
Parent 1: 20 Child 1: 15 Child 2: 30 Parent 2: 50
6406533771376.
Child 1: 25 Parent 1: 20 Parent 2: 50 Child 2: 30
6406533771377.
Parent 1: 20 Parent 2: 50 Child 1: 20 Child 2: 50
6406533771378.
Child 1: 15 Parent 1: 25 Parent 2: 50 Child 2: 35

A published solution is not available for this question yet.

Report a correction for Q171

Question 172 MCQ · 2.0 marks

What is deadlock in an operating system?
6406533771348.
Processes waiting for input from the user.
6406533771349.
A process that uses all available CPU resources.
6406533771350.
A situation where two or more processes are blocked forever.
6406533771351.
Processes consuming more memory than allocated.

A published solution is not available for this question yet.

Report a correction for Q172

Question 173 MCQ · 2.0 marks

Source diagram or notation
6406533771352.
Initializing the kernel’s virtual memory
6406533771353.
Initializing user-level page tables
6406533771354.
Configuring the interrupt vector table
6406533771355.
Managing process scheduling

A published solution is not available for this question yet.

Report a correction for Q173

Question 174 MCQ · 2.0 marks

Source diagram or notation
6406533771364.
TRUE
6406533771365.
FALSE

A published solution is not available for this question yet.

Report a correction for Q174

Question 175 MCQ · 2.0 marks

Source diagram or notation
6406533771366.
A process that is waiting for an event or resource to become available.
6406533771367.
A process that is temporarily inactive while waiting for some condition to be met.
6406533771368.
A process that has finished execution and is ready to be removed from the process table.
6406533771369.
None of these

A published solution is not available for this question yet.

Report a correction for Q175

Question 176 MCQ · 2.0 marks

In the xv6 operating system, if a process is waiting for I/O to complete, what will be the state transition of the process?
6406533771384.
Running → Runnable
6406533771385.
Running → Sleeping
6406533771386.
Runnable → Unused
6406533771387.
State remains unchanged

A published solution is not available for this question yet.

Report a correction for Q176

Question 177 MCQ · 2.0 marks

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?
6406533771392.
wait-fork-exec
6406533771393.
exec-wait-fork
6406533771394.
fork-exec-wait
6406533771395.
exec-fork-wait

A published solution is not available for this question yet.

Report a correction for Q177

Question 178 MCQ · 1.0 marks

Source diagram or notation
6406533771338.
TRUE
6406533771339.
FALSE

A published solution is not available for this question yet.

Report a correction for Q178

Question 179 MCQ · 1.0 marks

When a process invokes the exec system call, which components in the Process Control Block (PCB) remain unchanged?
6406533771403.
Page table entries
6406533771404.
Process identifier (PID)
6406533771405.
The value of the program counter
6406533771406.
File descriptor table and memory information.

A published solution is not available for this question yet.

Report a correction for Q179

Question 180 MSQ · 3.0 marks

Source diagram or notation
6406533771379.Source diagram or notation
6406533771380.Source diagram or notation
6406533771381.Source diagram or notation
6406533771382.Source diagram or notation
6406533771383.Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q180