Quiz Space

September 2022 term · System Commands · BSSE2001

System Commands End Term: 11 December 2022, Set ETD1 (September 2022 term)

The IIT Madras BS System Commands (System Commands) End Term paper sat on 11 Dec 2022, in the September 2022 term, set ETD1: 15 questions for 100 marks in 180 minutes. Every question is below with its answer. Take it as a timed mock test to be marked, or read it through first.

Questions
15
Marks
100
Duration
180 min
MCQ
9
MSQ
3
Numerical
3

Updated

Official paper: IIT M DIPLOMA AN1 EXAM ETD1 11 Dec 2022 · No negative marking.

Question 1

+6 marksOne correct option
  1. A
  2. B
  3. C
  4. D
Show answer

Correct answer

  • C

Question 2

+6 marksOne correct option
  1. A

    soft link

  2. B

    hard link

  3. C

    either soft link or hard link

  4. D

    links will not work this requirement

Show answer

Correct answer

  • A

    soft link

Question 3

+6 marksOne correct option
  1. A

    Cut the paragraph and paste at the end of the document.

  2. B

    Copy the paragraph and paste at the end of the document.

  3. C

    Cut and paste the entire document (finally one copy of initial document).

  4. D

    Copy and paste the entire document (finally two copies of initial document).

Show answer

Correct answer

  • D

    Copy and paste the entire document (finally two copies of initial document).

Question 4

+6 marksOne correct option
  1. A

    file2 will NOT be empty at the end of execution

  2. B

    file3 will NOT be empty at the end of execution

  3. C

    The contents of file1 will be displayed in the terminal

  4. D

    file3 contains the contents of file1

Show answer

Correct answer

  • C

    The contents of file1 will be displayed in the terminal

Question 5

+6 marksOne correct option

Choose the regular expression to match with a string that contains at least a character repeated three times consecutively. Assume the regular expression is using Extended Regular Expression Engine (ERE).

  1. A
  2. B
  3. C
  4. D
  5. E
Show answer

Correct answer

  • C

Question 6

+6 marksOne correct option
  1. A

    Merge every two consecutive lines to a single line

  2. B

    Merge every three consecutive lines to a single line

  3. C

    Merge every four consecutive lines to a single line

  4. D

    The input remains unaltered

Show answer

Correct answer

  • C

    Merge every four consecutive lines to a single line

Question 7

+6 marksOne correct option
  1. A

    The lines that are distinct

  2. B

    The lines that are repeated exactly thrice

  3. C

    The lines that are repeated thrice or more

  4. D

    The lines that are repeated more than thrice

Show answer

Correct answer

  • C

    The lines that are repeated thrice or more

Question 8

+7 marksOne correct option
  1. A
  2. B
  3. C
  4. D
Show answer

Correct answer

  • C

Question 9

+7 marksOne correct option
  1. A
  2. B
  3. C
  4. D
Show answer

Correct answer

  • D

Question 10

+8 marksOne or more correct options

Select all that apply.

  1. A
  2. B
  3. C
  4. D
Show answer

Correct answers

  • B
  • C

Question 11

+8 marksOne or more correct options

Select all that apply.

  1. A

    An empty line

  2. B

    A line having a number with only one decimal place (Ex: 10.1)

  3. C

    A line without a space

  4. D

    A line with three spaces

  5. E

    A line starts with two consecutive numbers

  6. F

    A line containing only four consecutive numbers

  7. G

    A line without a dot

  8. H

    A line with one or more dot characters

Show answer

Correct answers

  • A

    An empty line

  • F

    A line containing only four consecutive numbers

  • G

    A line without a dot

Question 12

+8 marksOne or more correct options

Select all that apply.

  1. A
  2. B
  3. C
  4. D
Show answer

Correct answers

  • C
  • D

Question 13

+6 marksNumerical answer
Show answer

Correct answer: 4

Question 14

+6 marksNumerical answer
Show answer

Correct answer: 147

Question 15

+8 marksNumerical answer
Show answer

Correct answer: 1