4.1 Types of software and interrupts Flashcards

1
Q

What is software?

A

a series of instructions written in a programming language that performs a function

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are two types of system software?

A

operating system (OS) and utility programs

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is Application software?

A

Application software provides the services that
the user requires

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are 4 examples of generic names of application software?

A

Word Processor

Spreadsheet

Database

Web Browser

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Name all the roles of an Operating System

A

– managing files
– handling interrupts
– providing an interface
– managing peripherals and drivers
– managing memory
– managing multitasking
– providing a platform for running applications
– providing system security
– managing user account

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Describe how hardware, firmware and an operating system are required to run applications software.

A

The application software cannot run on a computer without an operating system. The operating system cannot run unless there instructions given to it, these are provided by the firmware. The firmware cannot run unless it is told to run, this is done using the bootstrap program, which is loaded when the computer first turns on and is run on the hardware.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is an interrupt?

A

a signal sent to a processor to tell it that its attention is needed

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What actions would cause interrupts to appear in the Hardware?

A

data input on a keyboard

error from hardware e.g. printer run out of paper

new hard drive device connected

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What actions would cause interrupts to appear in the software?

A

Division by 0

two processes attempting to access the same memory location

output required

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is the interrupt handler?

A

a program that organizes interrupts into a order based on priorities

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is the Interrupt service routine?

A

a program that receives an interrupt and performs a required action

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

How is an interrupt handled using an interrupt service
routine?

A
  • When the processor finishes its current fetch-decode-execute cycle (or before the starting the next FDE cycle), it checks the interrupt queue.
  • It checks whether there is an interrupt with a higher priority than the current task it is processing.
  • If it is, it:
                   Stores the current process and fetches the interrupt.
    
                   Checks the source of the interrupt.
    
                   Calls the relevant interrupt service routine (ISR). This is a sequence of 
                  instructions that handle the interrupt.
    
                   When finished the stored process is returned to memory or another 
                  higher-priority interrupt is fetched.
  • If it isn’t, it runs another FDE cycle.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly