Machine-translated by Google. Questions are authored in English.
Top

Computer Operating System Questions and Answers

311.

To avoid the race condition, the number of processes that may be simultaneously inside their critical section is

Answer: B

Correct answer: 1

A critical section is code that touches a shared resource, and a race condition arises exactly when two processes are inside one at the same time. Mutual exclusion therefore admits at most one process at a time - which is why the guarding semaphore is initialised to 1.

Please log in or register to report this question.

312.

Which of the following scheduling objectives should be applied to the following: the system should admit jobs to create a mix that will keep most devices busy

Answer: B

Correct answer: to balance resource utilization

Admitting a mixture of jobs so that processor-bound and input/output-bound work run together keeps both the CPU and the devices busy instead of leaving one idle while the other saturates. That objective is balanced resource utilisation; fairness, priority and predictability are separate goals.

Please log in or register to report this question.

313.

When did IBM release the first version of disk operating system DOS version 1.0?

Answer: A

Correct answer: 1981

IBM shipped PC-DOS 1.0 with the original IBM Personal Computer in August 1981. Microsoft supplied it, having bought 86-DOS from Seattle Computer Products and adapted it, and sold the same system separately as MS-DOS.

Please log in or register to report this question.

314.

A system program that combines the separately compiled modules of a program into a form suitable for execution

Answer: B

Correct answer: linking loader

A linking loader takes the separately compiled object modules, resolves the external references between them, relocates their addresses to the area of memory they are to occupy, and loads the result ready to run - combining linking and loading in one pass.

Please log in or register to report this question.

Answer: D

Correct answer: with the least processor needs

Shortest job first selects the ready process with the smallest expected processor burst. That minimises the average waiting time - provably so - but it needs an estimate of each burst in advance and can starve long jobs indefinitely if short ones keep arriving.

Please log in or register to report this question.

317.

Which of the following is NOT a necessary condition for a deadlock to occur ?

Answer: D

Correct answer: Preemption

The four Coffman conditions are mutual exclusion, hold and wait, no preemption and circular wait, and all four must hold at once. Preemption is the opposite of the third condition, so allowing it prevents deadlock rather than causing it.

Please log in or register to report this question.

318.

Which command will prevent subsequent changes to the file CBT.EXE?

Answer: B

Correct answer: ATTRIB + r CBT.EXE

ATTRIB +R sets the read-only attribute, after which the file cannot be changed or deleted until the attribute is cleared with ATTRIB -R. RENAME, COPY and MODE do not alter file attributes.

Please log in or register to report this question.

Answer: C

Correct answer: Used for address translation

The page map table holds one entry per virtual page, giving the frame it currently occupies together with its valid, referenced and modified bits. The memory management unit consults it on every reference to turn a virtual address into a physical one.

Please log in or register to report this question.

Answer: C

Correct answer: there is no need for an address i.e. the data is used as an address

Associative or content-addressable memory is searched by content rather than by location: a pattern is presented and every cell compares itself with it simultaneously, returning the matching entry in one cycle. It is what makes a translation lookaside buffer and a cache tag store fast enough to be useful.

Please log in or register to report this question.

Loading…
Tags: Computer Operating System Questions and Answers || Computer Operating System MCQ Questions and Answers || Computer Operating System GK Questions and Answers || Computer Operating System GK MCQ Questions || Computer Operating System Multiple Choice Questions and Answers || Computer Operating System GK || GK on Computer Operating System || Computer Awareness Questions and Answers || Computer Awareness MCQ Questions and Answers || Computer Awareness GK Questions and Answers || GK on Computer Awareness