hoffa HOFFMAN
Test por , creado hace más de 1 año

Test sobre www.OS.com V, creado por hoffa HOFFMAN el 19/12/2019.

247
0
0
hoffa HOFFMAN
Creado por hoffa HOFFMAN hace casi 5 años
Cerrar

www.OS.com V

Pregunta 1 de 74

1

227. The __________ is used as an index into the page table.

Selecciona una de las siguientes respuestas posibles:

  • ● frame bit

  • ● frame offset

  • ● page offset

  • ● page number

Explicación

Pregunta 2 de 74

1

228. The _____ table contains the base address of each page in physical
memory.

Selecciona una de las siguientes respuestas posibles:

  • ● frame

  • ● page

  • ● memory

  • ● process

Explicación

Pregunta 3 de 74

1

229. With paging there is no ________ fragmentation.

Selecciona una de las siguientes respuestas posibles:

  • ● internal

  • ● external

  • ● none of the above

  • ● either type of

Explicación

Pregunta 4 de 74

1

230. The operating system maintains a ______ table that keeps track of how
many frames have been allocated, how many are there, and how many are
available.

Selecciona una de las siguientes respuestas posibles:

  • ● segment

  • ● frame

  • ● page

  • ● memory

Explicación

Pregunta 5 de 74

1

231. For every process there is a __________.

Selecciona una de las siguientes respuestas posibles:

  • ● page table

  • ● frame table

  • ● copy of page table

  • ● pointer to page table

Explicación

Pregunta 6 de 74

1

232. If a page number is not found in the TLB, then it is known as a:

Selecciona una de las siguientes respuestas posibles:

  • ● TLB ht

  • ● buffer miss

  • ● TLB miss

Explicación

Pregunta 7 de 74

1

233. If a page table entry is present in the TLB, then it is known as a:

Selecciona una de las siguientes respuestas posibles:

  • ● TLB hit

  • ● page fault

  • ● TLB miss

  • ● buffer miss

Explicación

Pregunta 8 de 74

1

234. If a page table entry is not in main memory, then it is known as a:

Selecciona una de las siguientes respuestas posibles:

  • ● TLB miss

  • ● TLB hit

  • ● buffer miss

  • ● page fault

Explicación

Pregunta 9 de 74

1

235. In segmentation, each address is specified by (четыре вопроса в одном)choose two):

Selecciona una de las siguientes respuestas posibles:

  • ● a key

  • ● a value

  • ● a segment number, an offset

Explicación

Pregunta 10 de 74

1

236. The set-associative map technique is a combination of the direct and associative
technique

Selecciona una de las siguientes respuestas posibles:

  • true

  • false

Explicación

Pregunta 11 de 74

1

237. The spatial aspect of the locally of reference means ________

Selecciona una de las siguientes respuestas posibles:

  • d. That the recently executed instruction is executed again next

  • c. That the instruction executed will be executed at a later time

  • b. That the recently executed won’t be executed again

  • a. That the instruction in close proximity of the instruction executed will be executed in
    future

Explicación

Pregunta 12 de 74

1

238. The technique of searching for a block by going through all the tags is ______

Selecciona una de las siguientes respuestas posibles:

  • d. Binary search

  • c. indirect search

  • b. Associative search

  • a. Linear search

Explicación

Pregunta 13 de 74

1

239. The memory blocks are mapped on to the cache with the help of _________

Selecciona una de las siguientes respuestas posibles:

  • d. Write policy

  • c. Replacement policy

  • b. Mapping functions

  • a. Hash functions

Explicación

Pregunta 14 de 74

1

240. For 4 page frames, the following is the reference string:
1 2 3 4 2 1 5 6 2 1 2 3 7 6 3 2 1 2 3 6
How many page faults does the LRU page replacement algorithm produce(четыре вопроса в одном)including
page faults when the frames were free)?

Selecciona una de las siguientes respuestas posibles:

  • d. 8

  • c. 12

  • b. 14

  • a. 10

Explicación

Pregunta 15 de 74

1

241. Consider a logical address space of 32 pages with 512 words per page, mapped
onto a physical memory of 16 frames. How many bits are required in the physical
address?

Selecciona una de las siguientes respuestas posibles:

  • d. 14

  • c. 12

  • b. 15

  • a. 13

Explicación

Pregunta 16 de 74

1

242. Assuming a 1-KB page size, for the following address reference(четыре вопроса в одном)provided as
decimal number) 256, what is the page number?

Selecciona una de las siguientes respuestas posibles:

  • 0

  • -2

  • 2

Explicación

Pregunta 17 de 74

1

243. At a particular time of computation the value of a counting semaphore is 7. Then
20P operations were completed on this semaphore. The resulting value of the
semaphore is

Selecciona una de las siguientes respuestas posibles:

  • d. 2

  • c. 42

  • b. 12

  • a. 7

Explicación

Pregunta 18 de 74

1

244. If it is not possibl e to tell, by looking at the program, what will happen when
it executes, then the program is

Selecciona una de las siguientes respuestas posibles:

  • d. non-distributed

  • c. non-deterministic

  • b. non-deadlocked

  • a. non-divisible

Explicación

Pregunta 19 de 74

1

245. The program follows to use a shared binary semaphore T:
Process A
int Y;
A1: Y=X*2;
A2: X=Y;
signal(четыре вопроса в одном)T);
Process B
int Z;
B1:wait(четыре вопроса в одном)t);
B2: Z = X + 1;
X = Z;
T is set to 0 before either process begins execution and, as before, X is set to 5. Now,
how many different values of X are possible after both processes finish executing?

Selecciona una de las siguientes respuestas posibles:

  • d. three

  • c. four

  • b. one

  • a. two

Explicación

Pregunta 20 de 74

1

246. Computer programmers are often concerned with synchronization constraints,
which are requirements pertaining to the order of events. They are:

Selecciona una de las siguientes respuestas posibles:

  • d. Serialization and Mutual exclusion

  • c. Queueing and dispatching

  • b. Scheduling and dispatching

  • a. Serialization and Mutual inclusion

Explicación

Pregunta 21 de 74

1

247. The effectiveness of the cache memory is based on the property of ______

Selecciona una de las siguientes respuestas posibles:

  • d. Locality of reference

  • c. Memory localisation

  • b. Memory size

  • a. Memory access time

Explicación

Pregunta 22 de 74

1

248. In direct mapping the presence of the block in memory is checked with the help
of _______ field.

Selecciona una de las siguientes respuestas posibles:

  • d. ser

  • c. tag

  • b. block

  • a. word

Explicación

Pregunta 23 de 74

1

249. This matrix gives the maximum requirement of each process for each resource

Selecciona una de las siguientes respuestas posibles:

  • d. Allocation matrix

  • c. Claim matrix

  • b. Resources matrix

  • a. Available matrix

Explicación

Pregunta 24 de 74

1

250. If the resource allocation graph contains a cycle

Selecciona una de las siguientes respuestas posibles:

  • d. then a deadlock does not exist

  • c. then the system is in a safe state

  • b. either deadlock exists or system is in a safe state

  • a. then a deadlock exists

Explicación

Pregunta 25 de 74

1

251. Segment replacement algorithms are more complex than page replacement
algorithms because

Selecciona una de las siguientes respuestas posibles:

  • d. Segments are better than pages

  • c. Pages are better than segments

  • b. Segments have variable sizes

  • a. Segments have fixed size

Explicación

Pregunta 26 de 74

1

252. When does processor generate an Interrupt indicating a memory access fault?

Selecciona una de las siguientes respuestas posibles:

  • d. If there is no enough free memory for the running application

  • c. If it encounters a logical address that is not in main memory

  • b. If it encounters a logical address that is not in cache memory

  • a. If it encounters a logical address that is not in secondary memory

Explicación

Pregunta 27 de 74

1

253. Which of the replacement algorithms selects for replacement that page for which
the time to the next reference is the longest?

Selecciona una de las siguientes respuestas posibles:

  • d. LRU

  • c. Clock

  • b. optimal

  • a. FIFO

Explicación

Pregunta 28 de 74

1

254. Given five memory partitions of 100KB, 500KB, 200KB, 300KB, and 600KB. The
first-fit algorithm places processes of 212KB, 417KB, 112KB, and 426KB. In whch
partition 426KB is placed?

Selecciona una de las siguientes respuestas posibles:

  • f. 300KB

  • e. 100KB

  • d. 500KB

  • c. 200KB

  • b. 600KB

  • a. No sufficient amount

Explicación

Pregunta 29 de 74

1

255. Given five memory partitions of 100KB, 500KB, 200KB, 300KB, and 600KB. The
worst-fit algorithm places processes of 212KB, 417KB, 112KB, and 426KB. In whch
partition 426KB is placed?

Selecciona una de las siguientes respuestas posibles:

  • f. 300KB

  • e. 100KB

  • d. 200KB

  • c. 600KB

  • b. No sufficient amount

  • a. 500KB

Explicación

Pregunta 30 de 74

1

256. For 4 page frames, the following is the reference string:
1 2 3 4 2 1 5 6 2 1 2 3 7 6 3 2 1 2 3 6
How many page faults does the Optimal page replacement algorithm produce
(четыре вопроса в одном)including page faults when the frames were tree)?

Selecciona una de las siguientes respuestas posibles:

  • d. 12

  • c. 10

  • b. 8

  • a. 14

Explicación

Pregunta 31 de 74

1

257. A computer system has 6 tape drives, with ‘n’ processes competing for them.
Each process may need 3 tape drives. The maximum value of ‘n’ for which the system
is guaranteed to be deadlock free is

Selecciona una de las siguientes respuestas posibles:

  • d. 2

  • c. 1

  • b. 3

  • a. 4

Explicación

Pregunta 32 de 74

1

258. A system has 3 processes sharing 4 resources. If each process needs a
maximum of 2 units then

Selecciona una de las siguientes respuestas posibles:

  • d. deadlock can never occur

  • c. they all will starve

  • b. deadlock must occur

  • a. deadlock may occur

Explicación

Pregunta 33 de 74

1

259. The two kinds of semaphore are

Selecciona una de las siguientes respuestas posibles:

  • d. counting & decimal

  • c. mutex & counting

  • b. decimal & binary

  • a. binary & counting

Explicación

Pregunta 34 de 74

1

260. The size of a process is limited to the size of

Selecciona una de las siguientes respuestas posibles:

  • d. secondary storage

  • c. physical memory

  • b. external storage

  • a. none of the mentioned

Explicación

Pregunta 35 de 74

1

261. In FIFO page replacement algorithm, when a page must be replaced

Selecciona una de las siguientes respuestas posibles:

  • d. none of the mentioned

  • c. newest page is chosen

  • b. oldest page is chosen

  • a. random page is chosen

Explicación

Pregunta 36 de 74

1

262. For larger page tables, they are kept in main memory and a ______ points to the page
table

Selecciona una de las siguientes respuestas posibles:

  • d. page table register pointer

  • c. page table base

  • b. page table base pointer

  • a. page table base register

Explicación

Pregunta 37 de 74

1

263. The essential content(s) in each entry of a page table is/are

Selecciona una de las siguientes respuestas posibles:

  • d. Page frame number

  • c. Both virtual page number and page frame number

  • b. Access right information

  • a. Virtual page number

Explicación

Pregunta 38 de 74

1

264. When a program tries to access a page that is mapped in address space but not loaded
in physical memory, then

Selecciona una de las siguientes respuestas posibles:

  • d. fatal error occurs

  • c. segmentation fault occurs

  • b. page fault occurs

  • a. no error occurs

Explicación

Pregunta 39 de 74

1

265. A page fault occurs when

Selecciona una de las siguientes respuestas posibles:

  • d. a page gives inconsistent data

  • c. a page is invisible

  • b. a page cannot be accessed due to its absence from memory

  • a. all of the mentioned

Explicación

Pregunta 40 de 74

1

266. sem.wait()

Selecciona una de las siguientes respuestas posibles:

  • d. decrements the semaphore

  • c. reads the semaphore

  • b. initializes the semaphore

  • a. increments the semaphore

Explicación

Pregunta 41 de 74

1

267. Each entry in a segment table has a

Selecciona una de las siguientes respuestas posibles:

  • d. segment base

  • c. segment peak

  • b. segment value

  • a. none of the mentioned

Explicación

Pregunta 42 de 74

1

268. Virtual memory takes advantage of

Selecciona una de las siguientes respuestas posibles:

  • d. Scheduling

  • c. Modular programming

  • b. Large secondary memory

  • a. Fast CPU

Explicación

Pregunta 43 de 74

1

269. Because of virtual memory, the memory can be shared among

Selecciona una de las siguientes respuestas posibles:

  • d. processes

  • c. threads

  • b. none of the mentioned

  • a. instructions

Explicación

Pregunta 44 de 74

1

270. If no frames are free and modify bit is set for all pages in frames, _____ page
transfer(s) is/are required

Selecciona una de las siguientes respuestas posibles:

  • d. one

  • c. four

  • b. three

  • a. two

Explicación

Pregunta 45 de 74

1

271. Which is the fastest cache mapping function?

Selecciona una de las siguientes respuestas posibles:

  • c. Set associative mapping

  • b. Direct mapping

  • a. Fully associative mapping

Explicación

Pregunta 46 de 74

1

272. This bit indicates if the slot holds a block belonging to the program being executed

Selecciona una de las siguientes respuestas posibles:

  • d. Dirty bit

  • c. Valid bit

  • b. Control bit

  • a. Reference bit

Explicación

Pregunta 47 de 74

1

273. The size of virtual storage is limited by….

Selecciona una de las siguientes respuestas posibles:

  • i. The set of physical addresses

  • g. the amount of main memory and secondary memory

  • f. The portion of a process that is in a secondary memory at any time

  • e. the actual number of main storage locations

  • d. The portion of a secondary memory that contains pages or segments of particular
    application

  • c. the number of processors in a system

  • b. The portion of a process that is actually in mean memory at any time

  • a. the addressing scheme of the computer system and by the amount of secondary
    memory

Explicación

Pregunta 48 de 74

1

274. Optimal page - replacement algorithm is difficult to implement, because

Selecciona una de las siguientes respuestas posibles:

  • d. it is too complex

  • c. it requires future knowledge of the reference string

  • b. it is extremely expensive

  • a. it requires a lot of information

Explicación

Pregunta 49 de 74

1

276. When several processes access the same data concurrently and the outcome of the
execution depends on the particular order in which the access takes place, is called:

Selecciona una de las siguientes respuestas posibles:

  • d. dynamic condition

  • c. critical condition

  • b. essential condition

  • a. race condition

Explicación

Pregunta 50 de 74

1

277. Given five memory partitions of 100KB, 500KB, 200KB, 300KB, and 600KB. The bestfit algorithm places processes of 212KB, 417KB, 112KB, and 426KB. In whch partition
112KB is placed?

Selecciona una de las siguientes respuestas posibles:

  • f. No sufficient amount

  • e. 300KB

  • d. 100KB

  • c. 500KB

  • b. 200KB

  • a. 600KB

Explicación

Pregunta 51 de 74

1

278. Address Binding is

Selecciona una de las siguientes respuestas posibles:

  • d. binding two addresses together to form a new address in a different memory space

  • c. locating an address with the help of another address

  • b. a mapping from one address space to another

  • a. going to an address in memory

Explicación

Pregunta 52 de 74

1

279. When free memory is split into many unconnected pieces we call it:

Selecciona una de las siguientes respuestas posibles:

  • d. Compaction

  • c. Internal fragmentation

  • b. External fragmentation

  • a. Memory distribution

Explicación

Pregunta 53 de 74

1

280. If the size of logical address space is 2 to the power of m, and a page size is 2 to the
power of n addressing units, then the high order _____ bits of a logical address designate
the page number, and the ____ low order bits designate the page offset

Selecciona una de las siguientes respuestas posibles:

  • d. m, n

  • c. m - n, n

  • b. n, m

  • a. m - n, m

Explicación

Pregunta 54 de 74

1

281. Assuming a 1-KB page size, for the following address reference(четыре вопроса в одном)provided as
decimal number) 2375, what is the page number?

Selecciona una de las siguientes respuestas posibles:

  • 2

  • 1

  • 3

Explicación

Pregunta 55 de 74

1

282. A system has 12 magnetic tape drives and 3 processes: P0, P1, and P2. Process P0
requires 10 tape drives, P1 requires 4 and P2 requires 9 tape drives. Process Maximum
needs Currently allocated
P0 10 5
P1 4 2
P2 9 2
Which of the following sequence is a safe sequence?

Selecciona una de las siguientes respuestas posibles:

  • d. P0, P1, P2

  • c. P2, P0, P1

  • b. P1, P0, P2

  • a. P1, P2, P0

Explicación

Pregunta 56 de 74

1

283. If there are 32 segments, each of size 1KB, then the logical address should have

Selecciona una de las siguientes respuestas posibles:

  • d. 15 bits

  • c. 16 bits

  • b. 14 bits

  • a. 13 bits

Explicación

Pregunta 57 de 74

1

284. A multilevel page table is preferred in comparison to a single level page table for
translating virtual address to physical address because

Selecciona una de las siguientes respuestas posibles:

  • d. it helps to reduce the size of page table needed to implement the virtual address
    space of a process

  • c. it reduces the memory access time to read or write a memory location

  • b. it is required by the translation lookaside buffer

  • a. It helps to reduce the number of page faults in page replacement algorithms

Explicación

Pregunta 58 de 74

1

285. If the resources are always preempted from the same process, _______ can occur

Selecciona una de las siguientes respuestas posibles:

  • d. aging

  • c. system cash

  • b. starvation Problems

  • a. deadlock

Explicación

Pregunta 59 de 74

1

286. Which one of the following is a visual (mathematical) way to determine the deadlock
occurrence?

Selecciona una de las siguientes respuestas posibles:

  • d. resource allocation graph

  • c. inversion graph

  • b. deadlock occurrence graph

  • a. starvation graph

Explicación

Pregunta 60 de 74

1

287. To ensure that the hold and wait condition never occurs in the system, it must be
ensured that

Selecciona una de las siguientes respuestas posibles:

  • d. all the mentioned

  • c. a process can request resources only when it has none

  • b. each process must request and be allocated all its resources before it begins its
    execution

  • a. whenever a resource is requested by a process, it is not holding any other resources

Explicación

Pregunta 61 de 74

1

288. If no cycle exists in the resource allocation graph

Selecciona una de las siguientes respuestas posibles:

  • d. none of the mentioned

  • c. then the system will be in a safe state

  • b. then the system will not be in a safe state

  • a. all the mentioned

Explicación

Pregunta 62 de 74

1

289. The memory allocation scheme subject to “internal” fragmentation is?

Selecciona una de las siguientes respuestas posibles:

  • d. fixed partitioning

  • c. virtual memory segmentation

  • b. pure demand paging

  • a. segmentation

Explicación

Pregunta 63 de 74

1

290. Thrashing _______ the CPU utilization

Selecciona una de las siguientes respuestas posibles:

  • d. increases

  • c. none of the mentioned

  • b. decreases

  • a. keeps constant

Explicación

Pregunta 64 de 74

1

291. The data structures available in the Banker’s algorithm are (выберите один или
несколько ответов)

Selecciona una de las siguientes respuestas posibles:

  • c. all of the mentioned

  • d. available

  • b. need

  • a. allocation

Explicación

Pregunta 65 de 74

1

292. Each request requires that the system consider the _______ to decide whether the
current request can be satisfied or must wait to avoid a future possible deadlock

Selecciona una de las siguientes respuestas posibles:

  • d. future requests and releases of each process

  • c. resources currently available

  • b. processes that have previously been in the system

  • a. resources currently allocated to each process

Explicación

Pregunta 66 de 74

1

293. What is the drawback of banker’s algorithm

Selecciona una de las siguientes respuestas posibles:

  • d. the number of processes does not change as time progresses

  • c. in advance processes rarely know that how much resource they will need

  • b. resources are always available

  • a. none of the mentioned

Explicación

Pregunta 67 de 74

1

294. For a deadlock to arise, which of the following conditions must hold simultaneously?
(выберите один или несколько ответов)

Selecciona una de las siguientes respuestas posibles:

  • d. hold and wait

  • c. all the mentioned

  • b. no preemption

  • a. mutual exclusion

Explicación

Pregunta 68 de 74

1

295. Memory partitioning algorithm that uses binary tree as a data structure is called

Selecciona una de las siguientes respuestas posibles:

  • d. Next-fit algorithm

  • c. Best-fit algorithm

  • b. First-fit algorithm

  • a. Buddy system

Explicación

Pregunta 69 de 74

1

296. A mutex

Selecciona una de las siguientes respuestas posibles:

  • d. is a hexademical value

  • c. must be accessed from only one process

  • b. can be accessed from multiple processes

  • a. cannot be accessed by processes

Explicación

Pregunta 70 de 74

1

297. ________ replacement allows each process to only select from its own set of allocated
frames

Selecciona una de las siguientes respuestas posibles:

  • d. universal

  • c. global

  • b. public

  • a. local

Explicación

Pregunta 71 de 74

1

298. LRU page - replacement algorithm associates with each page the ________

Selecciona una de las siguientes respuestas posibles:

  • d. time it was brought into memory

  • c. the time of that page’s last use

  • b. all of the mentioned

  • a. page after and before it

Explicación

Pregunta 72 de 74

1

299. Which of the following is true?

Selecciona una de las siguientes respuestas posibles:

  • d. Overlays are used to increase the size of physical memory

  • c. Overlays are used to increase the logical address space

  • b. When overlays are used, the size of a process is not limited to the size of the
    physical memory

  • a. Overlays are used whenever the physical address space is smaller than the logical
    address space

Explicación

Pregunta 73 de 74

1

300. The bounded buffer problem is also known as

Selecciona una de las siguientes respuestas posibles:

  • d. Readers - Writers problem

  • c. Dining - Philosopher problem

  • b. Banker’s algorithm

  • a. Producer - Consumer problem

Explicación

Pregunta 74 de 74

1

301. Semaphore operation semV() is alternative to

Selecciona una de las siguientes respuestas posibles:

  • d. semaphore initialization

  • c. semaphore read

  • b. sem.signal()

  • a. sem.wait()

Explicación