OS | Quiz #2

Descrição

Suicidal Operating Systems [Teachers: Teshebayeva Karagoz, Mishina Aigerim ; Final Exam + STATE EXAM] ▼ Quiz sobre OS | Quiz #2, criado por Good Guy Beket em 28-03-2019.
Good Guy Beket
Quiz por Good Guy Beket, atualizado more than 1 year ago
Good Guy Beket
Criado por Good Guy Beket mais de 5 anos atrás
999
9

Resumo de Recurso

Questão 1

Questão
A program
Responda
  • 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

Questão 2

Questão
A task in blocked state:
Responda
  • is running
  • is executable
  • is waiting for some temporarily unavailable resources
  • must still be placed in the run queues

Questão 3

Questão
Identify which state the process will transit: An interrupt occurs from disk unit 1 — P2’s read is complete:
Responda
  • New
  • Exit
  • Blocked/Suspend
  • Blocked
  • Ready/Suspend
  • Ready
  • Running

Questão 4

Questão
The process is in the secondary memory and awaiting an event:
Responda
  • Blocked
  • Ready
  • Blocked/Suspend
  • Ready/Suspend

Questão 5

Questão
In the Running state:
Responda
  • 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

Questão 6

Questão
The process is in main memory and available for execution
Responda
  • Ready
  • Blocked/Suspend
  • Blocked
  • Ready/Suspend

Questão 7

Questão
The OS uses this table to know the location in main memory being used as the source of destination of the input/output transfer:
Responda
  • Primary process table
  • Memory tables
  • I/O tables
  • File table

Questão 8

Questão
Identify which state the process will transit: P4 terminates:
Responda
  • Running
  • New
  • Blocked/Suspend
  • Ready/Suspend
  • Ready
  • Blocked
  • Exit

Questão 9

Questão
Identify which state the process will transit: P1 time slice expires
Responda
  • Ready/Suspend
  • Ready
  • New
  • Blocked/Suspend
  • Blocked
  • Exit
  • Running

Questão 10

Questão
In which of these states the process is in secondary memory (choose all that apply)
Responda
  • ready
  • running
  • blocked
  • ready/suspend
  • blocked/suspend

Questão 11

Questão
Identify which state the process will transit: P1 executes a command to read from disk unit 3:
Responda
  • Running
  • Exit
  • New
  • Ready/Suspend
  • Blocked
  • Blocked/Suspend
  • Ready

Questão 12

Questão
Which of the following is not a state of a process?
Responda
  • New
  • Ready
  • Terminated
  • Waiting
  • Running
  • Old

Questão 13

Questão
Suppose that the process is in “Blocked” state waiting for some I/O device. When the service is completed, it goes to the
Responda
  • Terminated state
  • Ready state
  • Suspended state
  • Running state

Questão 14

Questão
With the use of swapping one other state must be added to the 5-state model:
Responda
  • Suspend state
  • Resume state
  • Blocked state
  • Pause state

Questão 15

Questão
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:
Responda
  • state
  • listing
  • fetch
  • trace

Questão 16

Questão
The state of a process is defined by:
Responda
  • 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

Questão 17

Questão
In the Blocked state:
Responda
  • 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

Questão 18

Questão
In the Ready/Suspend state:
Responda
  • 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

Questão 19

Questão
In the Exit state:
Responda
  • 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

Questão 20

Questão
Identify which state the process will transit: P3 swapped out
Responda
  • Ready
  • New
  • Running
  • Blocked/Suspend
  • Blocked
  • Ready/Suspend

Questão 21

Questão
Identify which state the process will transit: P2 is chosen by dispatcher
Responda
  • Exit
  • Blocked/Suspend
  • Running
  • Ready
  • Blocked
  • New
  • Ready/Suspend

Questão 22

Questão
The data neede by the OS to control a process is contained in the:
Responda
  • handler routine
  • processor state information
  • program status word
  • process control block

Questão 23

Questão
In which of these states the process is in main memory:
Responda
  • Running
  • Blocked
  • Ready
  • Ready/Suspend
  • Blocked/Suspend

Questão 24

Questão
Which of the following state transitions is not possible?
Responda
  • blocked to ready
  • blocked to running
  • running to blocked
  • ready to running

Questão 25

Questão
A reason for swapping:
Responda
  • 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

Questão 26

Questão
Process Control Block is:
Responda
  • data structure
  • process type variable
  • a block in memory
  • a secondary storage section

Questão 27

Questão
These tables are used to keep track of both main and secondary memory:
Responda
  • Memory tables
  • I/O tables
  • Primary process table
  • File table

Questão 28

Questão
A memory
Responda
  • 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

Questão 29

Questão
A processor
Responda
  • 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

Semelhante

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