This is an old revision of the document!
Table of Contents
Course Outline
The course outline is a guideline to topics that will be discussed in the course, and when they will be discussed:
Week 1 Jan-6-2016
Introduction to C and Unix week_1.pdf
Week 2 Jan-13-2016
Continue with C
Week 3 Jan-20-2016
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
Week 4 Jan-27-2016
Practice problems for the lab test here
Week 5 Feb-3-2016
lab test 1
Week 6 Feb-10-2016
Reading week
Week 7 Feb-24-2016
Structs and dynamic memory allocation structs_and_more.pdf
Solutions for first lab test Section 1
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
Solutions for first lab test Section 2
problem 1 Interleaving 2 strings interleave.c
Problem 2 checking if rectangle isrectangle.c
problem 3 removing repeated digits from a string repeat.c
Week 8 Mar-2-2016
Week 9 Mar-9-2016
Introduction to Linux and shell
Week 10 Mar-16-2016
Continue with sh
Lab test 2
Please see lab 8 page. Test cases for labtest 2 are posted there
Week 11 Mar-23-2016
Grep and sed
for a good cheat sheet for grep http://staff.washington.edu/weller/grep.html
Week 12 Mar-30-2016
Lab test 3