the need for and purpose of operating systems Flashcards

1
Q

operating system

A

An operating system controls the computer’s software and loads the instructions. Acts as a platform for applications to run.

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

what do operating systems provide

A

The operating system manages all of the software and hardware in a computer and performs tasks such as:
* -Memory management
* - Resource management eg. scheduling
* - File management
* - Input/ Output management
* - Interrupt management
* - Utility software
* - Security
* - User interface

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

examples of operating systems

A

linux, windows, android, macOS

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

what is meant by memory management

A

Programs and their data need to be loaded into RAM. The Operating System must manage the allocation of RAM to the different programs. There may not be sufficient RAM for all desired
processes to be completely loaded into RAM at once

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

What is paging

A

Paging is when​ memory is split up into equal-sized sections known as pages​. These can then be swapped between main memory and the hard disk​ as needed.

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

what is segmentation

A

Segmentation is the ​splitting up of memory into logical sized divisions​, known as segments, which vary in size. These represent the ​structure and logical flow of the program​.

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

what is a Page table

A

A page table maps between the logical memory locations and the physical memory locations.

Logical address = A virtual address generated by the cpu while a program is running

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

virtual memory

A

Virtual memory uses a ​section of the hard drive​ to act as RAM when the space in main
memory is insufficient to store programs being used. Sections of programs ​not currently being used​ are temporarily moved into virtual memory through paging, freeing up memory for other programs in RAM.

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

disk thrashing

A

when the computer ‘freezes’ due to ​pages being swapped too frequently between the hard disk and main memory​.

This issue becomes progressively worse as virtual memory is filled up. Buying more ram can reduce disk thrashing.

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