Need help with this. C++
11/12/2020 Project One Guidelines and Rubric - CS-210-H2418 Programming Languages 20EW2
11/12/2020 Project One Guidelines and Rubric - CS-210-H2418 Programming Languages 20EW2
Project One Rubric
|
Criteria |
Exemplary (100%) |
Proficient (85%) |
Needs Improvement (55%) |
Not Evident (0%) |
Value |
|
Follows Flowchart Diagram |
N/A |
Code follows flowchart diagram logic in relation to the application’s sequence of functions (100%) |
Shows progress toward proficiency, but with errors or omissions; areas for improvement may include building code based on the diagram provided and its sequence of functions (55%) |
Does not attempt criterion (0%) |
10 |
|
|
|
|
|
|
|
|
Code Modularization |
N/A |
Code effectively includes functions and minimizes main() (100%) |
Shows progress toward proficiency, but with errors or omissions; areas for improvement may include minimizing main() by writing more code functions (55%) |
Does not attempt criterion (0%) |
20 |
|
Code Executes on: Clock Displays |
N/A
|
Code produces correct results for displaying a 12and a 24-hour clock, simultaneously, in the correct 12- and 24-hour formats (100%) |
Shows progress toward proficiency, but with errors or omissions; areas for improvement may include displaying clocks side-by-side, proper clock format, etc. (55%) |
Does not attempt criterion (0%) |
15 |
|
Code Execute on: Menu Functionality |
N/A |
Code displays and enables correct menu func on op ons in the user menu (100%) |
Shows progress toward proficiency, but with errors or omissions; areas for improvement may include displaying all func onal criteria for the user menu (such as adding an hour, minute, or second to both clocks) (55%) |
Does not a empt criterion (0%) |
20 |
|
Code Execute on: Responds to User Input |
N/A |
Clocks produce correct results based on user selections from the menu (100%) |
Shows progress toward proficiency, but with errors or omissions; areas for improvement may include proper clock manipulation based on user selection, etc. (55%) |
Does not attempt criterion (0%) |
20 |
|
Industry Standard Best Practices |
Exceeds proficiency in an exceptionally clear, insightful, |
Uses industry standard best practices such as in-line comments |
Shows progress toward proficiency, but with errors or omissions; areas |
Does not attempt criterion (0%) |
15 |
|
|
crea ve manner (100%) |
naming conven ons to enhance readability and maintainability (85%) |
may include naming conven ons or inline comments (55%) |
|
|
|
|
|
Total: |
100% |
Functional Requirements
1. Clock12: Time should be displayed in 12-hour format where the clock does not exceed 12:59:59. 2. Clock24: Time should be displayed in 24-hour format where the clock does not exceed 23:59:59.
3. Both clocks should display on the screen with the current time in the proper format. For example:
4. Your solution should allow the user to exit the program as well as add one hour, minute, or second to both clocks from a user menu as follows:
5. Once a selection is made from the user menu, the program should take action based on that choice. Both clocks must display on the screen simultaneously in the proper format next to each other. Below is a sample of the expected output if the user selects option 3 from the menu:
https://learn.snhu.edu/d2l/le/content/569970/viewContent/10537015/View 1/6
https://learn.snhu.edu/d2l/le/content/569970/viewContent/10537015/View 1/6
Title: Clocks Flowchart
Top of chart begins: “Clear Screen”
1. “Display time in two formats”.
2. Decision: “Button Pressed?”
a. If “No” to button pressed, then to “Add 1 Second”. Then “Wait 1 second”. Then back
to “Clear Screen”.
b. If “Yes” to button pressed, then to “Display Menu”. Then “Read user input”. Then to
Decision: “User input = exit?”.
i. If “Yes” to exit, then endpoint: “En d program”.
ii. If “No” to exit, then Decision: “Add Hour?”
1. If “Yes” to hour, then “Add 1 hour.” Then back to “Clear screen”.
2. If “No” to hour, then Decision: “Add Minute?”.
a. If “Yes” to minute, then “Add 1 minute.” Then back to “Clear
screen”.
b. If “No” to minute, then Decision: “Add Second?”.
i. If “Yes” to second, then “Add 1 Second.” Then
back to “Clear screen”.
ii. If “No” to second, then back to “Clear screen”.