Good Guy Beket
Test por , creado hace más de 1 año

Suicidal Operating Systems [Teachers: Teshebayeva Karagoz, Mishina Aigerim ; Final Exam + STATE EXAM] ▼ Test sobre OS | Quiz #2, creado por Good Guy Beket el 28/03/2019.

999
9
0
Good Guy Beket
Creado por Good Guy Beket hace más de 5 años
Cerrar

OS | Quiz #2

Pregunta 1 de 29

1

A program

Selecciona una de las siguientes respuestas posibles:

  • 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

Explicación

Pregunta 2 de 29

1

A task in blocked state:

Selecciona una de las siguientes respuestas posibles:

  • is running

  • is executable

  • is waiting for some temporarily unavailable resources

  • must still be placed in the run queues

Explicación

Pregunta 3 de 29

1

Identify which state the process will transit: An interrupt occurs from disk unit 1 — P2’s read is complete:

Selecciona una de las siguientes respuestas posibles:

  • New

  • Exit

  • Blocked/Suspend

  • Blocked

  • Ready/Suspend

  • Ready

  • Running

Explicación

Pregunta 4 de 29

1

The process is in the secondary memory and awaiting an event:

Selecciona una de las siguientes respuestas posibles:

  • Blocked

  • Ready

  • Blocked/Suspend

  • Ready/Suspend

Explicación

Pregunta 5 de 29

1

In the Running state:

Selecciona una de las siguientes respuestas posibles:

  • 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

Explicación

Pregunta 6 de 29

1

The process is in main memory and available for execution

Selecciona una de las siguientes respuestas posibles:

  • Ready

  • Blocked/Suspend

  • Blocked

  • Ready/Suspend

Explicación

Pregunta 7 de 29

1

The OS uses this table to know the location in main memory being used as the source of destination of the input/output transfer:

Selecciona una de las siguientes respuestas posibles:

  • Primary process table

  • Memory tables

  • I/O tables

  • File table

Explicación

Pregunta 8 de 29

1

Identify which state the process will transit: P4 terminates:

Selecciona una de las siguientes respuestas posibles:

  • Running

  • New

  • Blocked/Suspend

  • Ready/Suspend

  • Ready

  • Blocked

  • Exit

Explicación

Pregunta 9 de 29

1

Identify which state the process will transit: P1 time slice expires

Selecciona una de las siguientes respuestas posibles:

  • Ready/Suspend

  • Ready

  • New

  • Blocked/Suspend

  • Blocked

  • Exit

  • Running

Explicación

Pregunta 10 de 29

1

In which of these states the process is in secondary memory (choose all that apply)

Selecciona una o más de las siguientes respuestas posibles:

  • ready

  • running

  • blocked

  • ready/suspend

  • blocked/suspend

Explicación

Pregunta 11 de 29

1

Identify which state the process will transit: P1 executes a command to read from disk unit 3:

Selecciona una de las siguientes respuestas posibles:

  • Running

  • Exit

  • New

  • Ready/Suspend

  • Blocked

  • Blocked/Suspend

  • Ready

Explicación

Pregunta 12 de 29

1

Which of the following is not a state of a process?

Selecciona una de las siguientes respuestas posibles:

  • New

  • Ready

  • Terminated

  • Waiting

  • Running

  • Old

Explicación

Pregunta 13 de 29

1

Suppose that the process is in “Blocked” state waiting for some I/O device. When the service is completed, it goes to the

Selecciona una de las siguientes respuestas posibles:

  • Terminated state

  • Ready state

  • Suspended state

  • Running state

Explicación

Pregunta 14 de 29

1

With the use of swapping one other state must be added to the 5-state model:

Selecciona una de las siguientes respuestas posibles:

  • Suspend state

  • Resume state

  • Blocked state

  • Pause state

Explicación

Pregunta 15 de 29

1

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:

Selecciona una de las siguientes respuestas posibles:

  • state

  • listing

  • fetch

  • trace

Explicación

Pregunta 16 de 29

1

The state of a process is defined by:

Selecciona una de las siguientes respuestas posibles:

  • 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

Explicación

Pregunta 17 de 29

1

In the Blocked state:

Selecciona una de las siguientes respuestas posibles:

  • 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

Explicación

Pregunta 18 de 29

1

In the Ready/Suspend state:

Selecciona una de las siguientes respuestas posibles:

  • 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

Explicación

Pregunta 19 de 29

1

In the Exit state:

Selecciona una de las siguientes respuestas posibles:

  • 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

Explicación

Pregunta 20 de 29

1

Identify which state the process will transit: P3 swapped out

Selecciona una de las siguientes respuestas posibles:

  • Ready

  • New

  • Running

  • Blocked/Suspend

  • Blocked

  • Ready/Suspend

Explicación

Pregunta 21 de 29

1

Identify which state the process will transit: P2 is chosen by dispatcher

Selecciona una de las siguientes respuestas posibles:

  • Exit

  • Blocked/Suspend

  • Running

  • Ready

  • Blocked

  • New

  • Ready/Suspend

Explicación

Pregunta 22 de 29

1

The data neede by the OS to control a process is contained in the:

Selecciona una de las siguientes respuestas posibles:

  • handler routine

  • processor state information

  • program status word

  • process control block

Explicación

Pregunta 23 de 29

1

In which of these states the process is in main memory:

Selecciona una o más de las siguientes respuestas posibles:

  • Running

  • Blocked

  • Ready

  • Ready/Suspend

  • Blocked/Suspend

Explicación

Pregunta 24 de 29

1

Which of the following state transitions is not possible?

Selecciona una de las siguientes respuestas posibles:

  • blocked to ready

  • blocked to running

  • running to blocked

  • ready to running

Explicación

Pregunta 25 de 29

1

A reason for swapping:

Selecciona una de las siguientes respuestas posibles:

  • 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

Explicación

Pregunta 26 de 29

1

Process Control Block is:

Selecciona una de las siguientes respuestas posibles:

  • data structure

  • process type variable

  • a block in memory

  • a secondary storage section

Explicación

Pregunta 27 de 29

1

These tables are used to keep track of both main and secondary memory:

Selecciona una de las siguientes respuestas posibles:

  • Memory tables

  • I/O tables

  • Primary process table

  • File table

Explicación

Pregunta 28 de 29

1

A memory

Selecciona una de las siguientes respuestas posibles:

  • 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

Explicación

Pregunta 29 de 29

1

A processor

Selecciona una de las siguientes respuestas posibles:

  • 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

Explicación