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

Computer Operating System Questions and Answers

Answer: D

Correct answer: Terminate Stay Resident

A TSR - terminate and stay resident - program returns to the DOS prompt but leaves itself in memory, usually hooked to an interrupt, so it can be summoned by a hot key or invoked by the hardware. Pop-up utilities and device drivers were written this way.

Please log in or register to report this question.

222.

Using the _____ switch causes FDISK to display the partition status of your hard disk without executing FDISK.

 

Answer: C

Correct answer: /status

FDISK /STATUS displays the partition table of the hard disk and exits, without entering the interactive menu where partitions can be created or deleted - a safe way to look at the layout.

Please log in or register to report this question.

223.

While working with MS-DOS, which command is used to undelete a bunch of files with extension DOC that you have just deleted?

Answer: B

Correct answer: UNDELETE *.DOC

UNDELETE takes a file specification, so UNDELETE *.DOC offers back each deleted file matching that pattern. It works because deletion only marks the directory entry and frees the clusters; the data survives until something else is written over it.

Please log in or register to report this question.

224.

In DOS, which of the following keys will bypass the CONFIG.SYS and AUTOEXEC.BAT files?

Answer: B

Correct answer: F5

Pressing F5 as DOS starts skips CONFIG.SYS and AUTOEXEC.BAT entirely, giving a bare system - the standard way of getting in when a driver or a startup line is preventing the machine from booting. F8 instead confirms each line one at a time.

Please log in or register to report this question.

225.

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.

226.

What file contains commands that configure systems devices?

Answer: B

Correct answer: Config.sys

CONFIG.SYS is read early in the boot, before the command interpreter, and holds the statements that configure the system itself - DEVICE lines loading drivers, and FILES, BUFFERS and STACKS settings. AUTOEXEC.BAT runs afterwards and holds ordinary commands.

Please log in or register to report this question.

227.

Which command is used to suppress the prompt that asks you to confirm that you want to delete the directory?

Answer: B

Correct answer: DELTREE/F

DELTREE deletes a directory with everything beneath it and normally asks for confirmation first; the /F switch suppresses that prompt so the command can run unattended in a batch file.

Please log in or register to report this question.

Answer: A

Correct answer: A program is a passive set of instructions while a process is a program in execution

A program is a file on disk and does nothing on its own; a process is that program loaded into memory with its own program counter, registers, stack and allocated resources. One program can give rise to many simultaneous processes.

Please log in or register to report this question.

229.

Which memory allocation scheme suffers chiefly from external fragmentation ?

Answer: C

Correct answer: Segmentation

Segments vary in size, so as they are allocated and released the free memory is left in scattered gaps too small to use. Paging avoids this by using fixed-size frames, at the cost of a little internal fragmentation in the last page.

Please log in or register to report this question.

230.

Which CPU scheduling algorithm may cause a low-priority process to starve indefinitely ?

Answer: C

Correct answer: Priority scheduling

Under strict priority scheduling a steady stream of higher-priority arrivals can keep a low-priority process waiting forever. Ageing, which gradually raises the priority of a waiting process, is the usual remedy. Shortest Job First can starve long jobs for the same reason.

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