User Tools

Site Tools


haas:spring2016:cprog:projects:gfo0

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
haas:spring2016:cprog:projects:gfo0 [2016/04/12 16:53] – [Task] wedgehaas:spring2016:cprog:projects:gfo0 [2016/04/13 16:46] (current) – [Bonus] wedge
Line 7: Line 7:
  
 ======Project: PROCESS IMPLEMENTATION - GRADE FIGURE-OUTERER (gfo0)====== ======Project: PROCESS IMPLEMENTATION - GRADE FIGURE-OUTERER (gfo0)======
 +
 +=====Errata=====
 +
 +  * __correction__: There was a bug in my **flattenstatus** script; if you ran it before 8:20am on Wednesday, April 13th, then you may have incorrect data. Re-run it to generate a fresh and correct copy. (20160413)
  
 =====Objective===== =====Objective=====
Line 24: Line 28:
 This information has been accessible via the **status** tool. This information has been accessible via the **status** tool.
  
- +=====Program=====
- +
- +
-=====Submission===== +
-To successfully complete this project, the following criteria must be met: +
- +
-  * Code must compile cleanly (no warnings or errors) +
-    * Use the **-Wall** flag when compiling. +
-  * Output must be correct, and resemble the form given in the sample output above. +
-  * Code must be nicely and consistently indented (you may use the **indent** tool) +
-  * Code must utilize the algorithm presented above +
-  * Code must be commented +
-    * have a properly filled-out comment banner at the top +
-    * have at least 20% of your program consist of **<nowiki>//</nowiki>**-style descriptive comments +
-  * Track/version the source code in a repository +
-  * Submit a copy of your source code to me using the **submit** tool. +
- +
-To submit this program to me using the **submit** tool, run the following command at your lab46 prompt: +
- +
-<cli> +
-$ submit cprog gfo0 gfo0.c +
-Submitting cprog project "gfo0": +
-    -> gfo0.c(OK) +
- +
-SUCCESSFULLY SUBMITTED +
-</cli> +
- +
-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. +
- +
-====0x4: Data Processing====+
  
 Throughout the semester, your class-related activities have been numerically captured and made available to you via the **status** tool. Throughout the semester, your class-related activities have been numerically captured and made available to you via the **status** tool.
  
-Now that we are at the end, and your programming skillset is significantly expanded, I would like you to write a program to take this data and calculate your grade (reflective of currently recorded data).+Now that we are nearing the end, and your programming skillset is significantly expanded, I would like you to write a program to take this data and calculate your grade (reflective of currently recorded data).
  
 I've designed a tool that will take all your **status** data and 'flatten' it... converting all the necessary data into one stream of values. To obtain this data, simply run the **flattenstatus** command and the file **status.flat** will be created in your current working directory. I've designed a tool that will take all your **status** data and 'flatten' it... converting all the necessary data into one stream of values. To obtain this data, simply run the **flattenstatus** command and the file **status.flat** will be created in your current working directory.
Line 64: Line 39:
  
 <cli> <cli>
-lab46:~/src/cprog/eoce/0x4$ flattenstatus +lab46:~/src/cprog/gfo0$ flattenstatus 
-lab46:~/src/cprog/eoce/0x4$ cat status.flat+lab46:~/src/cprog/gfo0$ cat status.flat
 -1 0 1 1 0 0 1 1 1 1 1 1 1 1 1 1 0 0 0 1 1 1 1 -2 1 1 1 0 1 0 1 0 1 0 0 1 -3 11 13 6 9 4 9 5 9 6 9 19 20 6 0 18 20 -4 -1 0 1 1 0 0 1 1 1 1 1 1 1 1 1 1 0 0 0 1 1 1 1 -2 1 1 1 0 1 0 1 0 1 0 0 1 -3 11 13 6 9 4 9 5 9 6 9 19 20 6 0 18 20 -4
-lab46:~/src/cprog/eoce/0x4+lab46:~/src/cprog/gfo0
 </cli> </cli>
  
Line 86: Line 61:
  
 <cli> <cli>
-lab46:~/src/cprog/eoce/0x4$ ./0x4+lab46:~/src/cprog/gfo0$ ./mygrade
 Participation Component: 20 / 28 Participation Component: 20 / 28
 Journal Component:       20 / 36 Journal Component:       20 / 36
 Projects Component:      30 / 36 Projects Component:      30 / 36
 Total:                   70 /100 Total:                   70 /100
-lab46:~/src/cprog/eoce/0x4+lab46:~/src/cprog/gfo0
 </cli> </cli>
 +
 +
 +=====Submission=====
 +To successfully complete this project, the following criteria must be met:
 +
 +  * Code must compile cleanly (no warnings or errors)
 +    * Use the **-Wall** flag when compiling.
 +  * Output must be correct, and resemble the form given in the sample output above.
 +  * Code must be nicely and consistently indented (you may use the **indent** tool)
 +  * Code must utilize the algorithm presented above
 +  * Code must be commented
 +    * have a properly filled-out comment banner at the top
 +    * have at least 20% of your program consist of **<nowiki>//</nowiki>**-style descriptive comments
 +  * Track/version the source code in a repository
 +  * Submit a copy of your source code to me using the **submit** tool.
 +
 +To submit this program to me using the **submit** tool, run the following command at your lab46 prompt:
 +
 +<cli>
 +$ submit cprog gfo0 gfo0.c
 +Submitting cprog project "gfo0":
 +    -> gfo0.c(OK)
 +
 +SUCCESSFULLY SUBMITTED
 +</cli>
 +
 +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.
 +
  
haas/spring2016/cprog/projects/gfo0.1460480005.txt.gz · Last modified: 2016/04/12 16:53 by wedge