How many individualunique students are in the file how many


Assignment: Open Source Tools and Scripting

The goal of this assignment is to assess your understanding of simple command sequences pipelines, and shellscripts; using the Linux online manuals; and using the shell as a programming language. You will be assessed on the clarity and quality of your commands and shellscripts. While their efficiency will not be assessed, you should take care to avoid any excessive slow practices.

The tasks

1. The text file MARKS contains the final marks of students enrolled in Computer Science units from a few years ago (the student numbers have been randomly generated, so the file doesn't contain actual students' information). Each line contains 3 tab­separated fields, providing a student number, their mark (/100) in a unit, and a unitcode.

Write simple command sequences to answer the following questions:

a. how many individual/unique students are in the file?
b. which unit had the largest enrolment?
c. how many students were taking just one or just two units?
d. which unit had the highest average mark?

2.  Depending on the value of its PATH environment variable, your shell will be able to locate several hundred, or several thousand, executable programs (that are found on disk).

Write a shellscript to determine the number of executable programs found via your shell's PATH.

3. A concordance is a list of significant words appearing in a body of text. The word list only includes "true" words, consisting of alphabetic characters, after all whitespace and punctuation have been discarded. The word list generally reports all words, one per line, comprising only lowercase characters unless a word comprises entirely uppercase characters, when it is presumed to be an acronym (such as IBM or HTTP).

For example, a capitalised word at the beginning of a sentence would be reported as if all its characters were lowercase. The output will consist of acronyms and lowercase words, one per line.

Develop a shellscript to generate a concordance of the words in a text file. Your shellscript should accept the name of the text file as a command line argument.

Attachment:- Marks-Cits.rar

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: How many individualunique students are in the file how many
Reference No:- TGS02733981

Expected delivery within 24 Hours