Skip to content
GK24
GK QuizComputer Awareness

Computer Awareness Quiz: MS-DOS and Linux Commands

  • 11 questions
  • 11 minutes
  • Difficulty: Medium
Start Quiz

About this quiz

This Computer Awareness quiz on MS-DOS and Linux Commands puts 11 multiple-choice questions to you, the verified MCQs published with GK24's note on the topic. Every question carries a full explanation of why the correct option is right and why the other options are wrong, so you learn the fact behind the answer rather than the letter. Attempt it right after reading the note, keep to the timer, and use the explanations at the end to mark what needs another look. Sit it again before the exam as a quick revision of the topic.

Questions in this quiz

11 questions with answers and explanations

Q5.Computer AwarenessMedium

In Linux, the command chmod 777 on a file gives which set of permissions?

  1. A.Read and write to the owner only
  2. B.Read, write and execute to the owner, the group and others
  3. C.Read and execute to everyone, write to nobody
  4. D.Execute to the owner, read to the group, nothing to others
Show answer
Correct answer: B. Read, write and execute to the owner, the group and others

In the numeric form of chmod each of the three digits stands for one set of users, in the order owner, group and others, and each digit is the sum of read as 4, write as 2 and execute as 1.

Q8.Computer AwarenessMedium

The MS-DOS rule that a file name may have up to eight characters with an extension of up to three is called

  1. A.The 3.8 rule
  2. B.The 8.3 convention
  3. C.The long file name convention
  4. D.The FAT32 convention
Show answer
Correct answer: B. The 8.3 convention

The name is read as eight dot three: up to eight characters for the name, a dot, and up to three for the extension, as in LETTER.TXT or AUTOEXEC.BAT, with spaces and certain punctuation marks not allowed.

Q10.Computer AwarenessHard

In the Linux shell, which symbol adds the output of a command to the end of an existing file without erasing its contents?

  1. A.A single greater-than sign
  2. B.Two greater-than signs
  3. C.The vertical bar
  4. D.A single less-than sign
Show answer
Correct answer: B. Two greater-than signs

Writing a command followed by two greater-than signs and a file name appends the output to the end of that file and keeps whatever was already in it, which is how log files are built up.

Q11.Computer AwarenessMedium

Which of the following statements about MS-DOS and Linux is correct?

  1. A.Both are case sensitive in command and file names
  2. B.MS-DOS is multi-user while Linux is single-user
  3. C.Linux is case sensitive and multi-user while MS-DOS is neither
  4. D.Both use the backslash as the separator in a path
Show answer
Correct answer: C. Linux is case sensitive and multi-user while MS-DOS is neither

Linux treats upper and lower case as different, so a file named Report is not the same as report, and it is built as a multi-user, multitasking system in which several accounts can work at once with separate permissions and a login.

View all quizzes