labpage
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| labpage [2020/12/20 02:36] – aboelaze | labpage [2020/12/21 02:23] (current) – aboelaze | ||
|---|---|---|---|
| Line 173: | Line 173: | ||
| ---- | ---- | ||
| - | ===Lab Test 2 === | + | ===== LAB TEST 2 ===== |
| + | |||
| Here it is {{: | Here it is {{: | ||
| Line 189: | Line 191: | ||
| ---- | ---- | ||
| - | == Lab 8 == | + | ===== LAB 8 ===== |
| + | |||
| + | |||
| Lab 8 is here {{: | Lab 8 is here {{: | ||
| - | **//T name format is fname < | + | **//T name format is fname < |
| For example, you do | For example, you do | ||
| Line 208: | Line 213: | ||
| **Solution** | **Solution** | ||
| + | |||
| + | Here is the data file [[http:// | ||
| + | |||
| + | **IMPORTANT** | ||
| + | |||
| + | before contacting test your code. How | ||
| + | |||
| + | It is a little bit problematic for me to upload a binary file here, so compile and run this program {{: | ||
| + | |||
| + | This means, compile the C file and run it as | ||
| + | |||
| + | a.out < input.txt | ||
| + | |||
| + | That generates the dat.txt file that you will read it in your lab. | ||
| + | |||
| + | Then run the code you submitted 9after compiling it of course as such | ||
| + | |||
| + | |||
| + | |||
| + | |||
| + | a.out -count | ||
| + | |||
| + | a.out -grade A | ||
| + | |||
| + | a.out -grade C | ||
| + | |||
| + | a.out -name John | ||
| + | |||
| + | a.out -name Leslie | ||
| + | |||
| + | The output should be | ||
| + | |||
| + | **case 1** | ||
| + | |||
| + | 4 | ||
| + | |||
| + | **case2** | ||
| + | |||
| + | St. ID Name | ||
| + | |||
| + | 1234 John Doe | ||
| + | |||
| + | 4567 Leslie Rider | ||
| + | |||
| + | **case 3** | ||
| + | |||
| + | |||
| + | St. ID Name | ||
| + | |||
| + | 3456 John Jack | ||
| + | |||
| + | **case 4** | ||
| + | |||
| + | 1234 John Doe A | ||
| + | |||
| + | 3456 John Jack C | ||
| + | |||
| + | **case 5** | ||
| + | |||
| + | 4567 Leslie Rider A | ||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| ---- | ---- | ||
| ---- | ---- | ||
| ---- | ---- | ||
| - | == Lab 9 == | + | |
| + | ===== LAB 9 ===== | ||
| + | |||
| Lab 9 is {{: | Lab 9 is {{: | ||
| Line 223: | Line 296: | ||
| - | == Lab 10 == | + | |
| + | ===== LAB 10 ===== | ||
| + | |||
| Here are some documentation about the OM4000 board | Here are some documentation about the OM4000 board | ||
| Line 240: | Line 316: | ||
| ---- | ---- | ||
| ---- | ---- | ||
| + | |||
| == Lab 11 == | == Lab 11 == | ||
| + | |||
| {{: | {{: | ||
labpage.1608431796.txt.gz · Last modified: by aboelaze
