Qus : 1
CUET PG MCA PYQ
2
Which CPU scheduling algorithm prefers the process with the shortest burst time?
1
FCFS 2
SJF 3
Round Robin 4
Priority Scheduling Go to Discussion
CUET PG MCA Previous Year PYQ
CUET PG MCA CUET 2025 PYQ
Solution FCFS (First Come First Serve): Executes in the order processes arrive, no burst-time consideration.
SJF (Shortest Job First): Picks the process with the least CPU burst time → minimizes average waiting time.
Round Robin: Allocates equal time slices (quantum) cyclically, ignoring burst length.
Priority Scheduling: Selects based on priority value, not burst time (though burst time can be used as a priority heuristic).
Qus : 2
CUET PG MCA PYQ
4
Complete the following statement by choosing the correct option.
For a deadlock to occur, the four conditions namely Mutual Exclusion, Hold and wait, No preemption, circular
wait _________
1
May or may not hold 2
The circular wait does not implies hold and wait condition 3
Are completely independent 4
Must hold simultaneously Go to Discussion
CUET PG MCA Previous Year PYQ
CUET PG MCA CUET 2025 PYQ
Solution For a deadlock to occur in a system, the following Coffman’s conditions must all hold together :
Mutual Exclusion – At least one resource must be held in a non-shareable mode.
Hold and Wait – A process holding resources is waiting for additional resources.
No Preemption – Resources cannot be forcibly taken away; they are released only voluntarily.
Circular Wait – A closed chain of processes exists, each waiting for a resource held by the next process in the chain.
If even one of these is not satisfied, deadlock cannot occur .
Qus : 3
CUET PG MCA PYQ
1
The Dining Philosopher’ problem can be solved by:
1
Use of semaphores 2
Use of overlays 3
Mutual exclusion 4
Bounded waiting Go to Discussion
CUET PG MCA Previous Year PYQ
CUET PG MCA CUET 2025 PYQ
Solution Use of semaphores ✅
Because the Dining Philosopher problem is a classical synchronization problem , and it is solved using semaphores / monitors / mutex locks .
Overlays → related to memory management, not correct .
Mutual exclusion → is a requirement , but the standard answer in MCQs is semaphores .
Bounded waiting → is a condition , not the actual solution technique.
So the correct choice from the given options is "Use of semaphores."
Qus : 4
CUET PG MCA PYQ
4
Match List-I with List-II
List-I List-II (A). Seek Time (I). Total number of bytes transferred, divided by the total time between the first request for service
and the completion of the last transfer
(B). Access Time (II). Time taken for the disk to rotate the desired sector to the disk head (C). Rotational
Latency (III). Seek Time + Rotational Latency (D). Disk
Bandwidth (IV). Time taken for the disk arm to move the heads to the cylinder containing the desired sector
Choose the
correct answer from the options given below:
1
(A) - (I), (B) - (II), (C) - (III), (D) - (IV) 2
(A) - (I), (B) - (III), (C) - (II), (D)-(IV)
3
(A) - (I), (B) - (II), (C) - (IV), (D) - (III) 4
(A) - (IV), (B) - (III), (C) - (II), (D) -(I) Go to Discussion
CUET PG MCA Previous Year PYQ
CUET PG MCA CUET 2025 PYQ
Solution (A) Seek Time → Time taken for the disk arm to move the heads to the cylinder containing the desired sector. Matches (IV)
(B) Access Time → Total time to access data = Seek Time + Rotational Latency. Matches (III)
(C) Rotational Latency → Time taken for the disk to rotate the desired sector under the head. Matches (II)
(D) Disk Bandwidth → Total number of bytes transferred / total time taken. Matches (I)
Final Matching
(A) → (IV)
(B) → (III)
(C) → (II)
(D) → (I)
Qus : 6
CUET PG MCA PYQ
3
Consider a page reference string as: 7, 0, 1, 2, 0, 3, 0, 4, 2, 3, 0, 3, 2. Assume that there are 3-page frames available.
Calculate the total number of page faults for the above reference string if
LRU policy is used for page replacement.
1.10
2.8
3.9
4.11
1
1 2
2 3
3 4
4 Go to Discussion
CUET PG MCA Previous Year PYQ
CUET PG MCA CUET 2025 PYQ
Solution Using LRU with 3 frames on the string
7, 0, 1, 2, 0, 3, 0, 4, 2, 3, 0, 3, 2
gives page faults at: 7, 0, 1, 2, 3, 4, 2, 3, 0 → 9 faults .
Qus : 7
CUET PG MCA PYQ
3
Details of a paging system for memory management are as follows:
Logical address space: 32 KB
Page Size: 4 KB
Physical Memory size: 64 KB
The number of pages in the logical address space and number of page frames in physical memory, respectively, are:
1. 4,16
2. 4,12
3. 8,16
4. 3,16
1
1 2
2 3
3 4
4 Go to Discussion
CUET PG MCA Previous Year PYQ
CUET PG MCA CUET 2025 PYQ
Solution
Step 1: Number of pages in logical address space
Number of pages =
Logical address space / Page size =
32 / 4 = 8
So, there are 8 pages .
Step 2: Number of page frames in physical memory
Number of frames =
Physical memory size / Page size =
64 / 4 = 16
So, there are 16 frames .
Step 3: Correct Option
Answer: (8, 16) → Option 3
Qus : 8
CUET PG MCA PYQ
2
Which disk scheduling algorithm looks forthe track closest to the current head position?
1. LOOK
2. SSTF
3. FCFS
4. SCAN
1
1 2
2 3
3 4
4 Go to Discussion
CUET PG MCA Previous Year PYQ
CUET PG MCA CUET 2025 PYQ
Solution Explanation:
SSTF (Shortest Seek Time First): Always serves the request that requires the minimum head movement from the current head position.
LOOK/SCAN: Move in one direction (like elevators), serving requests along the way.
FCFS: Serve requests in the order they arrive.
✅ Hence, SSTF is the correct choice.
Qus : 9
CUET PG MCA PYQ
3
Consider a typical process Pi in the critical section. Arrange the following statements of code to make a valid general
structure.
(A). Critical section
(B). Remainder section
(C). Entry section
(D). Exit section
Choose the correct answer from the options given below:
1. (C), (B), (A), (D)
2. (C), (A), (B), (D)
3. (C), (A), (D), (B)
4. (C), (B), (D), (A)
1
1 2
2 3
3 4
4 Go to Discussion
CUET PG MCA Previous Year PYQ
CUET PG MCA CUET 2025 PYQ
Solution The general structure of a process with critical section is:
Entry section → request entry into the critical section.
Critical section → perform the critical task.
Exit section → leave and update status.
Remainder section → execute non-critical code.
Qus : 10
CUET PG MCA PYQ
1
Arrange the following layers of MS DOS operating system starting from inner most to outer most.
(A). ROM BIOS Device drivers
(B). Resident System Program
(C). MS DOS Device Drivers
(D). Application Program
Choose the correct answer from the options given below:
1. (A), (C), (B), (D)
2. (D), (B), (C), (A)
3. (B), (A), (D), (C)
4. (C), (B), (D), (A)
1
1 2
2 3
3 4
4 Go to Discussion
CUET PG MCA Previous Year PYQ
CUET PG MCA CUET 2025 PYQ
Solution In MS-DOS , the layering from innermost to outermost is:
ROM BIOS Device Drivers (lowest-level hardware interaction)
MS-DOS Device Drivers (software drivers loaded by OS)
Resident System Program (command.com, kernel parts)
Application Program (user programs)
(A) , (C), (B), (D)
Qus : 11
CUET PG MCA PYQ
1
External fragmentation occurs
1. When enough total memory space exists to satisfy a request, but it is not contiguous, storage is fragmented into a
large number of small holes.
2.When enough total memory space exists to satisfy a request, which is contiguous, storage is fragmented into a large
number of small holes.
3. When memory is empty.
4. Always.
1
1 2
2 3
3 4
4 Go to Discussion
CUET PG MCA Previous Year PYQ
CUET PG MCA CUET 2025 PYQ
Solution External fragmentation happens when free memory is split into scattered blocks, so a large request cannot be allocated despite sufficient total free space.
Qus : 12
CUET PG MCA PYQ
2
Match List-I with List-II
List - I
List - II
(CPU Scheduling Algorithm)
(Feature)
(A) FCFS
(I) FCFS + preemption
(B) Round Robin
(II) Allows the processes to move between queues
(C) Multi-level queue scheduling
(III) Often long average waiting time
(D) Multi-level Feedback Queue
(IV) Permanent assignment of processes to one specific queue
Choose the correct answer from the options given below:
1. (A) - (I), (B) - (II), (C) - (III), (D) - (IV)
2. (A) - (III), (B) - (I), (C) - (IV), (D) - (II)
3. (A) - (I), (B) - (II), (C) - (IV), (D) - (III)
4. (A) - (III), (B) - (IV), (C) - (I), (D) - (II)
1
1 2
2 3
3 4
4 Go to Discussion
CUET PG MCA Previous Year PYQ
CUET PG MCA CUET 2025 PYQ
Solution List-I (Algorithms) and their correct features:
(A) FCFS (First Come First Serve) → It is non-preemptive and can cause long average waiting time if a long job arrives first.
⇒ Matches with (III) .
(B) Round Robin → It is essentially FCFS with preemption (time quantum).
⇒ Matches with (I) .
(C) Multi-level queue scheduling → Each process is permanently assigned to a fixed queue (like system, interactive, batch).
⇒ Matches with (IV) .
(D) Multi-level feedback queue → Allows processes to move between queues depending on behavior/CPU burst.
⇒ Matches with (II) .
Correct Matching:
( A ) − ( III ) , ( B ) − ( I ) , ( C ) − ( I V ) , ( D ) − ( II )
Qus : 13
CUET PG MCA PYQ
2
Consider the task of finding the shortest path in an unweighted graph by using BFS and DFS.
Which of the following statements are true?
(A). BFS always finds the shortest path.
(B). DFS always finds the shortest path.
(C). DFS does not guarantee finding the shortest path.
(D). BFS does not guarantee finding the shortest path.
Choose the correct answer from the options given below:
1. (B) and (D) only
2. (A) and (C) only
3. (A) and (B) only
4. (C) and (D) only
1
1 2
2 3
3 4
4 Go to Discussion
CUET PG MCA Previous Year PYQ
CUET PG MCA CUET 2025 PYQ
Solution BFS (Breadth First Search) on an unweighted graph always explores level by level.
⇒ BFS always finds the shortest path. → (A) True
DFS (Depth First Search) explores deeply before backtracking. It can find a path, but not necessarily the shortest one.
⇒ DFS does not guarantee shortest path. → (C) True
(B) “DFS always finds the shortest path” → ❌ False.
(D) “BFS does not guarantee shortest path” → ❌ False.
✅ Correct Answer:
2. (A) and (C) only
Qus : 14
CUET PG MCA PYQ
2
Consider a system with 1K pages and 512 frames and each page is of size 2 KB. How many bits are required to represent the virtual address space memory:
1
20 bits 2
21 bits 3
11 bits 4
16 bits Go to Discussion
CUET PG MCA Previous Year PYQ
CUET PG MCA CUET 2024 PYQ
Solution To determine the number of bits required to represent the virtual address space:
Number of pages = 1K = $2^10$. Page size = 2 KB = $2^{11}$ bytes. Virtual address space = Number of pages × Page size = $2^{10}×2^{11}=2^{21}$ bytes. Bits required =21 bits.
Qus : 15
CUET PG MCA PYQ
2
How does the number of page frames affect and number of page faults for a given memory access pattern in FIFO page replacement algorithm?
1
Increasing the number of page frames decreases
the number of page faults.
2
Increasing the number of page frames may increase or decrease the number of page faults depending on the memory access pattern.
3
Increasing the number of page frames always increases the number of page faults
4
Increasing the number of page frames has no effect on the number of page faults
Go to Discussion
CUET PG MCA Previous Year PYQ
CUET PG MCA CUET 2024 PYQ
Solution We are asked about FIFO (First-In First-Out) page replacement algorithm .
Key point:
Normally, increasing the number of page frames decreases the number of page faults (because more pages can be stored).
But in FIFO , there is a special anomaly called Belady’s Anomaly .
Checking the options:
Increasing the number of page frames decreases the number of page faults.
❌ Not always true (Belady’s anomaly exists).
Increasing the number of page frames may increase or decrease the number of page faults depending on the memory access pattern.
✅ This is correct (captures Belady’s anomaly).
Increasing the number of page frames always increases the number of page faults.
❌ Wrong.
Increasing the number of page frames has no effect.
❌ Wrong.
✅ Final Answer:
(2) Increasing the number of page frames may increase or decrease the number of page faults depending on the memory access pattern.
Qus : 16
CUET PG MCA PYQ
2
A situation where two or more processes are blocked, waiting for resources held by each other is called:
1. Pooling
2. Deadlock
3. Thrashing
4. Paging
1
1 2
2 3
3 4
4 Go to Discussion
CUET PG MCA Previous Year PYQ
CUET PG MCA CUET 2025 PYQ
Solution
Concept:
When two or more processes are each waiting for resources that are held by the other, none of them can proceed. This situation is known as a deadlock .
Other terms:
- Pooling: Reusing resources like threads or connections.
- Thrashing: Excessive paging, leading to performance degradation.
- Paging: Memory management scheme for virtual memory.
Correct Answer: Deadlock
Answer: Option 2
Qus : 17
CUET PG MCA PYQ
2
To provide a memory capacity of 32K X 16 how many address lines and data lines are required?
1. address lines=14, data lines=16
2. address lines=15, data lines=16
3. address lines=14, data lines=4
4. address lines=15, data lines=4
1
1 2
2 3
3 4
4 Go to Discussion
CUET PG MCA Previous Year PYQ
CUET PG MCA CUET 2025 PYQ
Solution
Given: Memory capacity = 32K × 16
Step 1: 32K means 32 × 1024 = 32768 memory locations.
To address 32768 locations, we need:
$$\log_2(32768) = 15 \; \text{address lines}$$
Step 2: Each location stores 16 bits = 16 data lines.
Address lines required: 15
Data lines required: 16
Answer: Option 2
Qus : 18
CUET PG MCA PYQ
2
Which of the following scheduler/schedulers is/are also called CPU scheduler?
(A). Short Term Scheduler
(B). Long Term Scheduler
(C). Medium Term Scheduler
(D). Asymmetric Scheduler
Choose the correct answer from the options given below:
1. (A), (B) and (D) only
2. (A), (B) and (C) only
3. (A), (B), (C) and (D)
4. (A) only
1
1 2
2 3
3 4
4 Go to Discussion
CUET PG MCA Previous Year PYQ
CUET PG MCA CUET 2025 PYQ
Solution
Concept:
- Long Term Scheduler: Controls degree of multiprogramming (job scheduler).
- Medium Term Scheduler: Suspends/resumes processes (swapping).
- Short Term Scheduler: Selects process from ready queue and allocates CPU.
- The CPU Scheduler is another name for the Short Term Scheduler .
Hence: Only (A) is correct.
Correct Answer: Short Term Scheduler
Answer: Option 4
Qus : 19
CUET PG MCA PYQ
1
On a system using simple segmentation, following is the segment table:
Segment Limit Base 0 500 1000 1 200 2000 2 300 2500 3 100 1700
What is the physical address for the logical address 2, 212?
1
2712 2
512 3
2212 4
2800 Go to Discussion
CUET PG MCA Previous Year PYQ
CUET PG MCA CUET 2024 PYQ
Solution
Logical address is given as (2, 212).
Segment
Limit
Base
Offset
Check
Physical Address
2
300
2500
212
212 < 300 → Valid
2500 + 212 = 2712
Final Answer: The physical address corresponding to logical address (2, 212) is 2712 .
Qus : 21
CUET PG MCA PYQ
2
We can say that a schedule is conflict serializable?
(1) If a schedule T can be transformed into a serial schedule U by a series of swaps of conflicting operations.
(2) If a schedule T can be transformed into a serial schedule U by a series of swaps of nonconflicting operations.
(3) If a schedule T can be transformed into a non serial schedule U by a series of swaps of conflicting operations.
(4) If a schedule T can be transformed into a non serial schedule U by a series of swaps of non conflicting operations.
1
(1) 2
(2) 3
(3) 4
(4)
Go to Discussion
CUET PG MCA Previous Year PYQ
CUET PG MCA CUET 2024 PYQ
Solution
Qus : 22
CUET PG MCA PYQ
3
An operating system cotains 4 user processor each requiring 5 units of resource R. The minimum number ofrequired units of R such that no deadlock will every occur is
1
20 2
4 3
17 4
15 Go to Discussion
CUET PG MCA Previous Year PYQ
CUET PG MCA CUET 2024 PYQ
Solution Minimum Number of Required Units of Resource R to Prevent Deadlock Number of processes (P) = 4 Maximum demand per process = 5 units Formula: R≥(P−1)×max demand+1 Substituting values: R≥(4−1)×5+1=3×5+1=15+1=16 Minimum required units of resource R = 16
Qus : 23
CUET PG MCA PYQ
2
The current allocation and Maximum requirement of different types of resources for four processes are given below:
Consider the following four statements.
(A) P2 → P4 → P1 → P3 is a safe sequence
(B)
P4 → P2 → P1 → P3 is a safe sequence
(C)
P4 → P2 → P3 → P1 is a safe sequence
(D) P1 → P4 → P2 → P3 is a safe sequence
Identify correct statements from the given options.
1
(A), (B) and (D) only
2
(A), (B) and (C) only
3
(B), (C) and (D) only
4
(A), (B), (C), (D)
Go to Discussion
CUET PG MCA Previous Year PYQ
CUET PG MCA CUET 2024 PYQ
Solution
Banker's Algorithm Solution
Step 1: Need Matrix
The Need Matrix is calculated as:
Need = Max - Allocation
Process R1 R2 R3
P1 4 5 2
P2 1 0 1
P3 6 0 0
P4 0 1 0
Step 2: Initial Available Resources
The Available resources at the start are:
Step 3: Evaluate Each Sequence
Sequence (A): P2 → P4 → P1 → P3
P2: Need = [1, 0, 1], Available = [4, 4, 5]. Allocate resources. New Available = [7, 5, 7].
P4: Need = [0, 1, 0], Available = [7, 5, 7]. Allocate resources. New Available = [10, 7, 9].
P1: Need = [4, 5, 2], Available = [10, 7, 9]. Allocate resources. New Available = [14, 8, 11].
P3: Need = [6, 0, 0], Available = [14, 8, 11]. Allocate resources. New Available = [17, 12, 14].
Result: Sequence (A) is valid.
Sequence (B): P2 → P1 → P3 → P4
P2: Need = [1, 0, 1], Available = [4, 4, 5]. Allocate resources. New Available = [7, 5, 7].
P1: Need = [4, 5, 2], Available = [7, 5, 7]. Allocate resources. New Available = [11, 6, 9].
P3: Need = [6, 0, 0], Available = [11, 6, 9]. Allocate resources. New Available = [14, 10, 12].
P4: Need = [0, 1, 0], Available = [14, 10, 12]. Allocate resources. New Available = [17, 12, 14].
Result: Sequence (B) is valid.
Sequence (C): P4 → P2 → P3 → P1
P4: Need = [0, 1, 0], Available = [4, 4, 5]. Allocate resources. New Available = [7, 6, 7].
P2: Need = [1, 0, 1], Available = [7, 6, 7]. Allocate resources. New Available = [10, 7, 9].
P3: Need = [6, 0, 0], Available = [10, 7, 9]. Allocate resources. New Available = [14, 8, 11].
P1: Need = [4, 5, 2], Available = [14, 8, 11]. Allocate resources. New Available = [17, 12, 14].
Result: Sequence (C) is valid.
Sequence (D): P1 → P4 → P2 → P3
P1: Need = [4, 5, 2], Available = [4, 4, 5]. Cannot proceed as Need > Available.
Result: Sequence (D) is invalid.
Final Answer:
Safe Sequences: (A), (B), (C)
Invalid Sequence: (D)
Qus : 25
CUET PG MCA PYQ
1
Match List – I with List – II
List - I List - II (A) Critical Region (I) Circular Wait (B) Working Set (II) Condition variable (C) Deadlock (III) Principle of locality (D) Wait/Signal (IV) Mutual Exclusion
Choose the correct answer from the options given below:
1
(A – IV); (B – III); (C – I); (D – II)
2
(A – IV); (B – III); (C – II); (D – I)
3
(A – III); (B – IV); (C – II); (D – I)
4
(A – III); (B – IV); (C – I); (D – II)
Go to Discussion
CUET PG MCA Previous Year PYQ
CUET PG MCA CUET 2024 PYQ
Solution
Matching List-I with List-II:
List - I
List - II
Explanation
Critical Region
Mutual Exclusion (IV)
The critical region ensures mutual exclusion, allowing only one process to access a shared resource at a time.
Working Set
Principle of Locality (III)
The working set is a concept used in memory management, based on the principle of locality to predict the set of pages a process is likely to use.
Deadlock
Circular Wait (I)
One of the necessary conditions for a deadlock is circular wait, where processes are waiting for resources held by one another in a circular chain.
Wait/Signal
Condition Variable (II)
The wait and signal operations are synchronization mechanisms associated with condition variables in multi-threaded environments.
Final Answer:
(A) → (IV), (B) → (III), (C) → (I), (D) → (II)
[{"qus_id":"11677","year":"2024"},{"qus_id":"11680","year":"2024"},{"qus_id":"11701","year":"2024"},{"qus_id":"11716","year":"2024"},{"qus_id":"11718","year":"2024"},{"qus_id":"11726","year":"2024"},{"qus_id":"11727","year":"2024"},{"qus_id":"11736","year":"2024"},{"qus_id":"11739","year":"2024"},{"qus_id":"11745","year":"2024"},{"qus_id":"12069","year":"2025"},{"qus_id":"12070","year":"2025"},{"qus_id":"12072","year":"2025"},{"qus_id":"12078","year":"2025"},{"qus_id":"12088","year":"2025"},{"qus_id":"12091","year":"2025"},{"qus_id":"12093","year":"2025"},{"qus_id":"12100","year":"2025"},{"qus_id":"12105","year":"2025"},{"qus_id":"12109","year":"2025"},{"qus_id":"12111","year":"2025"},{"qus_id":"12117","year":"2025"},{"qus_id":"12118","year":"2025"},{"qus_id":"12196","year":"2025"},{"qus_id":"12198","year":"2025"},{"qus_id":"12202","year":"2025"}]