OS and Memory Management Flashcards

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

What are the 3 types of memory management?

A

Paging
Segmentation
Virtual Memory

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

What are the scheduling algorithms?

A

Round Robin
First come first served
Multi-level feedback queues
Shortest job first
Shortest remaining time

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

What are the types of OS?

A

Distributed
Embedded
Multi-tasking
Multi-user
Real Time

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

Define the term OS.

A

The term ‘operating system’ refers to a collection of programs that work together to provide
an interface between the user and computer.

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

What is the purpose of using an OS?

A

Memory management
Interrupt Service Routines
Processor Scheduling
Backing store management
Management of all input and output

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

What are the features that an OS provides?

A
  • Memory management (paging, segmentation, virtual memory)
  • Resource management (scheduling)
  • File management (moving, editing, deleting files and folders)
  • Input/ Output management (device drivers)
  • Interrupt management
  • Utility software (disk defragmenter, backup, formatting etc.)
  • Security (firewall)
  • User interface
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

One of the roles of OS is

A

to determine and allocate the length of processor time each task receives through the use of paging, segmentation and virtual memory

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

What is paging?

A

Paging is when memory is split up into equal-sized sections known as pages, with programs being made
up of a certain number of equally-sized 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
9
Q

What is segmentation?

A

Segmentation is the splitting up of memory into logical sized divisions, known as segments, which vary in size. These are representative of the structure and logical flow of the program, with segments being allocated to blocks of code such as conditional statements or loops.

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

What is 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 that are not currently in use 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
11
Q

What is the key issue with using paging, segmentation, and virtual memory?

A

The key issue with using these three techniques is disk thrashing.

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

What is disk trashing?

A

This is when the computer ‘freezes’ because of pages being swapped too frequently between the hard disk and main memory.

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

What are the results of when a computer is said to be disk thrashing?

A

More time is spent transferring pages between main memory and the hard disk than is spent actually running the program. This issue becomes progressively worse as virtual memory is filled up.

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