MauryaHub PYQ Practice

Operating System · End Term · May 2024 · FN

Operating System · End Term · May 2024 FN

← Course papers · Start practice / exam

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

0 / 20 published solutions

Question 379 MCQ · 2.0 marks

Source diagram or notation
6406533053253.
The base address is 0xB0005008, and end address is 0xB000500C.
6406533053254.
The base address is 0xB0005008, and end address is 0xB000500B.
6406533053255.
The base address is 0xB0005008, and end address is 0xB0005012.
6406533053256.
The base address is 0xB0005000, and end address is 0xB0005004.

A published solution is not available for this question yet.

Report a correction for Q379

Question 380 MCQ · 2.0 marks

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?
6406533053257.
0x30001100
6406533053258.
0x300012FF
6406533053259.
0x300010FF
6406533053260.
0x30001300

A published solution is not available for this question yet.

Report a correction for Q380

Question 381 MCQ · 2.0 marks

Source diagram or notation
6406533053295.
Heap overflow
6406533053296.
Buffer overflow
6406533053297.
Frame overflow
6406533053298.
Stack overflow

A published solution is not available for this question yet.

Report a correction for Q381

Question 382 MCQ · 2.0 marks

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?
6406533053299.
Differential Power Analysis (DPA)
6406533053300.
Cache Timing Attack
6406533053301.
Frequency Analysis
6406533053302.
Brute Force Attack

A published solution is not available for this question yet.

Report a correction for Q382

Question 383 MCQ · 1.0 marks

Source diagram or notation
6406533053261.
True
6406533053262.
False

A published solution is not available for this question yet.

Report a correction for Q383

Question 384 MCQ · 1.0 marks

When a process invokes the exec system call, the Process Identifier (PID) remains unchanged.
6406533053267.
True
6406533053268.
False

A published solution is not available for this question yet.

Report a correction for Q384

Question 385 MCQ · 1.0 marks

State True/false
Source diagram or notation
**Bob** can execute the Program 1.
6406533053307.
True
6406533053308.
False

A published solution is not available for this question yet.

Report a correction for Q385

Question 386 MCQ · 3.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?
6406533053263.
2\(^{17}\) frames
6406533053264.
2\(^{15}\) frames
6406533053265.
2\(^{14}\) frames
6406533053266.
2\(^{13}\) frames

A published solution is not available for this question yet.

Report a correction for Q386

Question 387 MCQ · 3.0 marks

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
6406533053274.
(i) → (ii) → (iii) → (iv) → (v)
6406533053275.
(iii) → (ii) → (iv) → (i) → (v)
6406533053276.
(iii) → (i) → (ii) → (iv) → (v)
6406533053277.
(iii) → (i) → (iv) → (ii) → (v)

A published solution is not available for this question yet.

Report a correction for Q387

Question 388 MCQ · 3.0 marks

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:
Source diagram or notation
Based on the given Resource Allocation Graph (RAG), is there a deadlock situation present in the system?
6406533053285.
Yes, involving P1, P2 and P3.
6406533053286.
No, there is no deadlock situation.
6406533053287.
Yes, involving P1 and P3.
6406533053288.
Yes, involving P1 and P2.

A published solution is not available for this question yet.

Report a correction for Q388

Question 389 MCQ · 3.0 marks

Source diagram or notation
6406533053290.Source diagram or notation
6406533053291.Source diagram or notation
6406533053292.Source diagram or notation
6406533053293.Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q389

Question 390 MCQ · 4.0 marks

Source diagram or notation
6406533053281.
P0, P3, P1, P2
6406533053282.
P0, P2, P1, P3
6406533053283.
P2, P3, P1, P0
6406533053284.
P0, P1, P3, P2

A published solution is not available for this question yet.

Report a correction for Q390

Question 391 MCQ · 4.0 marks

Consider the below plots representing the order in which the requests are serviced by different disk scheduling algorithms.
Source diagram or notation
Match the plots with the corresponding disk scheduling algorithm.
6406533053309.
(1) - SCAN, (2) - C-SCAN, (3) - C-LOOK, (4) - FCFS
6406533053310.
(1) - SCAN, (2) - FCFS, (3) - C-SCAN, (4) - C-LOOK
6406533053311.
(1) - FCFS, (2) - C-SCAN, (3) - SCAN, (4) - C-LOOK
6406533053312.
(1) - SCAN, (2) - FCFS, (3) - C-LOOK, (4) - C-SCAN

A published solution is not available for this question yet.

Report a correction for Q391

Question 392 MSQ · 2.0 marks

Select all the true statements about hard links.
6406533053303.
Hard links cannot link directories.
6406533053304.
Hard links are destroyed if the source file is moved or removed.
6406533053305.
Hard links cannot span across different file systems.
6406533053306.
Hard links are symbolic links to the path of the file.

A published solution is not available for this question yet.

Report a correction for Q392

Question 393 MSQ · 3.0 marks

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.
6406533053269.
Process A is in the WAITING state.
6406533053270.
Process B is in the SLEEPING state.
6406533053271.
Process C is in the RUNNABLE state.
6406533053272.
Process A is in the RUNNING state.
6406533053273.
Process D is in the RUNNING state.

A published solution is not available for this question yet.

Report a correction for Q393

Question 394 NAT · 3.0 marks

Consider the set of 5 processes whose arrival time and burst time are given below.
Source diagram or notation
If the CPU scheduling policy used is Round Robin with a time quantum of 3 units, what will be the average response time?

A published solution is not available for this question yet.

Report a correction for Q394

Question 395 NAT · 3.0 marks

Consider a system with four processes, P1, P2, P3, and P4, arriving at different times and needing the following CPU bursts to complete:
Source diagram or notation
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

A published solution is not available for this question yet.

Report a correction for Q395

Question 396 NAT · 3.0 marks

Consider a system with four processes, P1, P2, P3, and P4, arriving at different times and needing the following CPU bursts to complete:
Source diagram or notation
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

A published solution is not available for this question yet.

Report a correction for Q396

Question 397 NAT · 3.0 marks

Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q397

Question 398 NAT · 2.0 marks

For a scenario with 7 philosophers in the dining philosopher’s problem, what is the minimum number of forks necessary to ensure deadlock prevention?

A published solution is not available for this question yet.

Report a correction for Q398