Good Guy Beket
Quiz by , created more than 1 year ago

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

987
9
0
Good Guy Beket
Created by Good Guy Beket about 5 years ago
Close

OS | Quiz #2

Question 1 of 29

1

A program

Select one of the following:

  • 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

Explanation

Question 2 of 29

1

A task in blocked state:

Select one of the following:

  • is running

  • is executable

  • is waiting for some temporarily unavailable resources

  • must still be placed in the run queues

Explanation

Question 3 of 29

1

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

Select one of the following:

  • New

  • Exit

  • Blocked/Suspend

  • Blocked

  • Ready/Suspend

  • Ready

  • Running

Explanation

Question 4 of 29

1

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

Select one of the following:

  • Blocked

  • Ready

  • Blocked/Suspend

  • Ready/Suspend

Explanation

Question 5 of 29

1

In the Running state:

Select one of the following:

  • 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

Explanation

Question 6 of 29

1

The process is in main memory and available for execution

Select one of the following:

  • Ready

  • Blocked/Suspend

  • Blocked

  • Ready/Suspend

Explanation

Question 7 of 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:

Select one of the following:

  • Primary process table

  • Memory tables

  • I/O tables

  • File table

Explanation

Question 8 of 29

1

Identify which state the process will transit: P4 terminates:

Select one of the following:

  • Running

  • New

  • Blocked/Suspend

  • Ready/Suspend

  • Ready

  • Blocked

  • Exit

Explanation

Question 9 of 29

1

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

Select one of the following:

  • Ready/Suspend

  • Ready

  • New

  • Blocked/Suspend

  • Blocked

  • Exit

  • Running

Explanation

Question 10 of 29

1

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

Select one or more of the following:

  • ready

  • running

  • blocked

  • ready/suspend

  • blocked/suspend

Explanation

Question 11 of 29

1

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

Select one of the following:

  • Running

  • Exit

  • New

  • Ready/Suspend

  • Blocked

  • Blocked/Suspend

  • Ready

Explanation

Question 12 of 29

1

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

Select one of the following:

  • New

  • Ready

  • Terminated

  • Waiting

  • Running

  • Old

Explanation

Question 13 of 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

Select one of the following:

  • Terminated state

  • Ready state

  • Suspended state

  • Running state

Explanation

Question 14 of 29

1

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

Select one of the following:

  • Suspend state

  • Resume state

  • Blocked state

  • Pause state

Explanation

Question 15 of 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:

Select one of the following:

  • state

  • listing

  • fetch

  • trace

Explanation

Question 16 of 29

1

The state of a process is defined by:

Select one of the following:

  • 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

Explanation

Question 17 of 29

1

In the Blocked state:

Select one of the following:

  • 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

Explanation

Question 18 of 29

1

In the Ready/Suspend state:

Select one of the following:

  • 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

Explanation

Question 19 of 29

1

In the Exit state:

Select one of the following:

  • 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

Explanation

Question 20 of 29

1

Identify which state the process will transit: P3 swapped out

Select one of the following:

  • Ready

  • New

  • Running

  • Blocked/Suspend

  • Blocked

  • Ready/Suspend

Explanation

Question 21 of 29

1

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

Select one of the following:

  • Exit

  • Blocked/Suspend

  • Running

  • Ready

  • Blocked

  • New

  • Ready/Suspend

Explanation

Question 22 of 29

1

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

Select one of the following:

  • handler routine

  • processor state information

  • program status word

  • process control block

Explanation

Question 23 of 29

1

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

Select one or more of the following:

  • Running

  • Blocked

  • Ready

  • Ready/Suspend

  • Blocked/Suspend

Explanation

Question 24 of 29

1

Which of the following state transitions is not possible?

Select one of the following:

  • blocked to ready

  • blocked to running

  • running to blocked

  • ready to running

Explanation

Question 25 of 29

1

A reason for swapping:

Select one of the following:

  • 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

Explanation

Question 26 of 29

1

Process Control Block is:

Select one of the following:

  • data structure

  • process type variable

  • a block in memory

  • a secondary storage section

Explanation

Question 27 of 29

1

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

Select one of the following:

  • Memory tables

  • I/O tables

  • Primary process table

  • File table

Explanation

Question 28 of 29

1

A memory

Select one of the following:

  • 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

Explanation

Question 29 of 29

1

A processor

Select one of the following:

  • 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

Explanation