LABS

This course has weekly labs.

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

4, 7 Oct.

Here is Lab 4 Consider a maximum array size of 20


lab 5

Oct 11, 21

Lab 5 consider a maximum size of 50

Here are some practice questions


lab 6

Oct 25, 28

Here is LAB 6


lab 7

Nov 1, 4

Here is LAB 7

here are some references you might need


Lab test 2

Nov 8,11

here is lab test from a previous year


lab 8

Nov. 15, 18

ADC/DAC here is 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