Pregunta 1
Respuesta
-
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
Pregunta 2
Pregunta
A task in blocked state:
Pregunta 3
Pregunta
Identify which state the process will transit: An interrupt occurs from disk unit 1 — P2’s read is complete:
Respuesta
-
New
-
Exit
-
Blocked/Suspend
-
Blocked
-
Ready/Suspend
-
Ready
-
Running
Pregunta 4
Pregunta
The process is in the secondary memory and awaiting an event:
Respuesta
-
Blocked
-
Ready
-
Blocked/Suspend
-
Ready/Suspend
Pregunta 5
Pregunta
In the Running state:
Respuesta
-
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
Pregunta 6
Pregunta
The process is in main memory and available for execution
Respuesta
-
Ready
-
Blocked/Suspend
-
Blocked
-
Ready/Suspend
Pregunta 7
Pregunta
The OS uses this table to know the location in main memory being used as the source of destination of the input/output transfer:
Respuesta
-
Primary process table
-
Memory tables
-
I/O tables
-
File table
Pregunta 8
Pregunta
Identify which state the process will transit: P4 terminates:
Respuesta
-
Running
-
New
-
Blocked/Suspend
-
Ready/Suspend
-
Ready
-
Blocked
-
Exit
Pregunta 9
Pregunta
Identify which state the process will transit: P1 time slice expires
Respuesta
-
Ready/Suspend
-
Ready
-
New
-
Blocked/Suspend
-
Blocked
-
Exit
-
Running
Pregunta 10
Pregunta
In which of these states the process is in secondary memory (choose all that apply)
Respuesta
-
ready
-
running
-
blocked
-
ready/suspend
-
blocked/suspend
Pregunta 11
Pregunta
Identify which state the process will transit: P1 executes a command to read from disk unit 3:
Respuesta
-
Running
-
Exit
-
New
-
Ready/Suspend
-
Blocked
-
Blocked/Suspend
-
Ready
Pregunta 12
Pregunta
Which of the following is not a state of a process?
Respuesta
-
New
-
Ready
-
Terminated
-
Waiting
-
Running
-
Old
Pregunta 13
Pregunta
Suppose that the process is in “Blocked” state waiting for some I/O device. When the service is completed, it goes to the
Respuesta
-
Terminated state
-
Ready state
-
Suspended state
-
Running state
Pregunta 14
Pregunta
With the use of swapping one other state must be added to the 5-state model:
Respuesta
-
Suspend state
-
Resume state
-
Blocked state
-
Pause state
Pregunta 15
Pregunta
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:
Respuesta
-
state
-
listing
-
fetch
-
trace
Pregunta 16
Pregunta
The state of a process is defined by:
Respuesta
-
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
Pregunta 17
Pregunta
In the Blocked state:
Respuesta
-
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
Pregunta 18
Pregunta
In the Ready/Suspend state:
Respuesta
-
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
Pregunta 19
Pregunta
In the Exit state:
Respuesta
-
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
Pregunta 20
Pregunta
Identify which state the process will transit: P3 swapped out
Respuesta
-
Ready
-
New
-
Running
-
Blocked/Suspend
-
Blocked
-
Ready/Suspend
Pregunta 21
Pregunta
Identify which state the process will transit: P2 is chosen by dispatcher
Respuesta
-
Exit
-
Blocked/Suspend
-
Running
-
Ready
-
Blocked
-
New
-
Ready/Suspend
Pregunta 22
Pregunta
The data neede by the OS to control a process is contained in the:
Pregunta 23
Pregunta
In which of these states the process is in main memory:
Respuesta
-
Running
-
Blocked
-
Ready
-
Ready/Suspend
-
Blocked/Suspend
Pregunta 24
Pregunta
Which of the following state transitions is not possible?
Respuesta
-
blocked to ready
-
blocked to running
-
running to blocked
-
ready to running
Pregunta 25
Pregunta
A reason for swapping:
Respuesta
-
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
Pregunta 26
Pregunta
Process Control Block is:
Pregunta 27
Pregunta
These tables are used to keep track of both main and secondary memory:
Respuesta
-
Memory tables
-
I/O tables
-
Primary process table
-
File table
Pregunta 28
Respuesta
-
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
Pregunta 29
Respuesta
-
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