Processes Flashcards

1
Q

What are two defining attributes of zombie processes

A

Child process has been terminated. Parent has not yet issued a wait() system call.

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

Which part of the operating system decides when the OS will perform a context switch?

A

Kernel

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

What is a process control block

A

A data structure used by operating systems to store all information about a process.

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

When a process is created by fork(), what makes the child process a child of it’s parent process?

A

Duplicate copies of the text, data and stack segment memory of its parent

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

Who does the Real User ID belong to?

A

The user who originally logged in

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

What is the purpose of the Effective User ID

A

To temporarily change the identity for a certain process or part of a process. (e.g. become root)

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