In operating system, each process has its own __________

address space and global variables
open files
pending alarms, signals and signal handlers
all of the mentioned
all of the mentioned  In Operating Systems, each process has its own address space which contains code, data, stack and heap segments or sections. Each process also has a list of files which is opened by the process as well as all pending alarms, signals and various signal handlers.

Related posts

If a process fails, most operating system write the error information to a ______
A. log file
B. another running process
C. new file
D. none of the mentioned
A process can be terminated due to __________
A. normal exit
B. fatal error
C. killed by another process
D. all of the mentioned
The number of processes completed per unit time is known as __________
A. Output
B. Throughput
C. Efficiency
D. Capacity
The primary distinction between the short term scheduler and the long term scheduler is __________
A. The length of their queues
B. The type of processes they schedule
C. The frequency of their execution
D. None of the mentioned
What is the objective of multiprogramming?
A. Have a process running at all time
B. Have multiple programs waiting in a queue ready to run
C. To increase CPU utilization
D. None of the mentioned
What is a long-term scheduler?
A. It selects processes which have to be brought into the ready queue
B. It selects processes which have to be executed next and allocates CPU
C. It selects processes which heave to remove from memory by swapping
D. None of the mentioned
What is a short-term scheduler?
A. It selects which process has to be brought into the ready queue
B. It selects which process has to be executed next and allocates CPU
C. It selects which process to remove from memory by swapping
D. None of the mentioned

Leave a Reply

Your email address will not be published. Required fields are marked *