Chapter 4 - software Flashcards

1
Q

What is the role of an operating system

A
  • manages computer hardware
  • provides a platform for running applications
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

what does a system software contain

A

operating system and utility software

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

where is the operating system run?

A

on firmware

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

what is an interrupt?

A

signal for the CPU to stop what it is currently doing and do something else with a higher priority

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

how are interrupts generated in the hardware

A

generated by a hardware device. e.g. hardware failure

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

how are interrupts generated in software

A
  • when an application stops
    OR
  • the application requests services from the OS
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

How are interrupts handled?

A
  • interrupt service routing holds the instructions, needed to be fetched decoded and executed to complete the commands of the interrupt.
  • contents are copied to a stack in the RAM
  • contents are added to the top of the stack, the contents will be saved for later retrieval when the interrupt is complete.
  • the interrupt will then be executed instead of the original instructions.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

examples of hardware interrupts

A
  • power button may have been pressed
  • moving the mouse
  • clicking an icon to open a new program
  • keyboard presses e.g. ctrl, alt, delete
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

examples of software interrupts

A
  • a program is not responding
  • division by zero
  • two processes trying to access the same memory location
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

what is the job of a translator

A

translates a programme / code in to machine code (binary)

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

what is high level language

A
  • uses english like statements
  • one instruction translates into many machine code
  • needs to be translated
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

advantages of high level language

A
  • easier to debug
    -easier to read and write
  • portable, can be used on any computer
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

disadvantages of high level language

A
  • needs a translator
  • user cannot directly manipulate the hardware
  • program may be less efficient
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

low level language

A
  • language that directly translates to machine code
  • easily understood by a processor
  • allows direct control over hardware components
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

advantages of low level languages

A
  • complete control of system components
  • doesn’t take a lot of storage
  • can manipulate directly hardware
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

disadvantages of low level languages

A
  • hard to write and understand
  • machine dependent
  • prone to errors
17
Q

where is firmware stored

A

stored in the rom

18
Q

what is the function of firmware

A

loads the operating system and helps the computer to boot

19
Q

what is the steps of the startup

A
  1. firmware loads first
  2. firmware loads the OS
  3. OS loads the application software
20
Q

what is application software

A

allows the user to perform an activity