This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
haas:fall2020:discrete:projects:bdt2 [2020/09/29 21:59] – [Basic functionality] wedge | haas:fall2020:discrete:projects:bdt2 [2020/09/30 16:35] (current) – [Implementation Restrictions] wedge | ||
---|---|---|---|
Line 63: | Line 63: | ||
* **justification** implies some thoughtful why/how style comments explaining how a particular use of one of these statements is effective and efficient (not: "I couldn' | * **justification** implies some thoughtful why/how style comments explaining how a particular use of one of these statements is effective and efficient (not: "I couldn' | ||
* absolutely **NO** infinite loops (**while(1)** or the like). | * absolutely **NO** infinite loops (**while(1)** or the like). | ||
+ | * ALL variables must be well and pertinently named, and be no fewer than 4 symbols in length | ||
* no forced redirection of the flow of the process (no seeking to the end of the file to grab a max size only to zip back somewhere else: deal with the data in as you are naturally encountering it; no telling; no " | * no forced redirection of the flow of the process (no seeking to the end of the file to grab a max size only to zip back somewhere else: deal with the data in as you are naturally encountering it; no telling; no " | ||
* All " | * All " | ||
Line 110: | Line 111: | ||
| | ||
</ | </ | ||
+ | |||
+ | Your "const char *name" is the name of the variable set (for the purposes of this project, call it **THROTTLE**). Check the example execution to see it in use. | ||
You may notice similarity in parameter usage to that of other standard library functions that you've utilized, like **atoi(3)**. | You may notice similarity in parameter usage to that of other standard library functions that you've utilized, like **atoi(3)**. | ||
+ | |||
+ | **NOTE:** You may **not** want to nest your **getenv(3)** call as a parameter to **atoi(3)**; | ||
=====Reference Implementations===== | =====Reference Implementations===== | ||
To assist you in your off-system development efforts, the **bin/** directory in the bdt2 project (available on lab46 via grabit) has 2 compiled binaries: | To assist you in your off-system development efforts, the **bin/** directory in the bdt2 project (available on lab46 via grabit) has 2 compiled binaries: | ||
Line 162: | Line 167: | ||
You should get some sort of confirmation indicating successful submission if all went according to plan. If not, check for typos and or locational mismatches. | You should get some sort of confirmation indicating successful submission if all went according to plan. If not, check for typos and or locational mismatches. | ||
+ | |||
+ | What I will be looking for: | ||
< | < | ||
- | 182:bdt2:final tally of results (182/182) | + | 195:bdt2:final tally of results (195/195) |
*: | *: | ||
*: | *: | ||
Line 173: | Line 180: | ||
*:bdt2:bdt2 runtime output conforms to reference [26/26] | *:bdt2:bdt2 runtime output conforms to reference [26/26] | ||
*:bdt2:bdt2 runtime output matches reference [26/26] | *:bdt2:bdt2 runtime output matches reference [26/26] | ||
- | *:bdt2:bdt2 committed, pushed to lab46 repository [13/13] | + | *:bdt2:bdt2 committed, pushed to lab46 repository [26/26] |
</ | </ | ||
+ | |||
+ | Additionally: | ||
+ | * Solutions not abiding by spirit of project will be subject to a 25% overall deduction | ||
+ | * Solutions not utilizing descriptive why and how comments will be subject to a 25% overall deduction | ||
+ | * Solutions not utilizing indentation to promote scope and clarity will be subject to a 25% overall deduction | ||
+ | * Solutions not organized and easy to read are subject to a 25% overall deduction |