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

Computer Operating System Questions and Answers

131.

Part of a program where the shared memory is accessed and which should be executed invisibly, is called

Answer: C

Correct answer: critical section

The critical section is the part of a program that accesses the shared resource, and it must be executed indivisibly - no other process may be in its own critical section for the same resource at the same time. Semaphores and other mechanisms exist to enforce that.

Please log in or register to report this question.

Answer: A

Correct answer: actually schedules the tasks into the processor

The scheduler decides which process should run next; the dispatcher is the module that carries that decision out - switching context, restoring the chosen process’s registers, and handing it the processor. It is on the critical path of every context switch, so its speed matters.

Please log in or register to report this question.

133.

How would you allow device drivers and TSR's to be loaded into Upper Memory Blocks?

Answer: D

Correct answer: DOS=UMB

DOS=UMB in CONFIG.SYS tells DOS to take charge of the upper memory blocks that EMM386 has made available, so that DEVICEHIGH= and LOADHIGH then have somewhere to put drivers and TSRs. Without it those two commands silently load low.

Please log in or register to report this question.

Answer: B

Correct answer: Manages the use of extended memory

HIMEM.SYS is the extended memory manager: it arbitrates access to memory above 1 MB and provides the high memory area. EMM386 is the one that emulates expanded memory.

Please log in or register to report this question.

135.

Which of the following is a type of systems software used on microcomputers?

Answer: D

Correct answer: All of the above

MS-DOS, PC-DOS and Unix are all operating systems, and an operating system is the central piece of system software - the layer that manages the processor, memory, files and devices so that applications need not. All three have run on microcomputers.

Please log in or register to report this question.

Answer: D

Correct answer: all of the above

A macro processor must do all three: recognise macro definitions and calls in the source, save each definition where it can be found again, and at every call expand the saved body, substituting the actual arguments for the formal parameters. Omitting any one leaves the facility unusable.

Please log in or register to report this question.

138.

In which of the storage placement strategies a program is placed in the largest available hole in the main memory?

Answer: C

Correct answer: worst fit

Worst fit deliberately places a request in the largest free hole, on the reasoning that the remainder left over will still be big enough to be useful, whereas best fit leaves a scatter of slivers too small for anything. First fit simply takes the first hole large enough.

Please log in or register to report this question.

139.

The state transition initiated by the user process itself in an operating system is

Answer: A

Correct answer: block

A process moves itself from running to blocked by asking for something not yet available - an input operation, or a semaphore held by another process. That transition is the one the process initiates. Dispatch, timer run-out and wake-up are all imposed on it by the scheduler or by another process.

Please log in or register to report this question.

140.

You want to view the contents of autoexec.bat on the screen using the "type" command, but it scrolls by too quickly, what switch do you use to make it pause?

Answer: D

Correct answer: type c:\autoexec.bat|more.

Piping the output of TYPE into MORE makes it stop at the end of each screenful and wait for a key. TYPE itself has no pause switch, so the pipe to the MORE filter is what provides it.

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