answersLogoWhite

0


Best Answer

software generated interrupt caused either by an error or

a user request.

User Avatar

Wiki User

13y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is trap in operating system?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is a trap instruction?

A trap instruction is a software interrupt. It's generated by an error or by a user program when it needs the operating system to perform an operation (a system call).


What is the purpose of trap in operating system?

The purpose of a steam trap is discharging noncondensable and condensable gases. They are essentially automatic valves that discharge using a small amount of live steam.


What is the purpose of interrupts in Operating System?

Answer: An interrupt is a hardware-generated change-of-flow within the system. An interrupt handler is summoned to deal with the cause of the interrupt; control is then returned to the interrupted context and instruction. A trap is a software-generated interrupt. An interrupt can be used to signal the completion of an I/O to obviate the need for device polling. A trap can be used to call operating system routines or to catch arithmetic errors.Type your answer here...


What is the difference between trap and interrupt?

Trap is actually a software generated interrupt caused either by an error (for example division by zero, invalid memory access etc.), or by an specific request by an operating system service generated by a user program. Trap is sometimes called Exception. The hardware or software can generate these interrupts. When the interrupt or trap occurs, the hardware therefore, transfer control to the operating system which first preserves the current state of the system by saving the current CPU registers contents and program counter's value. after this, the focus shifts to the determination of which type of interrupt has occured. For each type of interrupt, separate segmants of code in the operating system determine what action should be taken and thus the system keeps on functioning by executing coputational instruction, I/O instruction, torage instruction etc.


What are the differences between a trap and an interrupt?

Trap is actually a software generated interrupt caused either by an error (for example division by zero, invalid memory access etc.), or by an specific request by an operating system service generated by a user program. Trap is sometimes called Exception. The hardware or software can generate these interrupts. When the interrupt or trap occurs, the hardware therefore, transfer control to the operating system which first preserves the current state of the system by saving the current CPU registers contents and program counter's value. after this, the focus shifts to the determination of which type of interrupt has occured. For each type of interrupt, separate segmants of code in the operating system determine what action should be taken and thus the system keeps on functioning by executing coputational instruction, I/O instruction, torage instruction etc.


What is a trap in an operating system with example?

Trapdoor is a secret undocumented entry point into a program used to grant access without normal methods of access authentication. A trap is a software interrupt, usually the result of an error condition.


Is Windows 95 an operating system or an operating environment?

XP is a complete operating system, not simply an operating environment.


Explain all types of operating system with diagram?

There are basically four types of operating systems. They include Batch Operating System, Multiprogramming Operating System, Network Operating System and Distributed Operating System.


What are 5 Classification of each operating system?

1. BATCH PROCESSING operating system 2. MULTIPROGRAMMING operating system 3. TIME SHARING operating system 4. REAL TIME operating system 5. DISTRIBUTED operating system


What is operating system and what is the uses of operating system?

An operating system manages the working operation of a computer


Is a multiuser operating system also described as a network operating system?

Yes, a multiuser operating system is also described as a network operating system.


Is the BIOS the operating System for Windows Vista?

Hell no. the bios sits under the operating system (vista is an operating system) the bios is independent of operating systems, and is there to....run the operating system.