EMAT203L Lab 1 solution

$24.99

Original Work ?

Download Details:

  • Name: Lab-1-pxzwjr.zip
  • Type: zip
  • Size: 5.62 MB

Category: You will Instantly receive a download link upon Payment||Click Original Work Button for Custom work

Description

5/5 - (5 votes)

Write programs/commands for the following questions. You can use any language you want. Youare also allowed to use linux commands.

 

  1. Print top 20 lines and last 20 lines of the file.
  2. Replace the keyword “question” in the file with the keyword “answer”.
  3. Print words within inverted commas. For example, you have a string: Help me I am in

“love”. I want a program to print love.

  1. Print the word just before “question mark”. For example, you have a string: Is somebody there? Iwant the program to print “there”.
  2. Write a program to list the frequency of all unique words in the file.
  3. Plot graphs for top 5 highly frequent words with their respective frequencies.

 

 

Please download the file from the following link:

https://drive.google.com/file/d/0Bw48133MfC5oRXluRXhMTjg0MUk/view?usp=sharing