...
Question 8448 – Aptitude
January 4, 2024
Question 14304 – Digital-Logic-Design
January 5, 2024
Question 8448 – Aptitude
January 4, 2024
Question 14304 – Digital-Logic-Design
January 5, 2024

GATE 1999

Question 39

Which  of  the  following  actions  is/are  typically  not  performed  by  the  operating system when switching context from process A to process B?

A
Saving current register values and restoring saved register values for process B.
B
Changing address translation tables.
C
Swapping out the memory image of process A to the disk.
D
Invalidating the translation look-aside buffer.
Question 39 Explanation: 
A) True.
B) True.
C) False, because swapping is done when the process is suspended and not during context switching.
D) True, Invalidation of TLB is necessary because, if the TLB is not invalidated then the new process might end up using the translation of old process. Note that Invalidation of TLB is necessary but saving and reuse of TLB is not necessary.
Correct Answer: C
Question 39 Explanation: 
A) True.
B) True.
C) False, because swapping is done when the process is suspended and not during context switching.
D) True, Invalidation of TLB is necessary because, if the TLB is not invalidated then the new process might end up using the translation of old process. Note that Invalidation of TLB is necessary but saving and reuse of TLB is not necessary.

Leave a Reply

Your email address will not be published. Required fields are marked *