LABS
This course has weekly labs.
- Labs are submitted electronically.
- The due date is Wednesday midnight of every week (there is no submission for lab 1, you have to demo the lab to the TA during the lab time.
- labs are marked electronically, 75% of the marks are calculated by comparing your code output to the model output. That means you have to be very careful. Follow the specifications carefully, an extra comma, new line, or a space might make the difference.
Lab 1
Here is Lab 1 no submission, demo in the lab
Lab 2
13,16 Sept.
Here is Lab 2
Here is an example input file for part 1 in1.txt and the corresponding output file out1.txt
For part 2, here is an example output file
Lab 3
20,23 Sept.
Lab 3 Note a change in file name submission
Note: the program displays the required results and quits. Also in point 5, g is the actual grade in the file not the letter g.
Example of file1.txt and file2.txt
Here are some example runs
calvin 417 % lab3_2.sh lab3_2afile.txt lab3_2bfile.txt 123456
Ok Chynoweth has no grade in coures EECS2032
Ok Chynoweth has a grade of P in course EECS2021
Another run
calvin 419 % lab3_2.sh lab3_2afile.txt lab3_2bfile.txt 767676767676
No such ID
calvin 420 %
Lab test 1
27,30 Sept.
Here is Last year lab test, this only last year tes, not this year. You shouldn't study the material there, this is an example.
lab 4
lab 5
lab 6
lab 7
Lab test 2
lab 8
lab 9
Nov. 22, 25 lab 9
Timers and interrupts
Test yourself in C https://www.w3resource.com/c-programming-exercises/
A lab few years ago about hashing hashing
Last year lab about File I/O
Lab test 3
Nov 29, Dec 1