Question 1
Answer
-
is a device where information is stored.
-
is a device that performs a sequence of operations specified by instructions in memory.
-
is a sequence of instructions
-
is typcially characterized by interactive processing and time of the CPU's time to allow quick response to each user
Question 2
Question
A task in blocked state:
Question 3
Question
Identify which state the process will transit: An interrupt occurs from disk unit 1 — P2’s read is complete:
Answer
-
New
-
Exit
-
Blocked/Suspend
-
Blocked
-
Ready/Suspend
-
Ready
-
Running
Question 4
Question
The process is in the secondary memory and awaiting an event:
Answer
-
Blocked
-
Ready
-
Blocked/Suspend
-
Ready/Suspend
Question 5
Question
In the Running state:
Answer
-
the process is prepared to execute
-
the process has been released from the pool of executable processes
-
The process has been created but has not yet been admitted to the pool of executable processes
-
The process is currently being executed
-
The process cannot execute until some event occurs
-
The process is available for execution as soon as it is loaded in main memory
Question 6
Question
The process is in main memory and available for execution
Answer
-
Ready
-
Blocked/Suspend
-
Blocked
-
Ready/Suspend
Question 7
Question
The OS uses this table to know the location in main memory being used as the source of destination of the input/output transfer:
Answer
-
Primary process table
-
Memory tables
-
I/O tables
-
File table
Question 8
Question
Identify which state the process will transit: P4 terminates:
Answer
-
Running
-
New
-
Blocked/Suspend
-
Ready/Suspend
-
Ready
-
Blocked
-
Exit
Question 9
Question
Identify which state the process will transit: P1 time slice expires
Answer
-
Ready/Suspend
-
Ready
-
New
-
Blocked/Suspend
-
Blocked
-
Exit
-
Running
Question 10
Question
In which of these states the process is in secondary memory (choose all that apply)
Answer
-
ready
-
running
-
blocked
-
ready/suspend
-
blocked/suspend
Question 11
Question
Identify which state the process will transit: P1 executes a command to read from disk unit 3:
Answer
-
Running
-
Exit
-
New
-
Ready/Suspend
-
Blocked
-
Blocked/Suspend
-
Ready
Question 12
Question
Which of the following is not a state of a process?
Answer
-
New
-
Ready
-
Terminated
-
Waiting
-
Running
-
Old
Question 13
Question
Suppose that the process is in “Blocked” state waiting for some I/O device. When the service is completed, it goes to the
Answer
-
Terminated state
-
Ready state
-
Suspended state
-
Running state
Question 14
Question
With the use of swapping one other state must be added to the 5-state model:
Answer
-
Suspend state
-
Resume state
-
Blocked state
-
Pause state
Question 15
Question
We can characterize the behavior of an individual process by listing the sequence of instructions that execute for that process. Such a listing is referred to as:
Answer
-
state
-
listing
-
fetch
-
trace
Question 16
Question
The state of a process is defined by:
Answer
-
The activity to next be executed by the process
-
The current activity of the process
-
The activity just executed by the process
-
The final activity of the products
Question 17
Question
In the Blocked state:
Answer
-
The process cannot execute until some event occurs
-
The process is available for execution as soons as it is loaded into main memory
-
The process has been created but has not yet been admitted to the pool of executable processes
-
The process has been released from the pool of executable processes
-
The process is currently being executed
-
The process is prepared to execute
Question 18
Question
In the Ready/Suspend state:
Answer
-
the process is available for execution as soon as it is loaded into memory
-
the process is currently being executed
-
the process cannot execute until some event occurs
-
the process has been created but has not yet been admitted to the pool of executable processes
-
the process has been released from the pool of executable processes
-
the process is prepared to execute
Question 19
Question
In the Exit state:
Answer
-
the process cannot execute until some event occurs
-
the process is currently being executed
-
the process is available for execution as soon as it is loaded into memory
-
the process is prepared to execute
-
the process has been released from the pool of executable processes
-
the process has been created but has not yet admitted to the pool of executable processes
Question 20
Question
Identify which state the process will transit: P3 swapped out
Answer
-
Ready
-
New
-
Running
-
Blocked/Suspend
-
Blocked
-
Ready/Suspend
Question 21
Question
Identify which state the process will transit: P2 is chosen by dispatcher
Answer
-
Exit
-
Blocked/Suspend
-
Running
-
Ready
-
Blocked
-
New
-
Ready/Suspend
Question 22
Question
The data neede by the OS to control a process is contained in the:
Question 23
Question
In which of these states the process is in main memory:
Answer
-
Running
-
Blocked
-
Ready
-
Ready/Suspend
-
Blocked/Suspend
Question 24
Question
Which of the following state transitions is not possible?
Answer
-
blocked to ready
-
blocked to running
-
running to blocked
-
ready to running
Question 25
Question
A reason for swapping:
Answer
-
processor is so much faster than I/O, it will be common for all processes in memory to be waiting for I/O
-
processor is so much slower than I/O will be common for all processes in memory to be waiting for processor
Question 26
Question
Process Control Block is:
Question 27
Question
These tables are used to keep track of both main and secondary memory:
Answer
-
Memory tables
-
I/O tables
-
Primary process table
-
File table
Question 28
Answer
-
is a sequence of instructions
-
is a device where information is stored
-
is a device that performs a sequence of operations specified by instructions in memory.
-
is typically characterized by interactive processing and time of the CPU's time to allow quick response to each user
Question 29
Answer
-
is typically characterized by interactive processing and time of the CPU's time to allow quick response to each user
-
is a device that performs a sequence of operations specified by instructions in memory
-
is a device where information is stored.
-
is a sequence of instructions