The course outline is a guideline to topics that will be discussed in the course, and when they will be discussed:
Introduction to C and Unix week_1.pdf
Continue with C
Files and streams, reading and writing to files. may be start in testing
here is a good gdb tutorial https://www.cs.umd.edu/~srhuang/teaching/cmsc212/gdb-tutorial-handout.pdf
Week 3 slides Testing
Practice problems for the lab test here
lab test 1
Structs and dynamic memory allocation structs_and_more.pdf
Keep in mind these are not the optimal solutions by any mean, it is one of the many correct ways of solving the problem
For first problem (string length terminated by ZZ)sstring.c
problem 2 elections election.c
problem 3 elections with run off election_1.c for problem 2 and three, you can use this test case lta3_00_in.txt
problem 1 Interleaving 2 strings interleave.c
Problem 2 checking if rectangle isrectangle.c
problem 3 removing repeated digits from a string repeat.c
Introduction to Linux and shell
Continue with sh
Please see lab 8 page. Test cases for labtest 2 are posted there
Grep and sed
here is the slides for grep
and here is the slides for sed
Today is the course evaluation, please be there at the beginning of the class
for a good cheat sheet for grep http://staff.washington.edu/weller/grep.html
Lab test 3
For problem 1 emp.txt the fe_awk.txt → to use awk -f fe_awk.txt emp.txt
For problem 2countries.txt the fc_awk.txt → to use awk -f fc_awk.txt countries.txt
List of topics for exam preparation final_exam_topics.pdf + shell script (sh not bash)