GATE Solved Paper 2017-19 - GATE 2018

16. Match the following :

FieldLength in bits
P. UDP Header’s Port Number I. 48
Q. Ethernet MAC AddressII. 8
R. IPv6 Next HeaderIII. 32
S. TCP Header’s Sequence NumberIV. 16

  • Option : C
  • Explanation :
    UDP Header’s Port Number ⟹ 16 bit
    Ethernet MAC Address ⟹ 48 bit
    IPv6 Next Header ⟹ 8 bit
    TCP Header’s Sequence Number ⟹ 32 bit
Cancel reply
Cancel reply

20. The following are some events that occur after a device controller issues an interrupt while process L is under execution.
(P) The processor pushes the process status of L onto the control stack.
(Q) The processor finishes the execution of the current instruction.
(R) The processor executes the interrupt service routine.
(S) The processor pops the process status of L from the control stack.
(T) The processor loads the new PC value based on the interrupt.
Which one of the following is the correct order in which the events above occur?

  • Option : A
  • Explanation :
    The Sequence is Processor required to handle the interrupt is :
    Q. Processor finishes the execution of the current instruction.
    P. Processor pushes the process status of L onto the control stack.
    T. Processor loads the new PC value based on the interrupt.
    R. Processor executes the interrupt service routine.
    S. Processor pops the process status of “L” from the control stack.
Cancel reply
Cancel reply