4. Software Flashcards
1
Q
System software
A
- provides services that the computer requires
- e.g. utility software, like defragmentation software, antivirus, firewall
- e.g. operating system
2
Q
Application software
A
- provides services that the user requires
- e.g. word processor, web browser, video editing software
3
Q
Operating system
A
- software that manages computer hardware
- provides a platform for running application software
4
Q
Functions of the operating system
A
- providing a user interface
- multitasking
- input and output control
- running software
- memory management
- processor management
- handling interrupts
- providing security
- managing user accounts
5
Q
Managing memory
A
- keeping track of the status of each memory location
- managing the movement of data to and from RAM
- checks that processes have enough memory located to them
- makes sure two processes don’t try to access the same memory location at once
- manage the transfer of pages between virtual memory and RAM
- allows multitasking
6
Q
Managing peripherals
A
- allocates data to buffers
- transmits data to hardware
- receives data from hardware
7
Q
How interrupts work
A
- key press generates the interrupt
- interrupt given a priority
- interrupt is sent to CPU
- interrupt is placed in a queue
- CPU finishes current FDE cycle for program
- CPU checks interrupt priority queue
- if lower priority, CPU runs next FDE cycle for program
- if higher priority, processor stores current process/registers on stack
- CPU stops current task to check the queue/service the interrupt
- …using an interrupt service routine (ISR)
- ISR handles/resolves interrupt
- if there is another higher priority interrupt then repeat
- (otherwise) CPU retrieves content of stack/registers
8
Q
Examples of hardware interrupts
A
- moving the mouse
- clicking a mouse button
- plugging in a device
- paper jam in printer
- printer out of paper
9
Q
Examples of software interrupts
A
- division by zero
- two processes accessing the same memory location
- null value
10
Q
Purpose of firmware
A
- permanently store instructions (in ROM)
- store instructions to start up the computer
- provides the operating system with a platform to run on
11
Q
Examples of firmware
A
- bootstrap
- bootloader
- BIOS
12
Q
Low-level language
A
- close to the language processed by computers
- may use mnemonics
- an example is assembly language/machine code
13
Q
Advantages of low-level languages
A
- does not need a compiler/interpreter
- can directly manipulate hardware
- no requirement for program to be portable
- program more memory efficient
- quicker to execute
- can use specialised hardware
14
Q
High-level language
A
- uses English-like statements
- needs to be converted into machine code
- …using a translator
- portable
- one line of code can perform multiple commands
15
Q
How compilers report errors
A
- creates an error report after trying to compile
- …displaying all errors in the code
- …that require correction before execution can take place
16
Q
IDE
A
software designed to make writing high-level languages more efficient
17
Q
Functions of IDEs
A
- code editors
- run-time environment
- built-in compiler
- built-in interpreter
- error diagnostics
- auto-completion
- auto-correction
- prettyprinting