hoffa HOFFMAN
Quiz von , erstellt am more than 1 year ago

Quiz am www.OS.com IV, erstellt von hoffa HOFFMAN am 19/12/2019.

205
0
0
Keine Merkmale angegeben
hoffa HOFFMAN
Erstellt von hoffa HOFFMAN vor mehr als 6 Jahre
Schließen

www.OS.com IV

Frage 1 von 76

1

151. The segment of code in which the process may change common
variables, update tables, write into files is known as?

Wähle eine der folgenden:

  • ● critical section

  • ● mutual exclusion

  • ● non-critical section

  • ● program

Erklärung

Frage 2 von 76

1

152. Mutual exclusion means that?

Wähle eine der folgenden:

  • ● none of the above

  • ● if a process is executing in its critical section, then no other process must be
    executing in their critical sections

  • ● if a process is executing in its critical section, then all the resources of the
    system must be blocked until it finishes exclusion

  • ● if a process is executing in its critical section, then other processes must be
    executing in their critical section

Erklärung

Frage 3 von 76

1

153. A minimum of _____ variable(четыре вопроса в одном)s) is/are required to be shared between
processes to solve the critical section problem?

Wähle eine der folgenden:

  • ● four

  • ● one

  • ● three

  • ● two

Erklärung

Frage 4 von 76

1

154. An un-interruptible unit is known as:

Wähle eine der folgenden:

  • ● atomic

  • ● static

  • ● none of the above

  • ● single

Erklärung

Frage 5 von 76

1

155. Semaphore is a/an _______ to solve the critical section problem?

Wähle eine der folgenden:

  • ● hardware for a system

  • ● integer variable

  • ● complex structure

  • ● special program for a system

Erklärung

Frage 6 von 76

1

156. The two atomic operations permissible on semaphores are:

Wähle eine oder mehr der folgenden:

  • ● stop

  • ● hold

  • ● signal

  • ● wait

Erklärung

Frage 7 von 76

1

157. The code that changes the value of the semaphore is:

Wähle eine der folgenden:

  • ● critical section code

  • ● none of the above

  • ● remainder section code

  • ● non-critical section code

Erklärung

Frage 8 von 76

1

158. The two kinds of semaphores are:

Wähle eine der folgenden:

  • ● decimal

  • ● binary, counting

  • ● mutex

Erklärung

Frage 9 von 76

1

159. A binary semaphore is a semaphore with integer values :

Wähle eine oder mehr der folgenden:

  • ● 0.5

  • ● 0

  • ● -1

  • ● 1

Erklärung

Frage 10 von 76

1

160. A monitor is a type of:

Wähle eine der folgenden:

  • ● semaphore

  • ● low level synchronization construct

  • ● high level synchronization construct

  • ● none of the above

Erklärung

Frage 11 von 76

1

161. What is the reusable resource:

Wähle eine der folgenden:

  • ● that can be shared between various threads

  • ● 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

Erklärung

Frage 12 von 76

1

162. Which of the following condition is required for deadlock to be
possible?

Wähle eine der folgenden:

  • ● a process may hold allocated resources while awaiting assignment of other
    resources

  • ● no resource can be forcibly removed from a process holding it

  • ● all of the above

  • ● mutual exclusion

Erklärung

Frage 13 von 76

1

163. A system is in the safe state if:

Wähle eine der folgenden:

  • ● none of the above

  • ● both a and b

  • ● b) there exist a safe sequence

  • ● a) the system can allocate resources to each process in some order and still
    avoid a deadlock

Erklärung

Frage 14 von 76

1

164. Which one of the following is the deadlock avoidance algorithm?

Wähle eine der folgenden:

  • ● round-robin algorithm

  • ● banker’s algorithm

  • ● elevator algorithm

  • ● dining philosophers problem

Erklärung

Frage 15 von 76

1

165. A problem encountered in multitasking when a process is perpetually
denied necessary resources is called:

Wähle eine der folgenden:

  • ● inversion

  • ● aging

  • ● deadlock

  • ● starvation

Erklärung

Frage 16 von 76

1

166. The number of resources requested by a process:

Wähle eine der folgenden:

  • ● must always be less than the total number of resources available in the
    system

  • ● must not exceed the total number of resources available in the system

  • ● must always be equal to the total number of resources available in the system

  • ● must exceed the total number of resources available in the system

Erklärung

Frage 17 von 76

1

167. For non-sharable resources like a printer, mutual exclusion:

Wähle eine der folgenden:

  • ● may exist

  • ● must not exist

  • ● none of the above

  • ● must exist

Erklärung

Frage 18 von 76

1

168. A deadlock avoidance algorithm dynamically examines the __________,
to ensure that a circular wait condition can never exist.

Wähle eine der folgenden:

  • ● system storage state

  • ● resource allocation state

  • ● operating system

  • ● resources

Erklärung

Frage 19 von 76

1

169. A state is safe, if:

Wähle eine der folgenden:

  • ● all of the above

  • ● the state keeps the system protected and safe

  • ● the system does not crash due to deadlock occurrence

  • ● the system can allocate resources to each process in some order and still avoid
    deadlock

Erklärung

Frage 20 von 76

1

170. The available vector defines

Wähle eine der folgenden:

  • ● total amount of each resource NOT allocated to any process

  • ● total amount of each resource allocated to all processes

  • ● total amount of each resource in the system

  • ● total amount of resources required for all processes

Erklärung

Frage 21 von 76

1

171. The resource vector define

Wähle eine der folgenden:

  • ● total amount of each resource NOT allocated to any process

  • ● total amount of each resource allocated to all processes

  • ● total amount of each resource in the system

  • ● total amount of resources required for all processes

Erklärung

Frage 22 von 76

1

172. This matrix defines the current allocation to process i of the resource j

Wähle eine der folgenden:

  • ● Claim matrix

  • ● Request matrix

  • ● Resource matrix

  • ● Allocation matrix

Erklärung

Frage 23 von 76

1

173. This matrix defines the amount of resources of type j requested by
process i

Wähle eine der folgenden:

  • ● Claim matrix

  • ● Request matrix

  • ● Resource matrix

  • ● Allocation matrix

Erklärung

Frage 24 von 76

1

174. This matrix defines requirements of processes i for the resources j

Wähle eine der folgenden:

  • ● Claim matrix

  • ● Request matrix

  • ● Resource matrix

  • ● Allocation matrix

Erklärung

Frage 25 von 76

1

175. The banker's algorithm is referred to as

Wähle eine der folgenden:

  • ● resource allocation refusal

  • ● loan allocation denial

  • ● resource allocation denial

  • ● denial of service

Erklärung

Frage 26 von 76

1

176. 'Hold and wait' condition for deadlock is defined as

Wähle eine der folgenden:

  • ● Each process holds resource needed by next process in chain

  • ● Process holds a resource while awaiting for other resource

  • ● No resource can be forcibly removed from process holding it

  • ● Only one process may use a resource at a time

Erklärung

Frage 27 von 76

1

177. 'Circular wait' condition for deadlock is defined as

Wähle eine der folgenden:

  • ● Each process holds resource needed by next process in chain

  • ● Process holds a resource while awaiting for other resource

  • ● No resource can be forcibly removed from process holding it

  • ● Only one process may use a resource at a time

Erklärung

Frage 28 von 76

1

178. 'No preemption' condition for deadlock is defined as

Wähle eine der folgenden:

  • ● Each process holds resource needed by next process in chain

  • ● Process holds a resource while awaiting for other resource

  • ● No resource can be forcibly removed from process holding it

  • ● Only one process may use a resource at a time

Erklärung

Frage 29 von 76

1

179. 'Mutual exclusion' condition for deadlock is defined as

Wähle eine der folgenden:

  • ● Each process holds resource needed by next process in chain

  • ● Process holds a resource while awaiting for other resource

  • ● No resource can be forcibly removed from process holding it

  • ● Only one process may use a resource at a time

Erklärung

Frage 30 von 76

1

180. What is NOT an example of consumable resource?

Wähle eine der folgenden:

  • ● Messages

  • ● Main memory

  • ● Signals

  • ● Information in I\O buffers

Erklärung

Frage 31 von 76

1

181. What is NOT an example of reusable resource?

Wähle eine der folgenden:

  • ● i/o channels

  • ● interrupt

  • ● processors

  • ● semaphores

Erklärung

Frage 32 von 76

1

182. This resource can be created and destroyed

Wähle eine der folgenden:

  • ● finite resource

  • ● consumable resource

  • ● restartable resource

  • ● resumable resource

Erklärung

Frage 33 von 76

1

183. This resource can be safely used by only one process at a time and is
not depleted by that use

Wähle eine der folgenden:

  • ● refreshing resource

  • ● reusable resource

  • ● replenishing resource

  • ● refurbished resource

Erklärung

Frage 34 von 76

1

184. Deadlock inevitable region can be referred to as a

Wähle eine der folgenden:

  • ● false region

  • ● final region

  • ● fatal region

  • ● fun region

Erklärung

Frage 35 von 76

1

185. This illustrates the progress of two processes competing for two
resources

Wähle eine der folgenden:

  • ● joint progress diagram

  • ● joint regress diagram

  • ● joint ingres diagram

  • ● joint process diagram

Erklärung

Frage 36 von 76

1

186. When each process in the set is blocked awaiting for resource siezed by
another blocked process

Wähle eine der folgenden:

  • ● it is a mortallock

  • ● it is a softlock

  • ● it is a deadlock

  • ● it is a deadend

Erklärung

Frage 37 von 76

1

187. Which of the following statements is false:

Wähle eine oder mehr der folgenden:

  • ● internal fragmentation is increased with small pages

  • ● a small page size causes large page tables

  • ● a large page size causes instructions and data that will not be referenced
    brought into primary storage

  • ● I\O transfers are more efficient with large pages

  • ● the system must stop everything while it performs the compaction

  • ● compaction is also known as garbage collection

  • ● the technique of storage compaction involves moving all occupied areas of
    storage to one end or other of main storage

  • ● compaction does not involve relocation of programs

Erklärung

Frage 38 von 76

1

188. Memory is:

Wähle eine der folgenden:

  • ● is typically characterized by interactive processing and time-slicing 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 sequence of the instructions

  • ● is the device where information stored

Erklärung

Frage 39 von 76

1

189. Processor is:

Wähle eine der folgenden:

  • ● is typically characterized by interactive processing and time-slicing 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 sequence of the instructions

  • ● is the device where information stored

Erklärung

Frage 40 von 76

1

190. Program is:

Wähle eine der folgenden:

  • ● is typically characterized by interactive processing and time-slicing 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 sequence of the instructions

  • ● is the device where information stored

Erklärung

Frage 41 von 76

1

191. The memory allocation scheme subject to "external" fragmentation is?

Wähle eine der folgenden:

  • ● pure demand paging

  • ● multiple contiguous fixed partitionings

  • ● swapping

  • ● segmentation

Erklärung

Frage 42 von 76

1

192. The memory allocation scheme subject to "internal" fragmentation is?

Wähle eine der folgenden:

  • ● pure demand paging

  • ● multiple contiguous fixed partitionings

  • ● swapping

  • ● segmentation

Erklärung

Frage 43 von 76

1

193. Any program, no matter how small, will occupy an entire partition
results in?

Wähle eine der folgenden:

  • ● external fragmentation

  • ● paging

  • ● segmentation

  • ● internal fragmentation

Erklärung

Frage 44 von 76

1

194. How to solve problem of equal-size partitions?
swapping (?) ----- page 318 book

Wähle eine der folgenden:

  • ● virtual memory segmentation

  • ● compaction

  • ● segmentation

  • ● unequal-size partitions

Erklärung

Frage 45 von 76

1

195. How to solve problem of "external" fragmentation?

Wähle eine der folgenden:

  • ● none of these

  • ● smaller memory space

  • ● larger memory space

  • ● compaction

Erklärung

Frage 46 von 76

1

196. A page fault?

Wähle eine der folgenden:

  • ● is an error is a specific page

  • ● is an access to a page not currently in memory

  • ● is a reference to a page belonging to another program

  • ● occurs when a program accesses a page of memory

Erklärung

Frage 47 von 76

1

197. Which of the following statements is false?

Wähle eine der folgenden:

  • ● internal fragmentation is increased with small pages

  • ● a small page size causes large page tables

  • ● a large page size causes instructions and data that will not be referenced
    brought into primary storage

  • ● I\O transfers are more efficient with large pages

Erklärung

Frage 48 von 76

1

198. Swapping:

Wähle eine der folgenden:

  • ● none of the above

  • ● does not work with overlaying

  • ● allows each program in turn to use the memory

  • ● allows many programs to use memory simultaneously

Erklärung

Frage 49 von 76

1

199. Which of the following is not true about the memory management?

Wähle eine der folgenden:

  • ● None of the above

  • ● segmented memory can be paged

  • ● paging suffers from internal fragmentation

  • ● segmentation suffers from external fragmentation

  • ● virtual memory is used only in multi-user systems

Erklärung

Frage 50 von 76

1

200. True or false: segmentation suffers from external fragmentation?

Wähle eine der folgenden:

  • False

  • True

Erklärung

Frage 51 von 76

1

201. True or false: paging suffers from external fragmentation?

Wähle eine der folgenden:

  • True

  • False

Erklärung

Frage 52 von 76

1

202. What 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?

Wähle eine der folgenden:

  • ● partition

  • ● paging

  • ● segmentation

  • ● virtual memory

Erklärung

Frage 53 von 76

1

203. In memory systems, boundary registers?

Wähle eine der folgenden:

  • ● are used for temporary program variable storage

  • ● are only necessary with fixed partitions

  • ● track page boundaries

  • ● track the beginning and ending of programs

Erklärung

Frage 54 von 76

1

204. A relationship between processes such that each has some part (четыре вопроса в одном)critical
section) which must not be executed while the critical section of another is
being executed, is known as?

Wähle eine der folgenden:

  • ● multiprogramming

  • ● Mutual exclusion

  • ● Semaphore

  • ● Multitasking

Erklärung

Frage 55 von 76

1

205. CPU fetches the instruction from memory according to the value of?

Wähle eine der folgenden:

  • ● program status word

  • ● instruction register

  • ● program counter

  • ● status register

Erklärung

Frage 56 von 76

1

206. A memory used to provide a high speed is called?

Wähle eine der folgenden:

  • ● stack pointer

  • ● disk buffer

  • ● main memory

  • ● cache

Erklärung

Frage 57 von 76

1

207. Which one of the following is the address generated by CPU?

Wähle eine der folgenden:

  • ● none of the above

  • ● absolute address

  • ● physical address

  • ● logical address

Erklärung

Frage 58 von 76

1

208. Runtime mapping from virtual to physical address is done by?

Wähle eine der folgenden:

  • ● PCI

  • ● memory management unit

  • ● none of the above

  • ● CPU

Erklärung

Frage 59 von 76

1

209. The address of a page table in memory is pointed by:

Wähle eine der folgenden:

  • ● program counter

  • ● page register

  • ● stack pointer

  • ● page table base register

Erklärung

Frage 60 von 76

1

210. Program always deals with:

Wähle eine der folgenden:

  • ● absolute address

  • ● relative address

  • ● physical address

  • ● logical address

Erklärung

Frage 61 von 76

1

211. What is compaction?

Wähle eine der folgenden:

  • ● a technique for overcoming external fragmentation

  • ● a technique for overcoming internal fragmentation

  • ● a technique for overcoming fatal error

  • ● a paging technique

Erklärung

Frage 62 von 76

1

212. Operating System maintains the page table for:

Wähle eine der folgenden:

  • ● each address

  • ● each instruction

  • ● each thread

  • ● each process

Erklärung

Frage 63 von 76

1

213. In contiguous memory allocation:

Wähle eine der folgenden:

  • ● all processes is contained in a single contiguous section of memory

  • ● the memory space is contiguous

  • ● none of the above

  • ● each process is contained in a single contiguous section of memory

Erklärung

Frage 64 von 76

1

214. When memory is divided into several fixed sized partitions, each
partition may contain ________.

Wähle eine der folgenden:

  • ● multiple processes at once

  • ● at least one process

  • ● none of the above

  • ● exactly one process

Erklärung

Frage 65 von 76

1

215. In fixed sized partition, the degree of multiprogramming is bounded by
___________.

Wähle eine der folgenden:

  • ● the CPU utilization

  • ● the number of partitions

  • ● all of the above

  • ● the memory size

Erklärung

Frage 66 von 76

1

216. The first fit, best fit and worst fit are strategies to select a ______.

Wähle eine der folgenden:

  • ● processor to run the next process

  • ● free hole from a set of available holes

  • ● all of the above

  • ● process from a queue to put in memory

Erklärung

Frage 67 von 76

1

217. In internal fragmentation, memory is internal to a partition and:

Wähle eine der folgenden:

  • ● is being used

  • ● is always used

  • ● none of the above

  • ● is not being used

Erklärung

Frage 68 von 76

1

218. A solution to the problem of external fragmentation is:

Wähle eine der folgenden:

  • ● smaller memory space

  • ● unequal size parts

  • ● larger memory size

  • ● compaction

Erklärung

Frage 69 von 76

1

219. __________ is generally faster than _________ .

Wähle eine der folgenden:

  • ● none of the above

  • ● first fit, best fit

  • ● best fit, first fit

  • ● worst fit, best fit

Erklärung

Frage 70 von 76

1

220. External fragmentation exists when:

Wähle eine der folgenden:

  • ● a request cannot be satisfied even when the total memory is free

  • ● enough total memory exists to satisfy a request but it is not contiguous

  • ● the total memory is insufficient to satisfy a request

  • ● none of the above

Erklärung

Frage 71 von 76

1

221. External fragmentation will not occur when:

Wähle eine der folgenden:

  • ● next fit is used

  • ● best fit is used

  • ● first fit is used

  • ● no matter which algorithm is used, it will always occur

Erklärung

Frage 72 von 76

1

222. When the memory allocated to a process is slightly larger than the
process, then:

Wähle eine der folgenden:

  • ● none of the above

  • ● internal fragmentation occurs

  • ● external fragmentation occurs

  • ● both will occur

Erklärung

Frage 73 von 76

1

223. Main memory is broken into fixed-sized blocks called ________.:

Wähle eine der folgenden:

  • ● segments

  • ● frames

  • ● pages

  • ● none of the above

Erklärung

Frage 74 von 76

1

224. Fixed-length block of data in secondary memory is called ________.:

Wähle eine der folgenden:

  • ● pages

  • segments

  • ● frames

  • ● none of the above

Erklärung

Frage 75 von 76

1

225. Variable-length block of data that resides in secondary memory is called
________.

Wähle eine der folgenden:

  • ● pages

  • ● segments

  • ● frames

  • ● none of the above

Erklärung

Frage 76 von 76

1

226. Every address generated by the CPU is divided into two parts:

Wähle eine oder mehr der folgenden:

  • ● page offset

  • ● frame bit

  • ● page number

  • ● frame offset

Erklärung