Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Computer Engineering Expert

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

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M92777165

Have any Question?


Related Questions in Computer Engineering

Can someone help solve this problem in lisp-programming

Can someone help solve this problem in Lisp-Programming language? More specifically in DrRacket. Exercise: A professor keeps the quiz grades of a student in a non-empty vector of non-negative numbers. Write a function th ...

Question suppose you are given two sets of 100 points that

Question : Suppose you are given two sets of 100 points that fall within the unit square. One set of points (a) is arranged so that the points are uniformly spaced. The other set of points (b) is randomly generated from ...

What are the differences between server a mainframe and a

What are the differences between server, a mainframe, and a supercomputer? What is productively software? Name the widely used productively suite available from Microsoft?

Question suppose the streets in a city are laid out in a

Question : Suppose the streets in a city are laid out in a perfect grid with avenues A through Z running parallel east-west, and First through Tenth Streets running parallel north-south. Give a count of the number of sho ...

You get hired as a machine learning expert at moviescom

You get hired as a Machine learning expert at movies.com. Your task on day one is to improve the performance of a classifier. You divide the data into 2 parts training, and testing. You learn a model from the training da ...

Really needing some help with this assignmentto convert

Really needing some help with this assignment. To convert degrees Celsius to degrees Kelvin, we simply add 273 (°K= °C + 273). Prompt the user for a temperature in degrees Celsius, then convert that temperature to degree ...

Describe the types of network attacks and identify physical

Describe the types of network attacks and identify physical security attacks and vulnerabilities.

1 explain the different elements of property rights provide

1. Explain the different elements of property rights. Provide an example of how the US economy infringes on each. 2. Explain why inequality is considered to be a social "bad" by many people. In what way could inequality ...

The following few machines are given informal

The following few machines are given informal descriptions. Decide whether they are of CISC or of RISC design, and provide a short description of why. a) Machine A has over 300 instructions, many of which are executed at ...

Sql using oraclethe task is to remove suffix from last name

SQL using Oracle. The task is to remove suffix from last name column (e.g. Smith Sr. or Stevens Jr.) and put into the preexisting suffix column in the DB. Final result needs to be in the last name column: Smith or Steven ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As