1
GATE CSE 2012
MCQ (Single Correct Answer)
+1
-0.3
A process executes the code
fork $$\left( {\,\,\,} \right);$$
fork $$\left( {\,\,\,} \right);$$
fork $$\left( {\,\,\,} \right);$$
The total number of child processes created is
A
$$3$$
B
$$4$$
C
$$7$$
D
$$8$$
2
GATE CSE 2011
MCQ (Single Correct Answer)
+1
-0.3
A Computer handles several interrupt sources of which the following are relevant for this question:

$$ * \,\,\,$$ Interrupt from $$CPU$$ temperature sensor (raises interrupt if $$CPU$$ temperature is too high)

$$ * \,\,\,$$ Interrupt from Mouse (raises interrupt if the mouse is moved or a button is pressed)

$$ * \,\,\,$$ Interrupt from keyboard (raises interrupt when a key is pressed or release)

$$ * \,\,\,$$ Interrupt from Hard Disk (raises interrupt when a disk read is completed)>/p>

Which one these will be handled at the HIGHEST priority?

A
Interrupt from Hard Disk
B
Interrupt from Mouse
C
Interrupt from Keyboard
D
Interrupt from $$CPU$$ temperature sensor.
3
GATE CSE 2011
MCQ (Single Correct Answer)
+1
-0.3
A thread is usually defined as a ''light weight process'' because an operating system $$(OS)$$ maintains smaller data structures for a thread than for a process. In relation to this, which of the following is TRUE?
A
On per-thread basis, the $$OS$$ maintains only $$CPU$$ register state.
B
The $$OS$$ does not maintain a separate stack for each thread
C
On per-thread basis, the $$OS$$ does not maintain virtual memory state.
D
On per-thread basis, the $$OS$$ maintains only scheduling and accounting
4
GATE CSE 2011
MCQ (Single Correct Answer)
+1
-0.3
Let the time taken to switch between user and kernel modes of execution be $${t_1}$$ while the time taken to switch between two processes be $${t_2}$$.

Which of the following is TRUE?

A
$${t_1} > {t_2}$$
B
$${t_1} = {t_2}$$
C
$${t_1} < {t_2}$$
D
Nothing can be said about the relation between $${t_1}$$ and $${t_2}.$$
GATE CSE Subjects
Software Engineering
Web Technologies
EXAM MAP