Course 1 Week 3 Process Management, Memory Management, and Virtual Memory Flashcards

1
Q

What is definition of a process? Example?

A

a program that’s executing

internet browser, text editor

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

What is the definition of a program? Example?

A

an application we can run, like Chrome

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

What’s the difference between a process and a program?

A

We can have many processes of the same program running at the same time

(Chrome x5 processes, how many chrome windows open)

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

What resources do we need to run programs?

A

some like RAM, CPU

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

What is a time slice in relation to the CPU?

A

The very short interval of time that a CPU uses to execute a process (one by one)

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

2 reasons why a computer would be running slowly and CPU resources being maxed out?

A
  1. One process may be taking more time slices than it should, next process can’t execute
  2. Too many processes want CPU time and CPU can’t keep up
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is virtual memory?

A

Combines hard drive space and RAM to give us more memory for processes

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

What are “pages”? Where are they stored?

A

Chunks of a program’s data

Stored in virtual memory when executing process

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

How do you read and execute pages?

A

they’re sent to physical memory (RAM)

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

Why would an application slow down when changing menus?

A

Computer loaded the page for that application from virtual memory into RAM

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

Why not store entire applications in RAM?

A

Wasteful for large applications (small is possible)

Only need a recipe not the whole cookbook

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

What is “swap space”?

A

disk space we can use for RAM when virtual memory is stored on hard drive

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

What does the Kernel handle in terms of memory management and pages?

A

handles process of taking pages (of data) and swapping them between RAM and virtual memory.

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