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

Computer Operating System Questions and Answers

241.

Suppose you had an incurable computer virus and decided to wipe out all the data and partitions on your hard drive and reformat. What is the order in which you must delete the partitions?

Answer: C

Correct answer: Logical, Extended, Primary

Partitions must be removed from the inside outwards: the logical drives live inside the extended partition, so they go first; the now-empty extended partition can then be deleted; and the primary partition last. FDISK refuses any other order.

Please log in or register to report this question.

242.

While working with MS-DOS, which command is used to display the contents of a file and pause the display after each screenful of information?

Answer: A

Correct answer: TYPE filename | MORE

TYPE writes the file to the screen without stopping, so its output is piped into the MORE filter, which pauses at the end of each screenful until a key is pressed. CAT and pg are Unix commands, not DOS ones.

Please log in or register to report this question.

243.

Which DOS command is used to detect, diagnose and repair logical and physical disk errors on both, uncompressed and Double space compressed drive?

Answer: C

Correct answer: SCANDISK

SCANDISK checks both the logical structure of a drive - the file allocation table, directory entries, lost clusters and cross-linked files - and, with a surface scan, the physical media, and it works on DoubleSpace compressed drives as well as ordinary ones. DEFRAG only rearranges files.

Please log in or register to report this question.

244.

What command would you type to list all of the files in the current directory?

Answer: A

Correct answer: DIR

DIR lists the files and subdirectories of the current directory, with their sizes and dates. Its switches control the format: /W for a wide listing, /P to pause each screenful, /S to include subdirectories.

Please log in or register to report this question.

245.

While working with MS-DOS, which command is used to move file from one directory to another?

Answer: C

Correct answer: MOVE

MOVE transfers a file to another directory in one step, deleting the original after the copy succeeds. Before it existed the same thing took a COPY followed by a DEL; CP is the Unix command.

Please log in or register to report this question.

246.

A _____ boot is when DOS is restarted without turning off the computer.

Answer: A

Correct answer: warm

A warm boot restarts DOS without cutting the power - Ctrl + Alt + Del - so the memory test and much of the hardware initialisation are skipped and the machine comes back sooner. A cold boot starts from power-off and runs the whole self-test.

Please log in or register to report this question.

247.

While using the DIR command, you can use certain switches with it. Which one of the following cannot be used with DIR?

Answer: D

Correct answer: /T

DIR accepts /P to pause by screenful, /W for a wide listing, /S to descend into subdirectories, and switches for sorting and attributes. There is no /T switch.

Please log in or register to report this question.

248.

You suspect a virus has entered your computer. What will not be affected by the virus?

Answer: A

Correct answer: CMOS

A virus infects things that are read as programs or as file data - the boot sector, program files, the contents of floppies. The CMOS holds only the setup values (date, drive types, boot order) and is never executed, so a virus has nothing to infect there.

Please log in or register to report this question.

Answer: B

Correct answer: terminate and stay resident program

A TSR returns control to DOS but leaves its code in memory, normally with an interrupt vector pointing into it, so it can be re-entered by a hot key or by the hardware event it services. It was the only way to get background behaviour out of a single-tasking system.

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