OS_test_for_screens

Beschreibung

Operating Systems (OS) Quiz am OS_test_for_screens, erstellt von Csse 1502 am 18/12/2017.
Csse 1502
Quiz von Csse 1502, aktualisiert more than 1 year ago
Csse 1502
Erstellt von Csse 1502 vor fast 7 Jahre
50
1

Zusammenfassung der Ressource

Frage 1

Frage
The segment of code in which the process may change common variables, update tables, write into files is known as?
Antworten
  • critical section
  • mutual exclusion
  • non-critical section
  • program

Frage 2

Frage
A problem encountered in multitasking when a process is perpetually denied necessary resources is called:
Antworten
  • starvation
  • inversion
  • aging
  • deadlock

Frage 3

Frage
What is the reusable resource:
Antworten
  • that can be used by one process at a time and is not depleted by that use
  • that can be used by more than one process at a time
  • none of the above
  • that can be shared between various threads

Frage 4

Frage
A minimum_______ variables is/are required to be shared between processes to solve the critical section problem?
Antworten
  • three
  • two
  • one
  • four

Frage 5

Frage
For non-sharable resources like a printer, mutual exclusion:
Antworten
  • must exist
  • none of the above
  • may exist
  • must not exist

Frage 6

Frage
Part of a program where the shared memory is accessed and which should be executed invisibly, is called:
Antworten
  • critical section
  • semaphores
  • directory
  • mutual exclusion

Frage 7

Frage
Memory partitioning algorithm that uses binary tree as a data structure is called: (не точно, примеры есть только с ним, если не правильно поменяйте)
Antworten
  • First-fit algorithm
  • Buddy system
  • Next-fit algorithm
  • Best-fit algorithm

Frage 8

Frage
Current allocation of resources to processes where there is no sequence that does not result in deadlock is called: (не точно)
Antworten
  • Alternative state
  • Unsafe state
  • Ambiguous state
  • Safe state

Frage 9

Frage
The context of a process in the PCB of a process DOESN’T contain:
Antworten
  • memory- management information
  • the value of the CPU registers
  • the process state
  • context switch time

Frage 10

Frage
The link between two processes P and Q to send and receive messages is called:
Antworten
  • communication link
  • message-passing link
  • synchronization link
  • all of the above

Frage 11

Frage
When free memory is split into many unconnected pieces we call it: (не точно)
Antworten
  • compaction
  • external fragmentation
  • memory distribution
  • internal fragmentation

Frage 12

Frage
To avoid the race condition, the number of processes that may be simultaneously inside their critical section is:
Antworten
  • 0
  • 1
  • 10
  • 2

Frage 13

Frage
What thread approach does Java runtime environment use?
Antworten
  • Multiple processes, multiple threads per process
  • One process, one thread
  • One process, multiple threads
  • multiple processes, single thread per process

Frage 14

Frage
The primary distinction between the short-term scheduler and the long-term scheduler is:
Antworten
  • The frequency of their execution
  • None of the above
  • The length of their queues
  • The type of processes they schedule

Frage 15

Frage
Paging:
Antworten
  • allows multiple programs to reside in separate areas of core at the time
  • consists of those addresses that may be generated by a processor execution of a computation
  • is a method of allocating process time
  • is a method of memory allocation by which the program is subdivided into equal portions, or pages and core is subdivided into equal portions or blocks

Frage 16

Frage
Which of the replacement algorithms selects for replacement that page for which the time to the next reference is the longest?
Antworten
  • optimal
  • Clock
  • LRU
  • FIFO

Frage 17

Frage
Which of the replacement algorithms treats the page frames allocated to a process as a circular buffer?
Antworten
  • optimal
  • Clock
  • LRU
  • FIFO

Frage 18

Frage
Virtual memory takes advantage of: (не точно)
Antworten
  • Fast CPU
  • Large secondary memory
  • Scheduling
  • Modular programming

Frage 19

Frage
The size of virtual storage is limited by…
Antworten
  • the number of processors in a system
  • the actual number of main storage locations
  • the addressing scheme of the computer system and by the amount of secondary memory
  • the amount of main memory and secondary memory

Frage 20

Frage
What is trashing?
Antworten
  • Guessing, based on recent history, which pieces are least likely to be used in the near future
  • Assumption that only a few pieces of a process will be needed over a short period of time
  • Condition when the system spends most of its time swapping pieces rather than executing instructions
  • Saving time by swapping unused pieces of process out of the memory

Frage 21

Frage
What is the real address?
Antworten
  • physical address in cache memory
  • virtual address in main memory
  • virtual address in secondary memory
  • physical address in main memory
Zusammenfassung anzeigen Zusammenfassung ausblenden

ähnlicher Inhalt

Zeitformen Französisch
AntonS
Latein Grundwortschatz Vokabeln
anna.grillborzer0656
Faust I
barbara91
Wege, um mit GoConqr Tools zu unterrichten
Elena Koch
Raumfahrt 1
Jen H
Vetie - Tierzucht & Genetik - T I
Fioras Hu
GPSY ALPS
Malte Ni
BM 20- Biographie und Lebensalter
Anna c.
WT 2 Uni Due
Awash Kaul
MS-1.3 Folienpaket 2
Markus Voßmann
Vetie Chirugie 2015
Svea Schill