Module Three Assignment Guidelines and Rubric.html Overview Tweaking the words of Benjamin Franklin, an ounce of preparation is worth a pound of cure. Syntax and the concepts of programming languages...

1 answer below »
two assignment with C++ using eclipse


Module Three Assignment Guidelines and Rubric.html Overview Tweaking the words of Benjamin Franklin, an ounce of preparation is worth a pound of cure. Syntax and the concepts of programming languages are the structure of your coding projects. However, planning how to use those concepts to make your program work is critical to building a solid foundation. In this activity, you will be tasked with creating pseudocode and a flowchart for the operation of an electric coffee maker with specific features. Then you will write a reflection paper explaining which tool you prefer and why. Prompt Your objective is to plan the program flow and logic for an electric coffee maker with the following features: A clock displaying the current time. To set the time, simply press the ON button twice, then read the hour and minute from the user. When ON is pressed one more time, the time is set. A pre-set time (hh-mm) to start brewing the coffee Three buttons labelled OFF, ON, and PROGRAM: When the OFF button is pressed, the machine does nothing other than display the current time. When the ON button is pressed, the machine starts brewing coffee. When the PROGRAM button is pressed, the machine waits for the pre-set time to begin brewing. An automatic sensor that detects whether all the water has been used. Once the water runs out, brewing stops. A heating sensor that keeps the coffee at a fixed temperature as long as the button is set to ON or PROGRAM The machine’s operation can be described as follows. First, the user adds coffee and water to the machine. If the user presses the ON button, the system begins boiling the water and then mixing it with coffee. The mix goes through the filter into the glass container. If the OFF button is pressed, the machine shuts down and the current time is displayed. If the PROGRAM button is pressed, the machine goes into sleep mode until the preset time is reached. Once it’s reached, the machine “wakes up” and makes coffee. Directions Remember that pseudocode and flowcharts should express ideas and concepts in English. They are intended to be read by human beings, not compilers. There are several free options you can use to create your flowchart, such as Draw.io, Lucidchart, or Creately. Make sure to use a tool designed for creating flowcharts to ensure that you are using the appropriate symbols and shapes. Consider the high-level architecture of your program and break it into categories like logic, user interaction, etc. Then think about how you might implement each category. Be sure that your solution takes into account all features and requirements. Create the pseudocode for your program. Be sure to do the following: Use control structures. Use indentation and white space. Keep it simple and concise. Create a flowchart for your program. Be sure to do the following: Use appropriate design elements such as start and end points, decision branches, and so on. Use labels for all flowchart shapes and arrows. Keep everything on one page for better readability. Reflect on your design so far by reviewing your pseudocode and flowchart. Write a response that addresses the following questions: Does your program flow in a logical order? What variables are implied by your design? Do they account for everything in the problem statement? What sections of the code might make sense to put in main()? What pieces of the code would make sense in a function or functions? Which method do you prefer, the visual flowchart or the text-based pseudocode? Why? Guidelines for Submission Attach your pseudocode, flowchart, and reflection response (at least two paragraphs) to the assignment submission page. Your pseudocode and reflection paper should be Word files. Your flowchart should be created using one of the free design tools specified above, then exported as a PDF. Module Three Assignment Rubric CriteriaComplete (100%)Proficient (85%)Not Complete (0%)Value FunctionalitySolution meets guidelines by addressing all features and requirementsMeets some “Proficient” criteria, but with errors or omissionsDoes not attempt criterion20 PseudocodeCorrectly captures the logic and flow of solution, including indentations, and so onMeets some “Proficient” criteria, but with errors or omissions such as functionality of solution, lack of white space, indentations, etc.Does not attempt criterion30 FlowchartCorrectly captures the logic and flow of solution with proper flowchart symbols and labelsMeets some “Proficient” criteria, but with errors or omissions such as functionality of solution, incorrect flowchart symbols, or missing labelsDoes not attempt criterion30 Reflection PaperExplains which design tool is preferred and whyMeets some “Proficient” criteria, but with errors, omissions, or inadequate lengthDoes not attempt criterion20 Total: 100% Project Guidelines and Rubric.html Competency In this project, you will demonstrate your mastery of the following competency: Write professional, well-documented, and readable code Scenario As a recent graduate of SNHU, you’ve taken the time to consider the type of work you really want to do and therefore have focused your job search on junior developer positions. In searching the major job boards, you discover Chada Tech. Chada Tech is a software engineering company that specializes in custom software design and development for both domestic and international clients. You read more about the company and decide this place would be a great fit for you. You are also happy to find that there is an opening for a junior developer and apply for the position immediately. The skills that you have acquired at SNHU have prepared you for this role. Consequently, you are selected for an interview! As part of the Chada Tech interview process, you are asked to complete a coding skills test to “audition” for the role. This is a typical interviewing strategy that you may encounter in the field. Companies utilize this technique to ensure candidates can in fact do what they claim they can do. Therefore, this exercise will be based on a problem similar to what you will face in the junior developer role, and you will need to come up with a solution. This is your chance to really show them what you can do! The Chada Tech interviewing team has provided you with the following problem statement and a document containing a set of functional requirements: Chada Tech has domestic and international clients. To meet international standard ISO 8601, Chada Tech wants their clients to be able to view a 12- and a 24-hour clock on their website rather than just the standard 12-hour clock. To stand out as a top candidate, you will need to apply program logic by creating two clocks that display simultaneously and allow for user input using secure and efficient C++ code. Directions Develop an object-oriented programming (OOP) application to create two clocks that display simultaneously and allow for user input using secure and efficient C++ code. Review the Chada Tech Clocks Functional Requirements, located in the Supporting Materials section. Review the following flowchart, as it is a graphical representation of the logic you will use in relation to your application’s sequence of functions. A text version of this flowchart is available: Project One Flowchart Text Version. Your code should be properly modularized and written in functions so that your main() has the least amount of code. Before you begin coding, remember that you must demonstrate industry standard best practices in all your code to ensure clarity, consistency, and efficiency. This includes: Inserting in-line comments to denote your changes and to briefly describe the functionality of the code Using appropriate variable, parameter, and other naming conventions throughout your code When your solution is finished, zip your project including all components (CPP, H, and any other files used). Upload your zipped project file to the project submission area. What to Submit To complete this project, you must submit the following: Clocks Code Submit your zipped project files. Be sure to include a file header with your name. Supporting Materials The following resource(s) may help support your work on the project: Reading: Chada Tech Clocks Functional Requirements Chada Tech provided you with this document, which includes all of the functional requirements for the clocks you will create. Your code must meet all of these functional requirements. Reading: Downloading Files From Eclipse Tutorial You will write, test, and run your code using an integrated development environment (IDE). Review this tutorial to learn how to save and export files from your IDE. Project One Rubric CriteriaExemplary (100%)Proficient (85%)Needs Improvement (55%)Not Evident (0%)Value Follows Flowchart DiagramN/ACode 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 ModularizationN/ACode 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 Execution: Clock DisplaysN/ACode produces correct results for displaying a 12- and 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 Execution: Menu FunctionalityN/ACode displays and enables correct menu function options in the user menu (100%)Shows progress toward proficiency, but with errors or omissions; areas for improvement may include displaying all functional criteria for the user menu (such as adding an hour, minute, or second to both clocks) (55%)Does not attempt criterion (0%)20 Code Execution: Responds to User InputN/AClocks 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 PracticesExceeds proficiency in an exceptionally clear, insightful, sophisticated, or creative manner (100%)Uses industry standard best practices such as in-line comments and appropriate naming conventions to enhance readability and maintainability (85%)Shows progress toward proficiency, but with errors or omissions; areas for improvement may include naming conventions or in-line comments (55%)Does not attempt criterion (0%)15 Total:100% PastedImage_ykj57k4q7kupi2wfkf6m6pepwwhi1o5200158376513.png course_documents/CS 210 Project One Flowchart Text Version.pdf 1 CS 210 Project One Flowchart Text Version 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: “End 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.
Answered Same DayNov 08, 2021

Answer To: Module Three Assignment Guidelines and Rubric.html Overview Tweaking the words of Benjamin Franklin,...

Abr Writing answered on Nov 14 2021
148 Votes
Project 1/Module Three Assignment Guidelines and Rubric.html
Overview
Tweaking the words of Benjamin Franklin, an ounce of preparation is worth a pound of cure. Syntax and the concepts of programming languages are the structure of your coding projects. However, planning how to use those concepts to make your program work is critical to building a solid foundation.
In this activity, you will be tasked with creating pseudocode and a flowchart for the operation of an electric coffee maker with specific features. Then you will write a reflection paper explaining which tool you prefer and why.
Prompt
Your objective is to plan the program flow and logic for an electric coffee maker with the following features:
        A clock displaying the current time. To set the time, simply press the ON button twice, then read the hour
and minute from the user. When ON is pressed one more time, the time is set.
        A pre-set time (hh-mm) to start brewing the coffee
        Three buttons labelled OFF, ON, and PROGRAM:
        When the OFF button is pressed, the machine does nothing other than display the current time.
        When the ON button is pressed, the machine starts brewing coffee.
        When the PROGRAM button is pressed, the machine waits for the pre-set time to begin brewing.
        An automatic sensor that detects whether all the water has been used. Once the water runs out, brewing stops.
        A heating sensor that keeps the coffee at a fixed temperature as long as the button is set to ON or PROGRAM
The machine’s operation can be described as follows. First, the user adds coffee and water to the machine. If the user presses the ON button, the system begins boiling the water and then mixing it with coffee. The mix goes through the filter into the glass container. If the OFF button is pressed, the machine shuts down and the current time is displayed. If the PROGRAM button is pressed, the machine goes into sleep mode until the preset time is reached. Once it’s reached, the machine “wakes up” and makes coffee.
Directions
Remember that pseudocode and flowcharts should express ideas and concepts in English. They are intended to be read by human beings, not compilers. There are several free options you can use to create your flowchart, such as Draw.io, Lucidchart, or Creately. Make sure to use a tool designed for creating flowcharts to ensure that you are using the appropriate symbols and shapes.
        Consider the high-level architecture of your program and break it into categories like logic, user interaction, etc. Then think about how you might implement each category. Be sure that your solution takes into account all features and requirements.
        Create the pseudocode for your program. Be sure to do the following:
        Use control structures.
        Use indentation and white space.
        Keep it simple and concise.
        Create a flowchart for your program. Be sure to do the following:
        Use appropriate design elements such as start and end points, decision branches, and so on.
        Use labels for all flowchart shapes and arrows.
        Keep everything on one page for better readability.
        Reflect on your design so far by reviewing your pseudocode and flowchart. Write a response that addresses the following questions:
        Does your program flow in a logical order?
        What variables are implied by your design? Do they account for everything in the problem statement?
        What sections of the code might make sense to put in main()? What pieces of the code would make sense in a function or functions?
        Which method do you prefer, the visual flowchart or the text-based pseudocode? Why?
Guidelines for Submission
Attach your pseudocode, flowchart, and reflection response (at least two paragraphs) to the assignment submission page. Your pseudocode and reflection paper should be Word files. Your flowchart should be created using one of the free design tools specified above, then exported as a PDF.
Module Three Assignment Rubric
        Criteria        Complete (100%)        Proficient (85%)        Not Complete (0%)        Value
        Functionality        Solution meets guidelines by addressing all features and requirements        Meets some “Proficient” criteria, but with errors or omissions        Does not attempt criterion        20
        Pseudocode        Correctly captures the logic and flow of solution, including indentations, and so on        Meets some “Proficient” criteria, but with errors or omissions such as functionality of solution, lack of white space, indentations, etc.        Does not attempt criterion        30
        Flowchart        Correctly captures the logic and flow of solution with proper flowchart symbols and labels        Meets some “Proficient” criteria, but with errors or omissions such as functionality of solution, incorrect flowchart symbols, or missing labels        Does not attempt criterion        30
        Reflection Paper        Explains which design tool is preferred and why        Meets some “Proficient” criteria, but with errors, omissions, or inadequate length        Does not attempt criterion        20
        Total:         100%
Project 2/clock.cpp
#include "clock.h"
//Class implementation
//Default constructor
Clock::Clock() {
hours = minutes = seconds = 0;
}
//Parameterized constructor
Clock::Clock(int hrs, int mnts, int secs) {
setHours(hrs);
setMinutes(mnts);
setSeconds(secs);
}
//Setters
void Clock::setHours(int hrs)
{
if (hrs > 23) {
hours = 0;
}
else {
hours = hrs;
}
};
void Clock::setMinutes(int mnts)
{
if (mnts > 59) {
minutes = mnts;
seconds += 1;
if (seconds > 59) {
seconds = seconds - 60;
minutes += 1;
}
if (minutes > 59) {
hours += 1;
minutes = minutes - 60;
}
if (hours > 23) {
hours = 0;
}
}
else {
minutes = mnts;
}
}
void Clock::setSeconds(int secs)
{
if (secs > 59) {
seconds = secs - 60;
minutes += 1;
if (minutes > 59) {
hours += 1;
minutes = minutes - 60;
}
if (hours > 23) {
hours = 0;
}
}
else {
seconds = secs;
}
}
//Getters
int Clock::getHrs() {
return hours;
}
int Clock::getMinutes() {
return minutes;
}
int Clock::getSeconds() {
return seconds;
}
//Display 24 format
void Clock::display24format()
{
if (hours < 10 || minutes < 10 || seconds < 10) {
if (hours < 10) {
cout << "0" << hours;
}
else {
cout << hours;
}
if (minutes < 10) {
cout << ":0" << minutes;
}
else {
cout << ":" << minutes;
}
if (seconds < 10) {
cout << ":0" << seconds;
}
else {
cout << ":" << seconds;
}
}
else {
cout << hours << ":" << minutes << ":" << seconds;
}
}
//Display 12 format
void Clock::display12format()
{
if (hours > 12)
{
hours = hours - 12;
if (hours < 10 || minutes < 10 || seconds < 10) {
if (hours < 10) {
cout << "0" << hours;
}
else {
cout << hours;
}
if (minutes < 10) {
cout << ":0" << minutes;
}
else {
cout << ":" << minutes;
}
if (seconds < 10) {
cout << ":0" << seconds << " PM";
}
else {
cout << ":" << seconds << " PM";
}
}
else {
cout << hours << ":" << minutes << ":" << seconds << " PM";
}
}
else if (hours == 12)
{
hours = 12;
if (hours < 10 || minutes < 10 || seconds < 10) {
if (hours < 10) {
cout << "0" << hours;
}
else {
cout << hours;
}
if (minutes < 10) {
cout << ":0" << minutes;
}
else {
cout << ":" << minutes;
}
if (seconds < 10) {
cout << ":0" << seconds << " PM";
}
else {
cout << ":" << seconds << " PM";
}
}
else {
cout << hours << ":" << minutes << ":" << seconds << "...
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here