Quiz Space

September 2023 term · System Commands · BSSE2001

System Commands Quiz 1: 29 October 2023 (September 2023 term)

The IIT Madras BS System Commands (System Commands) Quiz 1 paper sat on 29 Oct 2023, in the September 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
5
MSQ
4
Written
1
Numerical
5

Updated

Official paper: IIT M DIPLOMA AN2 EXAM QPD2 29 Oct 2023 · No negative marking.

Question 1

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

Correct answer

  • A

Question 2

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

Correct answer

  • D

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
  2. B
  3. C
  4. D
Show answer

Correct answer

  • B

Question 5

+6 marksOne correct option
  1. A

    Prints the file names of all the '.txt' files in the current directory non recursively.

  2. B

    Prints the file names of all the '.txt' files in the current directory recursively.

  3. C

    Prints the file names of all the '.txt' files in the current directory and in immediate subdirectories of current working directory non-recursively.

Show answer

Correct answer

  • A

    Prints the file names of all the '.txt' files in the current directory non recursively.

Question 6

+6 marksOne or more correct options

Which of the following are TRUE statements for hardlinks and softlinks?

Select all that apply.

  1. A

    Hardlink of a file has same inode number

  2. B

    Softlink of a file has same inode number

  3. C

    Softlink of a file occupies the same space (i.e. same size) as the original file

  4. D

    Hardinks cannot be moved to a different File system

  5. E

    Softlink of a file unconditionally requires full path

  6. F

    Changes done in the original file is reflected in its hardlink

Show answer

Correct answers

  • A

    Hardlink of a file has same inode number

  • D

    Hardinks cannot be moved to a different File system

  • F

    Changes done in the original file is reflected in its hardlink

Question 7

+7 marksOne or more correct options

Select all that apply.

  1. A

    8iadaz

  2. B

    3g2z

  3. C

    jkjkjkjk2j2yjkjk

  4. D

    .a.a.a.2.2.1.

  5. E

    00210132a1z01231

  6. F

    1a2w01231

Show answer

Correct answers

  • B

    3g2z

  • E

    00210132a1z01231

Question 8

+8 marksOne or more correct options

Which of the following options contains command(s) which will output calendar for October and November of 2023.

Select all that apply.

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

Correct answers

  • C
  • E

Question 9

+9 marksOne or more correct options

Select all that apply.

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

Correct answers

  • A
  • B
  • E

Question 10

+6 marksWritten answer
Show answer

Correct answer: 11 22 33

Question 11

+6 marksNumerical answer
Show answer

Correct answer: 11

Question 12

+6 marksNumerical answer
Show answer

Correct answer: 80

Question 13

+7 marksNumerical answer
Show answer

Correct answer: 7

Question 14

+7 marksNumerical answer
Show answer

Correct answer: 1

Question 15

+8 marksNumerical answer
Show answer

Correct answer: 104