[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
how does paging work
divided into pages through physical divisions -a module may be split into two they are a fixed size
26
define "process scheduling"
process manager removing running processes and choosing another process based on a strategy
27
what are the role of the process manager
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
what are the 5 types of scheduling algorithms
first come first served round robin shortest job first shortest remaining time multi level feedback queues
29
how does first come first served work
processes run from start to finish in order of arrival
30
what are the advantages of first come first served
simplest to implement once started running it will be done in minimal time good with few concurrent tasks
31
what are the disadvantages of first come first served
prevents processes running till current done doesn't consider size or priority important tasks could get stuck at back of queue
32
how does round robin work
each process given fixed time slice if it doesn't finish in that time it is sent to back of the queue
33
what are the advantages of round robin
simple to implement good if all tasks about same size and priority
34
what are the disadvantages of round robin
doesn't look at size or priority
35
how does shortest job first work
chooses shortest task and runs till completion
36
what are the advantages of shortest job first
max jobs completed short jobs dont wait for longer tasks using all CPU time
37
define "starvation" in terms of CPU time
being constantly denied processor time. being unable to run/complete
38
what are the disadvantages of shortest job first
estimates time taken (could be wrong) longer tasks could be starved doesn't look at priority
39
how does shortest remaining time work
process with least time left runs if shorter one comes, current one is suspended
40
what are the advantages of of shortest remaining time
short processes handled quickly max jobs completed
41
what are the disadvantages of shortest remaining time
longer tasks starved doesn't look at priority
42
how does multi level feedback queues work
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
what are the advantages of multi level feedback queues
takes into account priority high priority task run on time
44
what are the disadvantages of multi level feedback queues
complex implementation not good if processes have similar priority low priority tasks could be starved.
45
what are two ways of dealing with events that require immediate attention
polling interrupts
46
how does polling work
checks each software/hardware to see if it needs attention inefficient and waste of time
47
how do interrupts work
signal from software/hardware tell CPU that it requires immediate attention
48
what are the two types of interrupts
hardware (mouse click etc) and software (app closed etc)
49
what is an interrupt service routine
code designed to handle interruptions
50
when does the ISR check for interruptions
at the end of each FDE cycle
51
what happens when an interrupt occurs
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
what happens when a higher priority interrupt comes along
current interrupt is added to stack new interrupt is serviced
53
what are two problems with interrupts
latency - hard to code program that handles interrupts on time Stack overflow - crashes computer
54
what are device drivers
program controls operation of peripheral enabling OS to control and communicate with them
55
what are the disadvantages of using a generic device driver
missing features inefficient
56
what is the BIOS
allows OS to be loaded from power on.
57
where is BIOS stored
non volatile flash memory
58
what is the purpose of BIOS
perform POST bootloader loads OS kernel into memory
59
what is a virtual machine
program that works like a separate computer inside the main
60
what is a hypervisor in terms of virtual machines
program controlling the VM
61
what is the host in terms of virtual machines
computer running the VM
62
what is the role of the hypervisor in terms of virtual machines
controls how VM can access resources on the host.
63
what are the advantages of virtual machines
run old applications run multiple OS easy to back up can be deleted and reinstalled (protect from malware)
64
what are the disadvantages of virtual machines
programs can run slower software must still be licensed