[Unit 1.2.1] Systems Software Flashcards

systems software

1
Q

what is application software

A

allows user to do or make something

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

what is system software

A

program designed to run hardware and application program

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

what is operating system

A

controls hardware and software resources

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

what are the three types of systems software

A

OS, device drivers, utilities

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

what are device drivers

A

tells OS how to interact with peripherals

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

what are utilities in terms of systems software

A

housekeeping and maintenance programs

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

what are the 7 key features of the OS

A

processor scheduling (order processes executed)
handling interrupts (dealing w requests disrupting CPU)
memory management (memory allocated efficiently)
file management (tracking files in 2nd storage)
device management (efficient coms w I/O devices)
providing security (resources protected from unauthorised users)
provide UI

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

what are the four types of UI

A

CLI
GUI
menu based
natural language

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

what is a command line interface. what are the advantages and disadvantages

A

type commands.
not intuitive (for experts)
uses less memory

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

what is a GUI. what are the advantages and disadvantages

A

windows, icons, menus, pointer (WIMP)
intuitive (for non-experts)
uses more system resources

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

what is a menu based UI. what are the advantages and disadvantages. give an example

A

limited options (like ATM)
for people who have no clue how to use technology
have limited functionality

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

what is a natural language UI. what are the advantages and disadvantages

A

uses voice recognition.
it is very intuitive
not always completely accurate

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

what is the kernel in terms of OS

A

it is the core of the OS, it has complete control over everything in the system. It is the first part of the OS to load after the bootloader

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

what are the five types of OS

A

multi tasking
multi user
embedded
real time (RTOS)
distributed

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

what is the multi tasking OS

A

multiple programs at same time
works due to speed of CPU
has process manager and memory manager

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

what is the multi user OS

A

multiple users can use a system at same time
controls resource consumption so users dont affect each other

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

what is the distributed OS

A

multiple computers work together on a single task
controls and coordinates many computers
presented as if it is one system

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

what are the uses of a distributed OS

A

working on scientific problems
rendering CGI effects

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

what is the embedded OS

A

on devices that have limited functions
for hardware reliability
efficient use of resources
OS stored on ROM as unchangeable

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

what are some things that would use an embedded OS

A

smart tvs
ATMs
washing machines
smart watches
elevators

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

what is the real-time OS

A

designed for performing actions in guaranteed time
must be reliable, precise and consistent
used for safety critical systems
-self driving cars or autopilot
used in embedded systems
-medical systems (MRI)
-car engine management

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

what is the role of memory management

A

control allocation of RAM to each process
stop programs interfering with each other
allow multitasking
allow programs to use virtual memory

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

how is memory allocated

A

when there is free space that is fragmented it is easier to split up the program
do this by:
-segmentation
-paging

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

how does segmentation work

A

split into segments though logical divisions
-complete sections of programs
they are not fixed size

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

how does paging work

A

divided into pages through physical divisions
-a module may be split into two
they are a fixed size

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

define “process scheduling”

A

process manager removing running processes and choosing another process based on a strategy

27
Q

what are the role of the process manager

A

complete as many tasks as possible in least time
ensure no task left for too long
make efficient use of CPU time
minimise delay in request and completion

28
Q

what are the 5 types of scheduling algorithms

A

first come first served
round robin
shortest job first
shortest remaining time
multi level feedback queues

29
Q

how does first come first served work

A

processes run from start to finish in order of arrival

30
Q

what are the advantages of first come first served

A

simplest to implement
once started running it will be done in minimal time
good with few concurrent tasks

31
Q

what are the disadvantages of first come first served

A

prevents processes running till current done
doesn’t consider size or priority
important tasks could get stuck at back of queue

32
Q

how does round robin work

A

each process given fixed time slice
if it doesn’t finish in that time it is sent to back of the queue

33
Q

what are the advantages of round robin

A

simple to implement
good if all tasks about same size and priority

34
Q

what are the disadvantages of round robin

A

doesn’t look at size or priority

35
Q

how does shortest job first work

A

chooses shortest task and runs till completion

36
Q

what are the advantages of shortest job first

A

max jobs completed
short jobs dont wait for longer tasks using all CPU time

37
Q

define “starvation” in terms of CPU time

A

being constantly denied processor time. being unable to run/complete

38
Q

what are the disadvantages of shortest job first

A

estimates time taken (could be wrong)
longer tasks could be starved
doesn’t look at priority

39
Q

how does shortest remaining time work

A

process with least time left runs
if shorter one comes, current one is suspended

40
Q

what are the advantages of of shortest remaining time

A

short processes handled quickly
max jobs completed

41
Q

what are the disadvantages of shortest remaining time

A

longer tasks starved
doesn’t look at priority

42
Q

how does multi level feedback queues work

A

have queues of different priority levels
when new jobs arrives it’s placed in relevant queue.
can move processes between queues:
-dependant on new information
-or if job waited for too long

43
Q

what are the advantages of multi level feedback queues

A

takes into account priority
high priority task run on time

44
Q

what are the disadvantages of multi level feedback queues

A

complex implementation
not good if processes have similar priority
low priority tasks could be starved.

45
Q

what are two ways of dealing with events that require immediate attention

A

polling
interrupts

46
Q

how does polling work

A

checks each software/hardware to see if it needs attention
inefficient and waste of time

47
Q

how do interrupts work

A

signal from software/hardware tell CPU that it requires immediate attention

48
Q

what are the two types of interrupts

A

hardware (mouse click etc) and software (app closed etc)

49
Q

what is an interrupt service routine

A

code designed to handle interruptions

50
Q

when does the ISR check for interruptions

A

at the end of each FDE cycle

51
Q

what happens when an interrupt occurs

A

priority checked
registers values copied into stack
origin identified so correct ISR called
ISR address loaded into PC
ISR executed
previous task restored and resumed

52
Q

what happens when a higher priority interrupt comes along

A

current interrupt is added to stack
new interrupt is serviced

53
Q

what are two problems with interrupts

A

latency - hard to code program that handles interrupts on time
Stack overflow - crashes computer

54
Q

what are device drivers

A

program controls operation of peripheral
enabling OS to control and communicate with them

55
Q

what are the disadvantages of using a generic device driver

A

missing features
inefficient

56
Q

what is the BIOS

A

allows OS to be loaded from power on.

57
Q

where is BIOS stored

A

non volatile flash memory

58
Q

what is the purpose of BIOS

A

perform POST
bootloader loads OS kernel into memory

59
Q

what is a virtual machine

A

program that works like a separate computer inside the main

60
Q

what is a hypervisor in terms of virtual machines

A

program controlling the VM

61
Q

what is the host in terms of virtual machines

A

computer running the VM

62
Q

what is the role of the hypervisor in terms of virtual machines

A

controls how VM can access resources on the host.

63
Q

what are the advantages of virtual machines

A

run old applications
run multiple OS
easy to back up
can be deleted and reinstalled (protect from malware)

64
Q

what are the disadvantages of virtual machines

A

programs can run slower
software must still be licensed