Quiz Space

System Commands OPPE 1: January 2023, Set 1 (January 2023 term)

Question 1

+15 marksProgramming

Write a script to create a link named storage in the current directory to a directory whose path is stored in the variable DIR_PATH.

Question 2

+15 marksProgramming

Write a function parent-of-parent to return the parent of parent directory of the file/directory that is passed as an argument.

Question 3

+15 marksProgramming

A company collected some data from the user and stored it in a CSV file data.txt in the current working directory. It contains the fields name, date of birth and location respectively.

Write a script to find all person whose name and location starts with same character.

  • Print the entire line if the above condition matches
  • Example: Kelley McGarrell,1955-08-15,Kotabumi
    • Here the "Kelly McGarell" and "Kotabumi" starts with the same letter K

5 more questions in this paper

Sign in with Google — it is free — to see every question with its answer and explanation, practise it in learning mode, or take it as a timed mock test.

More on the System Commands OPPE 1 Jan 2023 Set 1 paper

The IIT Madras BS System Commands (System Commands) OPPE 1 paper sat on Jan 2023, in the January 2023 term, set 1: 8 questions for 140 marks in 180 minutes. The first 3 questions are below. Sign in with Google — it is free — to see the whole paper with its answers and explanations, in learning mode or as a timed mock test.

FeatureSystem Commands OPPE 1 Jan 2023 Set 1 at a glance
TermJanuary 2023 term
SubjectSystem Commands
Course codeBSSE2001
Questions8
Marks140
Duration180 min
Programming8
Official paperOPPE 1, Jan 2023 Set 1
Negative markingNo negative marking.
Updated

Other sets that day

More System Commands