User Tools

Site Tools


course_outline

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
course_outline [2014/07/16 22:06] pawlukcourse_outline [2014/08/05 17:00] (current) pawluk
Line 107: Line 107:
   * [[http://www.eecs.yorku.ca/course_archive/2009-10/S/2031/lab/test.prn|Data]]   * [[http://www.eecs.yorku.ca/course_archive/2009-10/S/2031/lab/test.prn|Data]]
   * [[http://www.eecs.yorku.ca/course_archive/2013-14/S/2031/sample.awk|Sample]]   * [[http://www.eecs.yorku.ca/course_archive/2013-14/S/2031/sample.awk|Sample]]
 +
 +== Solutions ==
 +  * [[http://www.eecs.yorku.ca/course_archive/2013-14/S/2031/lab11.awk|AWK]]
 +  * [[http://www.eecs.yorku.ca/course_archive/2013-14/S/2031/lab11.sh|sh script]]
  
 To test your solution with AWK use the following command: To test your solution with AWK use the following command:
Line 131: Line 135:
  
  
-=== Labtest 2 ===+==== Labtest 2 ====
 July 22 and July 23 in the lab July 22 and July 23 in the lab
  
 +== Labtest info ==
 +You will be provided with small tasks and asked to write one or two shell scripts and one AWK script. You should review the work from lab and try to write some scripts such as 
 +  * merging and joining files, 
 +  * finding certain files in the system (using ls, grep, cut and pipes), 
 +  * searching for and extracting information from semi-structured files (e.g. removing tags from html file using shell script, finding data in CSV files)
 +  * using AWK to process the file and print it in a specified format
  
 +You will be able to use ''man'' pages during the labtest. Also your submissions will be available to you. 
 +
 +__It is closed-book exam.__ You can have a clean sheet of paper and a pen/pencil with you. 
 +
 +
 +== Solutions ==
 +  * [[http://www.eecs.yorku.ca/course_archive/2013-14/S/2031/myAvg.awk|AWK]]
 +  * [[http://www.eecs.yorku.ca/course_archive/2013-14/S/2031/mergeFile.sh|Merge Files]] (this the simpler way that, more complex is following the same scheme that you have in Join Files and modifying the echo accordingly)
 +  * [[http://www.eecs.yorku.ca/course_archive/2013-14/S/2031/joinFiles.sh|Join Files]]
 +  * [[http://www.eecs.yorku.ca/course_archive/2013-14/S/2031/homeSearch.sh|Search (swap '\.' and 't' to have name ending with t or extension starting with t]]
 ===== Week 13 ===== ===== Week 13 =====
  
Line 140: Line 160:
 Review will be held during our last lecture Review will be held during our last lecture
 Last day of classes is July 29 2014 Last day of classes is July 29 2014
 +  * [[http://www.eecs.yorku.ca/course_archive/2009-10/S/2031/slides/lecture12-notes.pdf|Slides]]
 +
 +Skip the slides about testing
  
 ===== Final Exam ===== ===== Final Exam =====
 The final test will be held on **Thursday, August 7, 2014** The final test will be held on **Thursday, August 7, 2014**
 at **9:00 AM** in **LSB 106** at **9:00 AM** in **LSB 106**
course_outline.1405548410.txt.gz · Last modified: 2014/07/16 22:06 by pawluk

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki