User Tools

Site Tools


labs

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

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

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


labs.txt · Last modified: 2019/11/22 21:07 by aboelaze

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki