Languages-Swift (iOS-Mobile) [Hexaware Placement]: Sample Questions 1 - 1 of 1

Get unlimited access to the best preparation resource for competitive exams : get questions, notes, tests, video lectures and more- for all subjects of your exam.

Question 1

Swift (iOS-Mobile)
Edit

Write in Short

Short Answerβ–Ύ

What is an interrupt?

Explanation

An interrupt is a signal informing a program that an event has occurred. When a program receives an interrupt signal, it takes a specified action (which can be to ignore the signal) . Interrupt signals can cause a program to suspend itself temporarily to service the interrupt. Interrupt signals can come from a variety of sources. Interrupts can also be generated by other devices, such as a printer, to indicate that some event has occurred. These are called hardware interrupts Interrupt signals initiated by programs are called software interrupts. A software interrupt is also called a trap or an exception.

Developed by: