User Tools

Site Tools


haas:fall2017:cprog:projects:gfo0

Differences

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

Link to this comparison view

Next revision
Previous revision
haas:fall2017:cprog:projects:gfo0 [2017/03/17 22:36] – external edit 127.0.0.1haas:fall2017:cprog:projects:gfo0 [2017/10/22 22:11] (current) – [Prerequisites/Corequisites] wedge
Line 3: Line 3:
 <WRAP><fs 150%>CSCS1320 C/C++ Programming</fs></WRAP> <WRAP><fs 150%>CSCS1320 C/C++ Programming</fs></WRAP>
 </WRAP> </WRAP>
- 
-~~TOC~~ 
  
 ======Project: PROCESS IMPLEMENTATION - GRADE FIGURE-OUTERER (gfo0)====== ======Project: PROCESS IMPLEMENTATION - GRADE FIGURE-OUTERER (gfo0)======
  
 =====Errata===== =====Errata=====
 +  * any updates/fixes will appear here
  
-  * any updates/fixes will appear here 
 =====Objective===== =====Objective=====
 To implement a programmatic solution (ie simulation) of a real life process- the obtaining, processing, and display of your status in the course. To implement a programmatic solution (ie simulation) of a real life process- the obtaining, processing, and display of your status in the course.
Line 20: Line 18:
   * ability to open and access data from files   * ability to open and access data from files
   * using loops to automate a process   * using loops to automate a process
-  * using functions to organize your code 
  
 =====Background===== =====Background=====
Line 33: Line 30:
 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). 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 **flatten** tool with an argument of **cprog** and the file **cprog.status.flat** will be created in your current working directory.+The **status** tool has an option 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 **status** tool, providing your course desig, as well as the **flatten** argument and the file **DESIG.status.flat** will be created in your current working directory.
  
 For example: For example:
  
 <cli> <cli>
-lab46:~/src/cprog/gfo0$ flatten cprog+lab46:~/src/cprog/gfo0$ status cprog flatten
 lab46:~/src/cprog/gfo0$ ls lab46:~/src/cprog/gfo0$ ls
 cprog.status.flat cprog.status.flat
 lab46:~/src/cprog/gfo0$ cat cprog.status.flat lab46:~/src/cprog/gfo0$ cat cprog.status.flat
--1 1 1 1 1 1 1 0 0 0 0 0 0 -2 4 8 6 8 8 8 8 8 8 0 -3 32 39 42 52 32 52 51 52 46 52 52 52 73 78 24 0 -4+-1 8 6 8 8 8 8 1 0 -2 4 4 8 11 12 13 16 19 20 24 24 100 0 26 24 28 -3 32 39 42 52 32 52 51 52 46 52 52 52 73 78 24 0 -4
 lab46:~/src/cprog/gfo0$  lab46:~/src/cprog/gfo0$ 
 </cli> </cli>
Line 52: Line 49:
   * reading one integer at a time, load the values into an array according to their category   * reading one integer at a time, load the values into an array according to their category
   * there will be three categories (arrays), each one identified by a header/sentinel value:   * there will be three categories (arrays), each one identified by a header/sentinel value:
-    * -1 indicates the start of participation data (13% of grade) +    * -1 indicates the start of journal data (13% of grade) 
-    * -2 indicates end of participation data / start of journal data (13% of grade) +    * -2 indicates end of journal data / start of participation data (13% of grade) 
-    * -3 indicates end of journal data / start of project data (52% of grade)+    * -3 indicates end of participation data / start of project data (52% of grade)
     * -4 indicates end of project data (and end of data stream)     * -4 indicates end of project data (and end of data stream)
   * once loaded into their arrays, calculate their totals, and totals out of grade component   * once loaded into their arrays, calculate their totals, and totals out of grade component
haas/fall2017/cprog/projects/gfo0.1489790196.txt.gz · Last modified: 2017/03/17 22:36 by 127.0.0.1