Operating systems Flashcards

1
Q

what is the list of things the operating system povides

A

manages peripherals
provides security
controls access
provides a platfrom to run software
utilities for system management
allows multi-tasking

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

what are the types of UI

A

CLI
GUI

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

how to does a GUI provide a user interface

A

windows
icons/images
menus
pointers

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

How does a CLI provide a user interface

A

command lines in termals and etc

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

how does an OS provide security

A

usernames and passwords
priviledge policys i.e student can only view their files but teacher can view their students files.

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

What is the kernal

A

the centre of the operating system directly interacts with the hardware

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

what are the 5 types of operating system

A

distributed
multi-user
multi-tasking
embedded
real time

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

what is a distrubuted system

A

a distributed system uses multiple processors physicallly seperated to split tasks among them more powerful tasks completed quicker

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

what is a multi-user system when is it used

A

allows multiple users to be on he server at once without security issues
used when resources need to be accessed simulatneously

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

what is a multi-task system

A

allows multiple programs to run at once
never actually at once but appears like it

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

what is paging in memory management

A

pages are all fixed sizes
physical divisions
i.e splits memory into 4Kbs and splits the program in the same intervals

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

what is segmenting in memory management

A

segments are sections of the program
logical divisions
in order to fit free spaces

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

what is scheduling

A

scheduling controls how the processor time is allocated which allows for multi-tasking

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

what are the types of scheduling needed to know

A

round robin
first come first server
shortest job first
shortest time remaining job
shortest time remaining
multi-level feeback queue

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

How does round robin work

A

processor time divided equally among jobs
given time slices

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

pros and cons of round robin

A

low wait time

doesnt scale well more taskes smaller time slices less efficient

16
Q

how does first come first serve scheduling work

A

first job in is processed then move ot the next

17
Q

cons of first come first seve

A

processes may have to wait a long time

18
Q

what is shortest job first

A

the job that requires the shortest processor time is completed first

19
Q

what is shortest job remaining first

A

the job which requires the shortest processor time left is completed first

20
Q

pros and cons to shortest job first

A

reduces wait time (the long jobs are done last)
can cause starvation

21
Q

pros and cons to shortest time remaining

A

more efficient than shortest job first
can still lead to starvation

22
Q

what is multi-level feedback queue

A

uses queues where each task has a priority
if a process uses to much processor time given low priority
if sat idel for too long priority is moved up

23
Q

what is an interrupt used for

A

an interrupt is a way to signal to the CPU that a task needs the CPUs processor time

24
what is the interrupt service routine
complete the FDE cycle check priority of the interrupt is higher than the priority of the current application if yes contents fo the registers stored as a stack the address of the interrupt is coppied into the registers when the ISR is complete the previous stack is popped back into the registers
25
explain interrupt service routine [6]
completes current FDE cycle interrupt register is checked priority is checked if higher contents of registers are stored on the stack Program counter is set to the address of the first interrupt instruction when finished previous register stores are restored FDE cycle resumes
26
two people need to access the same device explain how operating sytems can allow that [6]
multi user operating system different username and passwords for each of them to log in different settings personalise their experience access control rights can be allocated to each user only access their own files improve security
27
state two sources of interrupts and why these sources have different priorities [4]
peripheral needs attention (i.e key board press) power button / shutdown has been pressed the shutdown must be handled immediately it is important to provide a reponsive user experience some interrupts are more important than other interrupts
28
state two similarities between paging and segmentation
both a form of dividing up a program in order to be stored in Main memory both allow more data to be stored when there is an insufficient amount of free RAM i.e by splitting up or using VM
29
why is scheduling necarssary
in order to process as many jobs as possible in as little time as possible emsures all jobs are processed efficient use of resources
30
why is Memory managing necarssary
organise main memory by changing logical addresses into physical addresses allowing the computer to run when RAM is full protect programs from each other split up Tasks allocates memory to tasks
31
describe an embedded operating system [3]
any three from Low level operating system Stored in ROM Designed to do a certain function A system embedded into another device
32
describe the term utility software
Specialist system software Often with the OS designed to help maintain the program
33
What is the purpose of Anti-virus software [2]
prevents harmful program being ran or installed if a virus is installed can be detected and removes it safely
34