OS | Quiz #2

Descripción

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.
Good Guy Beket
Test por Good Guy Beket, actualizado hace más de 1 año
Good Guy Beket
Creado por Good Guy Beket hace más de 5 años
999
9

Resumen del Recurso

Pregunta 1

Pregunta
A program
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:
Respuesta
  • is running
  • is executable
  • is waiting for some temporarily unavailable resources
  • must still be placed in the run queues

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:
Respuesta
  • handler routine
  • processor state information
  • program status word
  • process control block

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:
Respuesta
  • data structure
  • process type variable
  • a block in memory
  • a secondary storage section

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

Pregunta
A memory
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

Pregunta
A processor
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
Mostrar resumen completo Ocultar resumen completo

Similar

Components of An Operating System - Jason Madappattu
Jason EM
Operating Systems (OS)
rwc.carlton
Operating System
Kai Stovell Unkn
Operating Systems
David Lee
OS
Koda M
Tyrannosaure rex
daom
Software and Utilities
Adam Meese
Operating systems
Joshua Wilkins U
LinuxOS-History
kostavro
LinuxOS-General
kostavro