Monday 1 April 2019

UGC NET CS 2018 July - II Question 97

Question 97

97. Match the items in List - I and List - II :
List - I List -II
(a) Interrupts which can be delayed when a much highest priority interrupt has occurred (i) Normal
(b) Unplanned interrupts which occur while executing a program (ii) Synchronous
(c) Source of interrupt is in phase with the system clock (iii) Maskable
(iv) Exception
Code :
(a)(b)(c)
(1)(ii)(i)(iv)
(2)(ii)(iv)(iii)
(3)(iii)(i)(ii)
(4)(iii)(iv)(ii)

Options:
  1. (1)
  2. (2)
  3. (3)
  4. (4)
Answer : (4)

Explanation Question 97
  • (a) Interrupts which can be delayed when a much highest priority interrupt has occurred → (iii) Maskable
  • (b) Unplanned interrupts which occur while executing a program → (iv) Exception
  • (c) Source of interrupt is in phase with the system clock → (ii) Synchronous

→ Maskable Interrupt: The hardware interrupts which can be delayed when a much highest priority interrupt has occurred to the processor.

→ Exception: unplanned interrupts while executing a program is called Exception. For example: while executing a program if we got a value which should be divided by zero is called a exception

Reference : Types of Interrupts

→ Synchronous interrupt will happen every time an instruction executes (with a given program state)
Examples of Synchronous interrupt:
– Divide by zero
– System call
– Bad pointer dereference

Reference 2 : Two types of interrupts - Synchronous / Asynchronous


PreviousNext
UGC NET CS 2018 July - II Question 96UGC NET CS 2018 July - II Question 98

No comments:

Post a Comment

UGC NET Computer Science December 2019 | Question 16

Question 16 In a certain coding language. 'AEIOU' is written as 'TNHDZ'. Using the same coding language. 'BFJPV' wil...

Popular Posts