Module 2.3 Flashcards

1
Q

What is the informal definition of a process?

A

A program in execution

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

What is the broad definition of a process?

A

All CPU activities

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

What keeps track of all the processes running?

A

PCB (Process Control Block)

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

What data are included in PCB (Process Control Block?

A

-Process ID
-Process State
-Process Priority
-Memory Usage
-Allocated Resource

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

What are resources needed for processes?

A

-CPU
-Main Memory
-I/O

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

What are threads?

A

Parts of a process that may run concurrently

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

Another name for threads?

A

lightweight process

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

What is a heavyweight process?

A

contains only one thread

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

What are peer threads?

A

Threads belonging to the same process

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

Why are threads process-dependent?

A

You cant have a thread without a process; threads are not standalone

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

What is time slicing?

A

Needed for resources that is shared in time

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

What is inter-process communication?

A

a process may communicate with one or more processes

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

What is a socket?

A

An endpoint for communication

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

What is inter-process communication over a network?

A

A pair of communicating processes consists of two sockets

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

What is virtualization?

A

Multiple virtual systems hosted in one hardware

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

How is virtualization implemented?

A

By using hypervisor

17
Q

Threads pros and cons?

A

PROS
-Efficiency
-Potentially faster process execution

CONS
-Synchronization complexities
-A misbehaving thread may cause problems to the entire process

18
Q

Virtualization Pros and Cons?

A

PROS
-Maximizes hardware
-Lower costs
-Multiplatform hosting

CONS
-Eggs in one basket
-Sluggish with less powerful hardware

19
Q

What is Type 1 Hypervisor?

A

-Also called Bare-Metal
-Directly connects with the hardware

20
Q

What is Type 2 Hypervisor?

A

-Also called Hosted
-Installed as a application running as a process running on top of a Host OS