1.2.1 Systems Software Flashcards

(32 cards)

1
Q

OS

A

refers to collection of programs that work together to provide an interface between user and computer

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

OS Features

A
  • memory management
  • resource managment
  • file management
  • device drivers
  • interrupt managment
  • utilities
  • security
  • UI
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Memory management

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

paging

A

memory is split up into physical, equal-sized sections known as pages

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

segmentation

A

splits up memory into logical sized divisions, segments.

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

Virtual memory

A

used section of hard drive to act as RAM, sections of programs not currently in use temporarily removed into VM, via paging - freeing up space in RAM

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

issue with VM (disk thrashing)

A

computer freezes, as pages being swapped too frequently between hard disk to main memory

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

interrupts

A

signals generated by software/hardware to indicate to processor that process needs attention

interrupts stored in order of priority, OS responsible to ensure interrupts serviced fairly by processor.

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

interrupt service routine

A

processor checks contents of interrupt register at end of each FDE cycle. If interrupt exists of higher priority to current, current contents of registers in cpu temporarily transferred into stack. Processor responds by loading ISR into RAM, flag is set ISR has begun

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

scheduling

A

ensure all sections of programs being run (jobs) recieve fair amount of processing time

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

pre-emptive

A

jobs actively made to start/stop by OS

eg. MLFQ, SRT, RR

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

NON PRE-EMPTIVE

A

once job started, left alone until complete

eg. FCFS, SJF

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

Round robbin

A

each job given section of processor time (time slice) within its allowed to execute. Once job finished, OS grants another slice, repeats until job is complete.

longer jobs = longer duration time as execution inefficiently split

ignores job priority

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

FCFS

A

jobs processed in order in which they enter queue

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

MLFQ

A

makes use of multiple queues, each ordered based on different priority

difficult to implement due to deciding which jobs to prioritise

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

SJF

A

jobs processed in order according to time required for completion.

Requires processor to know how long each job take

risk of processor starvation, which is when a process is
not given adequate processor time to execute and complete.

17
Q

SRT

A

processed according to time left for completion, jobswith least time to completion serviced first.

risk of processor starvation, which is when a process is
not given adequate processor time to execute and complete.

18
Q

distributed OS

A

os runs across multiple devices allowing load to spread across multiple computer processors

18
Q

types of OS

19
Q

embedded OS

A

built to perform small range of specific tasks

20
Q

multi-tasking OS

A

enables user to carry out task simultaneously, done by time slicing

21
Q

multi-user OS

A

MULTIPLE USERS CAN MAKE USE OF ONE COMPUTER, scheduling algorithm used.

risk of processor starvation, which is when a process is
not given adequate processor time to execute and complete.

22
Q

real time OS

A

designed to perform a task within a guaranteed time frame.

23
Q

BIOS

A

basic input output system

24
BIOS
program that runs when a computer system is turned on
25
BIOS responsible for running key tests before OS loaded into memory
- POST (power-on self test) >> ensures all hardware is correctly connected - checking CPU clock >> memory/processor is operational - testing for external memory devices connected to computer
26
bootstrap
program that loads the OS from the hard disk into main memory.
27
what is a device driver
a program supplied with a peripheral that allows OS to control and communicate with the device
28
Virtual machines
theoretical computer including a software implementation of a computer system.
29
intermediate code
code halfway between machine code and object code
30
why use Virtual machines?
commonly used to create a development environment for programmers to test programs on different OS. ADV: - saves time/money of having to purchase multiple devices for testing DisAdv: - running intermediate code in Virtual machine can be slower compared to running low-level code on device its designed for
31
other used of virtual machines
- protection from malware >> malware will affect VM rather than device being used - running incompatible software >> programs specific to different OS can be run within a VM (saves time/money)