OS | Quiz #2

Beschreibung

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.
Good Guy Beket
Quiz von Good Guy Beket, aktualisiert more than 1 year ago
Good Guy Beket
Erstellt von Good Guy Beket vor mehr als 5 Jahre
992
9

Zusammenfassung der Ressource

Frage 1

Frage
A program
Antworten
  • 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

Frage 2

Frage
A task in blocked state:
Antworten
  • is running
  • is executable
  • is waiting for some temporarily unavailable resources
  • must still be placed in the run queues

Frage 3

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

Frage 4

Frage
The process is in the secondary memory and awaiting an event:
Antworten
  • Blocked
  • Ready
  • Blocked/Suspend
  • Ready/Suspend

Frage 5

Frage
In the Running state:
Antworten
  • 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

Frage 6

Frage
The process is in main memory and available for execution
Antworten
  • Ready
  • Blocked/Suspend
  • Blocked
  • Ready/Suspend

Frage 7

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

Frage 8

Frage
Identify which state the process will transit: P4 terminates:
Antworten
  • Running
  • New
  • Blocked/Suspend
  • Ready/Suspend
  • Ready
  • Blocked
  • Exit

Frage 9

Frage
Identify which state the process will transit: P1 time slice expires
Antworten
  • Ready/Suspend
  • Ready
  • New
  • Blocked/Suspend
  • Blocked
  • Exit
  • Running

Frage 10

Frage
In which of these states the process is in secondary memory (choose all that apply)
Antworten
  • ready
  • running
  • blocked
  • ready/suspend
  • blocked/suspend

Frage 11

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

Frage 12

Frage
Which of the following is not a state of a process?
Antworten
  • New
  • Ready
  • Terminated
  • Waiting
  • Running
  • Old

Frage 13

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

Frage 14

Frage
With the use of swapping one other state must be added to the 5-state model:
Antworten
  • Suspend state
  • Resume state
  • Blocked state
  • Pause state

Frage 15

Frage
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:
Antworten
  • state
  • listing
  • fetch
  • trace

Frage 16

Frage
The state of a process is defined by:
Antworten
  • 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

Frage 17

Frage
In the Blocked state:
Antworten
  • 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

Frage 18

Frage
In the Ready/Suspend state:
Antworten
  • 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

Frage 19

Frage
In the Exit state:
Antworten
  • 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

Frage 20

Frage
Identify which state the process will transit: P3 swapped out
Antworten
  • Ready
  • New
  • Running
  • Blocked/Suspend
  • Blocked
  • Ready/Suspend

Frage 21

Frage
Identify which state the process will transit: P2 is chosen by dispatcher
Antworten
  • Exit
  • Blocked/Suspend
  • Running
  • Ready
  • Blocked
  • New
  • Ready/Suspend

Frage 22

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

Frage 23

Frage
In which of these states the process is in main memory:
Antworten
  • Running
  • Blocked
  • Ready
  • Ready/Suspend
  • Blocked/Suspend

Frage 24

Frage
Which of the following state transitions is not possible?
Antworten
  • blocked to ready
  • blocked to running
  • running to blocked
  • ready to running

Frage 25

Frage
A reason for swapping:
Antworten
  • 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

Frage 26

Frage
Process Control Block is:
Antworten
  • data structure
  • process type variable
  • a block in memory
  • a secondary storage section

Frage 27

Frage
These tables are used to keep track of both main and secondary memory:
Antworten
  • Memory tables
  • I/O tables
  • Primary process table
  • File table

Frage 28

Frage
A memory
Antworten
  • 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

Frage 29

Frage
A processor
Antworten
  • 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
Zusammenfassung anzeigen Zusammenfassung ausblenden

ähnlicher Inhalt

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