systems software Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

what is an operating system

A

collection of programs that provide an interface between the user and computer

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

operating system functions

A

user interface
security
utility software

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

paging

A

memory is split into equal sized sections called pages that ca be swapped between main memory and hard disk

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

segmentation

A

splitting up memory into logical sizzed division which cqn vqry

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

virtual memory

A

uses section of hard drive to act as ram when there isnt enough space to store programs being used
when not being used they are moved to virtual memory using paging to free up space in ram

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

disadvantages of virtual memory

A

disk thrashing - computer feezes because of pages being swapped too often between hard disk and memory
so more time gets spent transferring these pages

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

what is an interrupt

A

signals generated by soft or hardware to indicate to processor that a process needs attention

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

interrupt service routine stages

A

ir checked at end of each fde cycle
if interrupt exits with higher priority to current process, the registers contents are transferred to a stack
isr is loaded into ram
flag signals isr has begun
flag is reset when isr finishes
ir checked again if no interrupts with a higher priority, stack contents are placed back into registers
fde cycle continues

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

what is scheduling

A

function of the operating system to ensure all sections being run recieve a faie amount of processing time

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

pre emptive meaning

A

jobs are made to start and stop by operating system

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

non pre emptive meaning

A

once job is started, left alone till completed

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

5 different scheduling algorithms

A

round robin
first come first served
shortest job first
shortest remaining time
multilevel feedback queues

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

round robin

A

each job is assigned a time slice to execute. after using its time slice job moves to back of queue and process is repeated till job is completed.

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

advantages and disadvantages of round robin

A

advantages
ensures fairness
disadvantages
longer jobs take more time to finish
doesnt consider job priority which can lead to inefficiency

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

first come first served

A

jobs are processed by which they entered the queue

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

multilevel feedback queues

A

makes use of multiple queses, orded based on different priority
difficult to implement based on combination of priorities

17
Q

shortest job first

A

jobs processed based on time required to complete.
most suited for batch systems
processor has to calculate how long each job takes and isnt always possible

18
Q

shortest remaining time

A

jobs processed based on how much time is left for completion with jobs taking least amount of time first.

19
Q

types of operating system

A

distributed
embedded
multi tasking
multi user
real time

20
Q

distributed

A

run across multiple devices, load is spread across multiple processors

21
Q

multi tasking

A

user can carry out tasks simultaneously
done by time slicing to switch between programs and applications in memory

22
Q

multi user

A

multiple users make use of one computer
scheduling algorithm must be used to ensure processor time is shared fairly between jobs

23
Q

real time

A

performs task within guaranteed time frame
time critical computer systems

24
Q

bios

A

basic input output sstem
first program run when computers switched on
carries out three tests

25
Q

3 tests of bios

A

post - power on sef test checking all hardware are connected and functional
checks spu, clock, memory and processor is operational
tests for external memory deviced connected to compute

26
Q

device drivers

A

computer programs provided by os and allow os to interact with hardware

27
Q

what does device driver do

A

communicates hardwares request to os which produces output
specific to computers architecture

28
Q

virtual machine

A

theoretical computer that is a software implementation of a compuer system

29
Q

intermediate code

A

halfway between machine and object code
can be used across different machines and os

30
Q

uses of virtual machines

A

development enviroment for programmers
protection from malware
running incompatible software

31
Q

uses of virtual machines

A

development enviroment for programmers
protection from malware
running incompatible software