3i Infotech Papers: Sample Questions 1102 - 1103 of 1245

Examrace Placement Series prepares you for the toughest placement exams to top companies.

Question number: 1102

» Languages » C & C Plus Plus

Short Answer Question▾

Write in Short

What is meant by “method-wars”?

Explanation

  • Before 1994, there were different methodologies like Rumbaugh, Booch, Jacobson, Meyer etc. who followed their own notations to model the systems putting developers in dilemma.

  • This span was called “method-wars”

Method-wars in image

Method-Wars in Image

Given the image of description of method wars

Question number: 1103

» Languages » Assembly Language

MCQ▾

Question

What action is taken when the processor under execution is interrupted by a non-maskable interrupt?

Choices

Choice (4) Response

a.

Processor serves the interupt request immediately.

b.

Processor serves the interrupt request after completing the execution of the current instruction.

c.

Processor serving the interrupt request depends upon the priority of the current task under execution.

d.

Processor serves the interupt request after completing the current task.

Answer

b.

Explanation

Non- maskable interrupt pin has higher priority than the maskable interrupt request pin.

On a non-maskable interrupt (NMI)

On an NMI, these actions take place:

  • Completes the current instruction.

  • Pushes the Flag register, CS and IP return address on the stack.

  • IP is loaded from word location H and CS is loaded from next word location AH.

  • Interrupt flag and trap flag are reset to

  • The processor then starts executing the NMI service routine.