Languages [3i Infotech Placement]: Sample Questions 344 - 346 of 546

Glide to success with Doorsteptutor material for competitive exams : get questions, notes, tests, video lectures and more- for all subjects of your exam.

Question 344


Write in Short

Short Answer▾

What is meant by class loader? How many types are there? Where we will use them?


  • Class loader is a part of JVM used to load the classes dynamically and on demand.
  • Different types of class loaders extent base class loader:
    • Bootstrap class loader loads the classes in rt. jar and 8n. jar.
    • Extension class loader loads the class in ext dir.
    • System class loader loads all other classes in the class path.

Question 345


Write in Short

Short Answer▾

What is meant by “method-wars” ?


  • 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”
Given the Description of Method Wars

Question 346



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


Choice (4)


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


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


Processor serves the interupt request immediately.


Processor serves the interupt request after completing the current task.




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.

Developed by: