Quiz Space

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

Question 1

+15 marksProgramming

Write a script to create a link named storage in the current directory to the file, its path is stored in the variable FILE_PATH such that the content in the link persists even the source file is deleted.

Question 2

+15 marksProgramming

In a school consists of first to twelfth standard, each standard has 5 sections named from A to E. So, the classroom number is given as standard (in number) followed by section, for an example 12E, 3C, etc... Each classroom has 40 students. There is a directory for every classroom. All the directories can be located inside the current directory. There is a file for every student named from 1 to 40 in every directory.

Suddenly, the school experienced a 40% drop in first and sixth standard, so they reduced the number of students in each classroom to 32.

Your task is to remove the extra files in the respective directories.

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 (YYYY-MM-DD) and location respectively.

Write a script to find all person whose month and date have the same numerical value.

  • Print the entire line if the above condition matches
  • Example: Aksel Cockell,1972-03-03,Skaryszew
    • Here the month 03 and date 03 are the same.

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 2 paper

The IIT Madras BS System Commands (System Commands) OPPE 1 paper sat on Jan 2023, in the January 2023 term, set 2: 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 2 at a glance
TermJanuary 2023 term
SubjectSystem Commands
Course codeBSSE2001
Questions8
Marks140
Duration180 min
Programming8
Official paperOPPE 1, Jan 2023 Set 2
Negative markingNo negative marking.
Updated

Other sets that day

More System Commands