1
GATE CSE 2024 Set 2
MCQ (More than One Correct Answer)
+1
-0.33

Consider a process P running on a CPU. Which one or more of the following events will always trigger a context switch by the OS that results in process P moving to a non-running state (e.g., ready, blocked)?

A

P makes a blocking system call to read a block of data from the disk

B

P tries to access a page that is in the swap space, triggering a page fault

C

An interrupt is raised by the disk to deliver data requested by some other process

D

A timer interrupt is raised by the hardware

2
GATE CSE 2024 Set 1
MCQ (More than One Correct Answer)
+1
-0.33

Which of the following process state transitions is/are NOT possible?

A

Running to Ready

B

Waiting to Running

C

Ready to Waiting

D

Running to Terminated

3
GATE CSE 2023
MCQ (More than One Correct Answer)
+1
-0.33

Which one or more of the following CPU scheduling algorithms can potentially cause starvation?

A
First-in First-out
B
Round Robin
C
Priority Scheduling
D
Shortest Job First
4
GATE CSE 2022
MCQ (Single Correct Answer)
+1
-0.33

Consider four processes P, Q, R and S scheduled on a CPU as per round robin algorithm with a time quantum of 4 units. The processes arrive in the order P, Q, R, S, all at time t = 0. There is exactly one context switch from S to Q, exactly one context switch from R to Q, and exactly two context switches from Q to R. There is no context switch from S to P. Switching to a ready process after the termination of another process is also considered a context switch. Which one of the following is NOT possible as CPU burst time (in time units) of these processes?

A
P = 4, Q = 10, R = 6, S = 2
B
P = 2, Q = 9, R = 5, S = 1
C
P = 4, Q = 12, R = 5, S = 4
D
P = 3, Q = 7, R = 7, S = 3
GATE CSE Subjects
Software Engineering
Web Technologies
EXAM MAP
Medical
NEET
Graduate Aptitude Test in Engineering
GATE CSEGATE ECEGATE EEGATE MEGATE CEGATE PIGATE IN
Civil Services
UPSC Civil Service
Defence
NDA
CBSE
Class 12