You can play music, type a letter and download a file at the same time.
3 lessons, about 1 h 15 min3 simulations10 problems3 practice questionsPython in every lesson
The operating system manages the whole computer. It manages files, memory, peripherals and multitasking, handles interrupts, provides an interface and a platform for applications, and looks after security and user accounts. You learn each function with an example.
An interrupt is a signal to the processor that something needs attention now. Hardware interrupts come from devices, such as a key press or a mouse movement. Software interrupts come from programs, such as a division by zero or two processes trying to use the same memory location.
When an interrupt arrives, the processor saves the state of its task and runs an interrupt service routine (ISR) for that interrupt. Then it restores the saved state and carries on. You follow these steps and see what happens as a result of each kind of interrupt.
Log in to join the discussion.
Loading…