uiz Space

May 2023 term · System Commands · BSSE2001

System Commands Quiz 2: 6 August 2023 (May 2023 term)

The IIT Madras BS System Commands (System Commands) Quiz 2 paper sat on 6 Aug 2023, in the May 2023 term: 17 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
17
Marks
100
Duration
120 min
Written
1
Numerical
7
MCQ
4
MSQ
5

Updated

Official paper: IIT M FOUNDATION AN2 EXAM QPF2 06 Aug 2023 · No negative marking.

Question 1

+7 marksWritten answer
Show answer

Correct answer: /var

Question 2

+3 marksNumerical answer

Based on the above data, answer the given subquestions.

Show answer

Correct answer: 2

Question 3

+3 marksNumerical answer

Based on the above data, answer the given subquestions.

Show answer

Correct answer: 3

Question 4

+3 marksNumerical answer

Based on the above data, answer the given subquestions.

Show answer

Correct answer: 1

Question 5

+3 marksNumerical answer

Based on the above data, answer the given subquestions.

Show answer

Correct answer: 2

Question 6

+3 marksNumerical answer

Based on the above data, answer the given subquestions.

Show answer

Correct answer: 6

Question 7

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

Correct answer

  • C

Question 8

+6 marksOne correct option
  1. A

    0

  2. B

    1

  3. C

    2

  4. D

    3

Show answer

Correct answer

  • B

    1

Question 9

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

Correct answer

  • C

Question 10

+8 marksNumerical answer
Show answer

Correct answer: 46

Question 11

+8 marksOne or more correct options

Select all that apply.

  1. A

    The filename and count that includes the lines in the file that starts with numbers

  2. B

    The filename and count that includes the lines in the file that ends with numbers

  3. C

    The filename and count that includes the lines in the file that starts and ends with numbers

  4. D

    The filename and count that includes the lines that have a number in it

Show answer

Correct answers

  • A

    The filename and count that includes the lines in the file that starts with numbers

  • C

    The filename and count that includes the lines in the file that starts and ends with numbers

Question 12

+8 marksOne or more correct options

Select all that apply.

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

Correct answers

  • A
  • D

Question 13

+8 marksOne correct option
  1. A

    The Script 1 is more optimal than Script 2 in terms of memory

  2. B

    The Script 2 is more optimal than Script 1 in terms of memory

  3. C

    The Script 1 and Script 2 do not have difference in terms of memory

  4. D

    The Script 2 is less efficient than Script 1, because it has three blocks

Show answer

Correct answer

  • B

    The Script 2 is more optimal than Script 1 in terms of memory

Question 14

+9 marksOne or more correct options

Select all that apply.

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

Correct answers

  • A
  • B

Question 15

+6 marksOne or more correct options

Select all that apply.

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

Correct answers

  • B
  • C

Question 16

+7 marksOne or more correct options

Which of the following commands can delete leading and trailing white spaces from each line of the file sample.txt.

Select all that apply.

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

Correct answers

  • A
  • B
  • C

Question 17

+6 marksNumerical answer
Show answer

Correct answer: 2