week 11 lecture Flashcards

1
Q

what is a program

A

executable code, or source code

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

what is a process

A

Running Program

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

what is a foreground process

A

interacts with user

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

what is a background process

A

runs to completion and reports results (to file or window)

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

what does a process consist of

A

-Set of executable instructions
-Region of memory
-Operating System resources
-Security attributes
-Processor State

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

what is a process id

A

When a process runs, Linux keeps track of it through a process ID (PID)

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

how can a process be created

A

Process can only be created by another process
Parent Process creates (spawns) one or more child processes

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

what does the processor perform

A

fetch-execute cycle

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

what does the cpu consist of

A

-Control Unit
-Arithmetic Logic Unit (ALU)

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

what is a process state?

A

As a process executes, state of the process changes

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

what is process management

A

Scheduling of processes is known as process management

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

what is a batch?

A

sequence of processes

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

what is multi-programming

A

When a process is performing time-consuming I/O, process is removed from CPU and replaced with a different process.

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

what is a context switch

A

Switching of processes on the CPU

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