Good Guy Beket
Quiz von , erstellt am more than 1 year ago

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

992
9
0
Good Guy Beket
Erstellt von Good Guy Beket vor mehr als 5 Jahre
Schließen

OS | Quiz #2

Frage 1 von 29

1

A program

Wähle eine der folgenden:

  • 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

Erklärung

Frage 2 von 29

1

A task in blocked state:

Wähle eine der folgenden:

  • is running

  • is executable

  • is waiting for some temporarily unavailable resources

  • must still be placed in the run queues

Erklärung

Frage 3 von 29

1

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

Wähle eine der folgenden:

  • New

  • Exit

  • Blocked/Suspend

  • Blocked

  • Ready/Suspend

  • Ready

  • Running

Erklärung

Frage 4 von 29

1

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

Wähle eine der folgenden:

  • Blocked

  • Ready

  • Blocked/Suspend

  • Ready/Suspend

Erklärung

Frage 5 von 29

1

In the Running state:

Wähle eine der folgenden:

  • 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

Erklärung

Frage 6 von 29

1

The process is in main memory and available for execution

Wähle eine der folgenden:

  • Ready

  • Blocked/Suspend

  • Blocked

  • Ready/Suspend

Erklärung

Frage 7 von 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:

Wähle eine der folgenden:

  • Primary process table

  • Memory tables

  • I/O tables

  • File table

Erklärung

Frage 8 von 29

1

Identify which state the process will transit: P4 terminates:

Wähle eine der folgenden:

  • Running

  • New

  • Blocked/Suspend

  • Ready/Suspend

  • Ready

  • Blocked

  • Exit

Erklärung

Frage 9 von 29

1

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

Wähle eine der folgenden:

  • Ready/Suspend

  • Ready

  • New

  • Blocked/Suspend

  • Blocked

  • Exit

  • Running

Erklärung

Frage 10 von 29

1

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

Wähle eine oder mehr der folgenden:

  • ready

  • running

  • blocked

  • ready/suspend

  • blocked/suspend

Erklärung

Frage 11 von 29

1

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

Wähle eine der folgenden:

  • Running

  • Exit

  • New

  • Ready/Suspend

  • Blocked

  • Blocked/Suspend

  • Ready

Erklärung

Frage 12 von 29

1

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

Wähle eine der folgenden:

  • New

  • Ready

  • Terminated

  • Waiting

  • Running

  • Old

Erklärung

Frage 13 von 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

Wähle eine der folgenden:

  • Terminated state

  • Ready state

  • Suspended state

  • Running state

Erklärung

Frage 14 von 29

1

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

Wähle eine der folgenden:

  • Suspend state

  • Resume state

  • Blocked state

  • Pause state

Erklärung

Frage 15 von 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:

Wähle eine der folgenden:

  • state

  • listing

  • fetch

  • trace

Erklärung

Frage 16 von 29

1

The state of a process is defined by:

Wähle eine der folgenden:

  • 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

Erklärung

Frage 17 von 29

1

In the Blocked state:

Wähle eine der folgenden:

  • 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

Erklärung

Frage 18 von 29

1

In the Ready/Suspend state:

Wähle eine der folgenden:

  • 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

Erklärung

Frage 19 von 29

1

In the Exit state:

Wähle eine der folgenden:

  • 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

Erklärung

Frage 20 von 29

1

Identify which state the process will transit: P3 swapped out

Wähle eine der folgenden:

  • Ready

  • New

  • Running

  • Blocked/Suspend

  • Blocked

  • Ready/Suspend

Erklärung

Frage 21 von 29

1

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

Wähle eine der folgenden:

  • Exit

  • Blocked/Suspend

  • Running

  • Ready

  • Blocked

  • New

  • Ready/Suspend

Erklärung

Frage 22 von 29

1

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

Wähle eine der folgenden:

  • handler routine

  • processor state information

  • program status word

  • process control block

Erklärung

Frage 23 von 29

1

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

Wähle eine oder mehr der folgenden:

  • Running

  • Blocked

  • Ready

  • Ready/Suspend

  • Blocked/Suspend

Erklärung

Frage 24 von 29

1

Which of the following state transitions is not possible?

Wähle eine der folgenden:

  • blocked to ready

  • blocked to running

  • running to blocked

  • ready to running

Erklärung

Frage 25 von 29

1

A reason for swapping:

Wähle eine der folgenden:

  • 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

Erklärung

Frage 26 von 29

1

Process Control Block is:

Wähle eine der folgenden:

  • data structure

  • process type variable

  • a block in memory

  • a secondary storage section

Erklärung

Frage 27 von 29

1

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

Wähle eine der folgenden:

  • Memory tables

  • I/O tables

  • Primary process table

  • File table

Erklärung

Frage 28 von 29

1

A memory

Wähle eine der folgenden:

  • 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

Erklärung

Frage 29 von 29

1

A processor

Wähle eine der folgenden:

  • 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

Erklärung