What is Trap in Operating System? PDF Book

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 Server?

A server is a program or process that fulfills the client request by performing the task requested. Server programs generally ...

What is Virus?

A virus is a computer code, which is capable of affecting computer data badly by corrupting or destroying them. A ...

What is Process?

Process is basically a program in execution. It is the instance of a computer program that is being executed by ...

What is Indexed Access?

Indexed access method is a method of file access in which each file has a specific key value which allows ...

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 Secondary Memory?

Secondary Memory is a device whose memory is non-volatile, meaning, the stored data will be intact even if the system ...