Operating systems (OS) Flashcards

1
Q

What is an OS?

A

Set of software programs desgined to manage the hardware of the system

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

What purposes does it have?

A

controls the hardware of the system through software like resource manageent, hardware drivers, systems software, task management, scheduling, memory management, paging, segmentation and virtual memory

acts as a platfrom on which application software can run and deal with issues that the sotware may have such as storage of files

provided operator with a suitable Human User Interface to allow communcation bewteen users and hardware (for example command line interface)

handles communications between computer devices using rules and protocols to govern communication (such as across a netwrk)

handles translation of code through compiles, interpreters, assemblers to translate high/low level language into machine code

has many utilitt software programs used to carry out housekeeping tasks on the system to mantain the hardware

uses job scheduling to provide fair access to preocessor according to set of rules

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

What is memory management?

A

process of controlling and coordinating a computers main memory

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

How does memory management work?

A

organises use of main memory by converting logical adresses into physical adressed

partitions programs into chunks to ensure no space is wasted

ensures programs cant access each others memories without access/unless required to

allocates memory to allow seperate processes to run simaltaneously and reallocated memory when necessary

allows programs that are larger than main memory to run

provides security to protect the OS

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

What is paging?

A

partitioning of memory into fixed physical divisions made to fit sections of memory

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

What is segmentation?

A

partitioning of memory into variable sized logical divisions which hold complete sections of programs

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

What are the similarities between paging and segmentation?

A

both assigned to memory when needed to allow programs to run despite insufficient memory

stored on backing store disk to swap parts of programs used for virtual memory

allows programs to be stored in memory away from each toher

may cause disk threshing when more time spent swapping pages than processing

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