Quiz Space

January 2023 term · System Commands · BSSE2001

System Commands Quiz 1: 26 February 2023 (January 2023 term)

The IIT Madras BS System Commands (System Commands) Quiz 1 paper sat on 26 Feb 2023, in the January 2023 term: 15 questions for 100 marks in 120 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
120 min
MCQ
8
Numerical
3
MSQ
4

Updated

Official paper: IIT M DIPLOMA AN2 EXAM QPD2 26 Feb 2023 · No negative marking.

Question 1

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

Correct answer

  • D

Question 2

+6 marksOne correct option
  1. A

    touch b

  2. B

    echo b

  3. C

    echo apples > b

  4. D

    echo apples

Show answer

Correct answer

  • C

    echo apples > b

Question 3

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

Correct answer

  • C

Question 4

+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 for this requirement

Show answer

Correct answer

  • A

    soft link

Question 5

+6 marksNumerical answer
Show answer

Correct answer: 80

Question 6

+6 marksNumerical answer
Show answer

Correct answer: 5

Question 7

+7 marksOne correct option
  1. A

    Everyday at 00:05 in August

  2. B

    Everyday at 05:00 in August

  3. C

    Everyday at 08:00 in May

  4. D

    Everyday at 08:05 in May

Show answer

Correct answer

  • A

    Everyday at 00:05 in August

Question 8

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

Correct answer

  • A

Question 9

+7 marksOne correct option

Choose the regular expression that match with ONLY the five digit palindrome. Basic Regular Expression (BRE) is used.

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

Correct answer

  • C

Question 10

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

Correct answer

  • C

Question 11

+8 marksOne or more correct options

What will be the matched case(s) from the above regular expression. Assume that the regular expression is using Extended Regular Expression Engine (ERE). [MSQ]

Select all that apply.

  1. A

    Any ten digit mobile number

  2. B

    Any ten digit mobile number starting with 6, 7, 8 or 9

  3. C

    Any ten digit mobile number starting with 6, 7, 8 or 9 with 0 as prefix

  4. D

    Any ten digit mobile number starting with 6, 7, 8 or 9 with +91 as prefix

Show answer

Correct answers

  • B

    Any ten digit mobile number starting with 6, 7, 8 or 9

  • C

    Any ten digit mobile number starting with 6, 7, 8 or 9 with 0 as prefix

  • D

    Any ten digit mobile number starting with 6, 7, 8 or 9 with +91 as prefix

Question 12

+8 marksOne or more correct options

Select all that apply.

  1. A

    abdul

  2. B

    ankit who belong to the group "student"

  3. C

    catherine who do not belong to the group "student"

  4. D

    jina who belong to the group "abdul"

Show answer

Correct answers

  • A

    abdul

  • B

    ankit who belong to the group "student"

Question 13

+5 marksNumerical answer
Show answer

Correct answer: 12

Question 14

+9 marksOne or more correct options

Select all that apply.

  1. A

    docker_notes.txt

  2. B

    emacs_notes.txt

  3. C

    vim_notes.txt

  4. D

    x

  5. E

    y

  6. F

    z

Show answer

Correct answers

  • A

    docker_notes.txt

  • B

    emacs_notes.txt

  • C

    vim_notes.txt

Question 15

+6 marksOne or more correct options

Select all that apply.

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

Correct answers

  • A
  • D