User Tools

Site Tools


labs

LAB 0

On Eclass

LAB 1

here LAB 1 Due date: Wednesday Sept 22 midnight question 2 submit as lab1_2.sh

LAB 2

Here is LAB 2 Due Wednesday, Sept. 29

test cases

Problem 1, you have to make your test cases, because it depend son what files in your directory

Problem 2 here are the input/output cases

Test case 1 input . output

Test case 2 input output

Test case 3 input. out

Test case 4 input. output

Test case 5 input . output

Problem 3

testcase 1 case 1

testcase 2 case 2

testcase 3 case 3

LAB 3

Here is LAB 3 Due Wednesday, Oct . 6

LAB 4

Lab 4 is here LAB 4

This lab is due the first Wednesday after reading week. (Oct 20)

Here is an example of Courses.txt Courses.txt

TEST 1

LAB 5

Lab 5 is here LAB 5

LAB 6

Here is LAB 6. due Friday Nov 5 midnight

Test cases

Please check with these test cases before contacting me

LAB 7

Here is LAB 7 due Friday Nov 19 midnight

Test case The file Testcase.txt is actually a binary file (system will not let me upload any files with the bin extension). Rename it to .bin if you want.

The file contains 2 records

AAJack 12 1.5 (the output format is meant for information only, not necessarily the required format of the output)

AAJohn 16 4.0

The second record is encrypted, the first is not

The file I used to create the text file you read from. In this file I am encrypting if the char is 'E' writef.c.

I posted this file because some of you asked for it, for learning purpose only. You still can do the lab without it.

LAB 8

here is LAB 8

Documentation

Here is an example here. Take a look at it. It contains all the major steps

  • The files to include (That will be set up by the tool
  • Initializing the ports (connecting the clock to the ports
  • setting the port direction
  • reading and writing from the port

Then, you have to add the logic yourself

Due Nov 26

Here is one possible solution for the lab lab8

LABTEST1 (makeup)

LAB 9

LAB 9 due last day of classes

test cases for test 2

test cases

Here is lab test 2 question 3 as requested by some of youlabtest2_3.c

LAB 10

LAB 10 due to end of term

Test 3

TEST 3

here are the test cases of Lab TEST 3 testcases

Not that for problem 4, the problem states it reads n and the non square matrix. The example I provided reads n n (reads n twice). I tested your code with both cases, so you did not loose points because you read n n instead of n

labs.txt · Last modified: 2021/12/18 22:13 by aboelaze