Chapter 3 (Quiz 3 Portion) Flashcards
Process Concept, Process Scheduling, Operations on Processes, Inter-process Communication, Examples of IPC Systems, Communication in Client-Server Systems.
What is a Process?
A program in execution.
A Process execution must progress in what fashion?
A sequential fashion.
What is a Stack?
Containing temporary data, Functions parameter, return addresses & local variables.
What is a Heap?
Containing memory dynamically allocated during run time.
A Program is a passive entity. (True or False)
True.
A Process is a active entity. (True or False)
True.
When does a program become a process?
When an executable file is loaded into memory.
One program can be several processes. (True or False)
True.
What are the 5 process states?
1- New.
2- Running.
3- Waiting.
4- Ready.
5- Terminated.
What is the New process state?
The process is being created.
What is the Running process state?
Instructions are being executed.
What is the Waiting process state?
The process is waiting for some event to occur.
What is the Ready process state?
The process is waiting to be assigned to a processor.
What is the Terminated process state?
The process has finished execution.
What is Process Control Block?
Information for each process.
What is another name for Process Control Block?
Task Control Block.
What is a Process Scheduler?
selects among available processes for next execution on CPU.
What is a Short-Term Scheduler?
Also known as CPU Scheduler, selects which process should be executed next and allocates CPU.
What is a Long-Term scheduler?
Also known as Job scheduler, selects which processes should be brought into the ready queue.
What is a Medium-Term scheduler?
Can be added if degree of multiple programming needs to decrease.
What is Swapping?
Remove process from memory, store on disk, bring back in from disk to continue execution.
What are the IOS (IPhone) process?
1- Single foreground process for user interface.
2- Multiple background processes for memory and running.
What is the Android (Samsung) process?
Runs foreground and background, with fewer limits.
What are the Resource sharing options for Process Creation?
1- Parent and children share all resources.
2- Children share subset of parent’s resources.
3- Parent and child share no resources.