As an Amazon Associate I earn from qualifying purchases.

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

Paging is a method of writing data ton and reading from, secondary storage for use in main memory. In a ...

What is Interrupt Handler?

Interrupt handler could be a callback function in an operating system, more specifically in a device driver, the execution of ...

What is Time Sharing?

Time sharing is a technique which enables multiple users located at different terminals to use a particular computer system at ...

What is Synchronous Operation?

A synchronous operation blocks a process till the operation completes. This is the main difference in asynchronous and synchronous operation ...

What is Indexed Sequential File?

Indexed Sequential File is a computer file that contains index. The difference in this file and the indexed file is ...

What is Prepaging?

Prepaging is a technique in which the operating system preloads the pages of a process's working set into memory in ...