Aspire's Library

A Place for Latest Exam wise Questions, Videos, Previous Year Papers,
Study Stuff for MCA Examinations

CUET PG MCA Previous Year Questions (PYQs)

CUET PG MCA Operating System PYQ


CUET PG MCA PYQ
Which CPU scheduling algorithm prefers the process with the shortest burst time?





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).


CUET PG MCA PYQ
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 _________





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:

  1. Mutual Exclusion – At least one resource must be held in a non-shareable mode.

  2. Hold and Wait – A process holding resources is waiting for additional resources.

  3. No Preemption – Resources cannot be forcibly taken away; they are released only voluntarily.

  4. 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.


CUET PG MCA PYQ
The Dining Philosopher’ problem can be solved by:





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."


CUET PG MCA PYQ
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:





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)


CUET PG MCA PYQ
Which of the following is a way to recover from the deadlock which has already occurred? 
1. Process termination 
2. Non preemption of resources 
3. Banker's algorithm 
4. Circular wait





Go to Discussion

CUET PG MCA Previous Year PYQ CUET PG MCA CUET 2025 PYQ

Solution

Let’s analyze the options:

  1. Process termination ✅

    • This is indeed a way to recover from a deadlock after it has already occurred (kill one or more processes to break the cycle).

  2. Non-preemption of resources ❌

    • This is a deadlock prevention method, not recovery.

  3. Banker’s algorithm ❌

    • This is a deadlock avoidance technique, not recovery.

  4. Circular wait ❌

    • This is one of the necessary conditions for deadlock, not a recovery method.


CUET PG MCA PYQ
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





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.


CUET PG MCA PYQ
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





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


CUET PG MCA PYQ
Which disk scheduling algorithm looks forthe track closest to the current head position? 
1. LOOK 
2. SSTF 
3. FCFS 
4. SCAN





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.


CUET PG MCA PYQ
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)





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:

  1. Entry section → request entry into the critical section.

  2. Critical section → perform the critical task.

  3. Exit section → leave and update status.

  4. Remainder section → execute non-critical code.


CUET PG MCA PYQ
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)





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:

  1. ROM BIOS Device Drivers (lowest-level hardware interaction)

  2. MS-DOS Device Drivers (software drivers loaded by OS)

  3. Resident System Program (command.com, kernel parts)

  4. Application Program (user programs)

(A) , (C), (B), (D)

CUET PG MCA PYQ
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.





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.

CUET PG MCA PYQ
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)





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:


CUET PG MCA PYQ
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





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:


CUET PG MCA PYQ
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:





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.

CUET PG MCA PYQ
How does the number of page frames affect and number of page faults for a given memory access pattern in FIFO page replacement algorithm?





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.

    • It states that in FIFO, sometimes increasing the number of page frames may actually increase the number of page faults (depending on the access pattern).


Checking the options:

  1. Increasing the number of page frames decreases the number of page faults.
    ❌ Not always true (Belady’s anomaly exists).

  2. 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).

  3. Increasing the number of page frames always increases the number of page faults.
    ❌ Wrong.

  4. 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.


CUET PG MCA PYQ
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





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


CUET PG MCA PYQ
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





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


CUET PG MCA PYQ
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





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


CUET PG MCA PYQ
On a system using simple segmentation, following is the segment table:
 Segment Limit Base
 0 500 1000
1200 2000 
300 2500 
100 1700 
What is the physical address for the logical address 2, 212?





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.


CUET PG MCA PYQ
Decreasing the RAM of a computer typically leads to which of the following outcomes ?





Go to Discussion

CUET PG MCA Previous Year PYQ CUET PG MCA CUET 2024 PYQ

Solution


CUET PG MCA PYQ
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.





Go to Discussion

CUET PG MCA Previous Year PYQ CUET PG MCA CUET 2024 PYQ

Solution


CUET PG MCA PYQ
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





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

CUET PG MCA PYQ
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.





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

ProcessR1R2R3
P1452
P2101
P3600
P4010

Step 2: Initial Available Resources

The Available resources at the start are:

  • R1 = 4
  • R2 = 4
  • R3 = 5

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)


CUET PG MCA PYQ
How many child processes will be created by following fork() system call?
fork();
fork();
fork();
fork();





Go to Discussion

CUET PG MCA Previous Year PYQ CUET PG MCA CUET 2024 PYQ

Solution

Given: 4 calls to fork().

Formula: Total processes created = 2^n

Calculation:

  • Total processes = 2^4 = 16
  • Child processes = 16 - 1 = 15

Answer: 15 child processes


CUET PG MCA PYQ
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:





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)


CUET PG MCA PYQ
In a computer if the page fault service time is 10 ms and average memory access time is 30 ns. If one page faultis generated for every 106 memory accesses. What is the effective access time for the memory?





Go to Discussion

CUET PG MCA Previous Year PYQ CUET PG MCA CUET 2024 PYQ

Solution



CUET PG MCA


Online Test Series,
Information About Examination,
Syllabus, Notification
and More.

Click Here to
View More

CUET PG MCA


Online Test Series,
Information About Examination,
Syllabus, Notification
and More.

Click Here to
View More

Ask Your Question or Put Your Review.

loading...