What is Trap in Operating System? PDF Download

Learn Trap definition in operating system with explanation to study “What is Trap”. Study trap explanation with operating system terms to review operating system course for online degree programs.

Trap Definition

  • An unprogrammed conditional jump to a specified address that is automatically activated by hardware.

    Operating Systems by William Stallings



Trap Explanation

A trap is also known as an exception or a fault. It is typically a type of synchronous interrupt caused by an exceptional condition e.g. breakpoint, division by zero and invalid memory access. It can also be called a synchronous interrupt.

Keep Learning Operating System Explanations

What is Deadlock Detection?

Deadlock detection is the process of determining that whether a deadlock exists or not. It also identifies the processes and ...

What is Chained List?

A chained list or linked list is a linear collection of data elements, whose order is not given by their ...

What is Multitasking?

Multitasking is allowing a user to perform more than one tasks at one time. The operating system is able to ...

What is Deadlock?

A deadlock is a situation in which two computer programs sharing same resources are effectively preventing each other from accessing ...

What is Thread Switch?

Thread switching is the process of switching control from one thread to another by operating system. This switching happens at ...

What is Object Request Broker?

Object Request Broker is a middleware which allows program to be made from one computer to another through a computer ...