This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
haas:fall2017:cprog:projects:gfo0 [2017/03/17 22:36] – external edit 127.0.0.1 | haas:fall2017:cprog:projects:gfo0 [2017/10/22 22:11] (current) – [Prerequisites/Corequisites] wedge | ||
---|---|---|---|
Line 3: | Line 3: | ||
< | < | ||
</ | </ | ||
- | |||
- | ~~TOC~~ | ||
======Project: | ======Project: | ||
=====Errata===== | =====Errata===== | ||
+ | * any updates/ | ||
- | * any updates/ | ||
=====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 ' | + | The **status** |
For example: | For example: | ||
<cli> | <cli> | ||
- | lab46: | + | lab46: |
lab46: | lab46: | ||
cprog.status.flat | cprog.status.flat | ||
lab46: | lab46: | ||
- | -1 1 1 1 1 1 1 0 0 0 0 0 0 -2 4 8 2 8 6 8 4 8 6 8 8 8 8 8 1 0 -3 32 39 42 52 32 52 51 52 46 52 52 52 73 78 24 0 -4 | + | -1 7 8 7 8 6 8 2 8 0 8 0 8 8 8 1 0 -2 4 4 8 8 11 12 13 16 19 20 24 24 100 0 0 26 24 28 -3 32 39 42 52 32 52 51 52 46 52 52 52 73 78 24 0 -4 |
lab46: | lab46: | ||
</ | </ | ||
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/ | * there will be three categories (arrays), each one identified by a header/ | ||
- | * -1 indicates the start of participation | + | * -1 indicates the start of journal |
- | * -2 indicates end of participation | + | * -2 indicates end of journal |
- | * -3 indicates end of journal | + | * -3 indicates end of participation |
* -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 |