CPlusPlus Programming Language Projects



Objectives

Students will:
(1.)

May you please:
(1.) Review these examples.
(2.) Verify the calculations.
(3.) Verify the accuracy of the calculators.

English Language → Mathematics → Computer Science for the 2018 Summer Period (June - September) Residential Power Rates by Georgia Power

Information in English: Plain Information

                Basic Service:          $10.00 
                Tier                    Usage                   Cost per KWh
                1st tier                up to 650KWh            $0.056582
                2nd tier                next 350KWh             $0.093983
                3rd tier                over 1000KWh            $0.097273 
            

Information in Mathematics: Piecewise Function

$ c(p) = \begin{cases} 0.056582p + 10; & \quad 0 \leq p \leq 650 \\[3ex] 0.093983p - 14.31065; & \quad 650 \lt p \leq 1000 \\[3ex] 0.097273p - 17.60065; & \quad p \gt 1000 \end{cases} $



Information in Computer Science: Power Consumption and Monthly Bill Statement: Summer Bill Calculator

Please test the calculator and see the output.
Complete all fields. Then, click "Bill Statement".

  • Power Consumption

KWh

KWh

in


  • Monthly Bill Statement


English Language → Mathematics → Computer Science for the 2018 Winter Period (October - May) Residential Power Rates by Georgia Power

Information in Mathematics: Piecewise Function

$ c(p) = \begin{cases} 0.056582p + 10; & \quad 0 \leq p \leq 650 \\[3ex] 0.048533p + 15.23185; & \quad 650 \lt p \leq 1000 \\[3ex] 0.047641p + 16.12385; & \quad p \gt 1000 \end{cases} $



Student: Mr. C, where is the Information in English?
Teacher Good question.
Let us do a little critical thinking.
Go ahead and write it. 😊


Information in Computer Science: Power Consumption and Monthly Bill Statement: Winter Bill Calculator

Please test the calculator and see the output.
Complete all fields. Then, click "Bill Statement".

  • Power Consumption

KWh

KWh

in


  • Monthly Bill Statement


Main

Project Requirements

Minimum Requirements for Beginning C++: Console Application

May you please review these requirements?
These are the minimum requirements. Please be creative.

(1.) Please use appropriate naming for your project application.
The application should display at least the same output of my calculator.
That implies that you should test my calculator to see the output.
Your application may include more information.

(2.) The application should be a console application.

(3.) The Input/Output feature should be used.

Error Handling
(4.) Alert the user/Display an appropriate error message to the user, if the Final Reading is less than the Initial Reading.

(5.) Alert the user/Display an appropriate error message to the user, if the Initial Reading is negative.

(6.) Alert the user/Display appropriate error message to the user, if the Final Reading is negative.

(7.) Alert the user/Display appropriate error message to the user, if the Tax is negative.

(8.) Use only tax in percent. Do not worry about tax in decimal.

(9.) Make sure your executable file runs by itself outside the project folder.
If it does run, include all these: (documentation of all your Math work and the .exe file) in OneDrive, create a shareable link, and post the link in the Midterm Project Drafts forum of the course on Blackboard or send to me via email.
You may also upload them directly if you prefer.
I shall review and provide feedback.
If your submission works well, I shall ask you to submit the Project folder. The Project folder is the folder that is created when you create a new project.
When you submit it, I shall review and provide feedback.

If it does not run, then you need to fix it.
If you cannot fix it and you have reviewed the resources, please attend the Office Hours/Live Sessions so I can help you.

(10.) When you are done (everything works well), please zip the entire project: (documentation of the Math, executable file that runs by itself outside the Project folder, and the Project folder) into one folder; and submit the zipped folder (.zip only) in the actual Midterm Project forum of the Canvas course.

Minimum Requirements for Beginning C++: Desktop Application

May you please review these requirements?
These are the minimum requirements. Please be creative.

(1.) Please use appropriate naming for your project application.
The application should display at least the same output of my calculator.
That implies that you should test my calculator to see the output.
Your application may include more information.

(2.) The application should be a desktop application.

(3.) Set the MinimumBox property of the form to True
We want to accommodate users with laptop/desktop smaller screen sizes too.
They should have the ability to adjust your application to fit their screen sizes.

(4.) The Input/Output feature should be used.

Error Handling
(5.) Alert the user/Display an appropriate error message to the user, if the Final Reading is less than the Initial Reading.

(6.) Alert the user/Display an appropriate error message to the user, if the Initial Reading is negative.

(7.) Alert the user/Display appropriate error message to the user, if the Final Reading is negative.

(8.) Alert the user/Display appropriate error message to the user, if the Tax is negative.

(9.) Use only tax in percent. Do not worry about tax in decimal.

(10.) Make sure your executable file runs by itself outside the project folder
If it does run, include all these: (documentation of all your Math work and the .exe file) in OneDrive, create a shareable link, and post the link in the Midterm Project Drafts forum of the course on Blackboard or send to me via email.
You may also upload them directly if you prefer.
I shall review and provide feedback.
If your submission works well, I shall ask you to submit the Project folder. The Project folder is the folder that is created when you create a new project.
When you submit it, I shall review and provide feedback.

If it does not run, then you need to fix it.
If you cannot fix it and you have reviewed the resources, please attend the Office Hours/Live Sessions so I can help you.

When you are done (everything works well), please zip the entire project: (documentation of the Math, executable file that runs by itself outside the Project folder, and the Project folder) into one folder; and submit the zipped folder (.zip only) in the actual Midterm Project forum of the Canvas course.

Minimum Requirements for Advanced C++: Console Application

May you please review these requirements?
These are the minimum requirements. Please be creative.

(1.) Please use appropriate naming for your project application.
The application should display at least the same output of my calculator.
That implies that you should test my calculator to see the output.
Your application may include more information on the output.

(2.) The application should be a console application.

(3.) Input/Output feature should be used.

(4.) Class should be used.

(5.) Constructor(s) should be used.

(6.) Property/Properties should be used.
The class members: Initial Reading and the Final Reading should be private.

(7.) Method(s) should be used.

Error Handling
(8.) Alert the user/Display an appropriate error message to the user, if the Final Reading is less than the Initial Reading.

(9.) Alert the user/Display an appropriate error message to the user, if the Initial Reading is negative.

(10.) Alert the user/Display appropriate error message to the user, if the Final Reading is negative.

(11.) Alert the user/Display appropriate error message to the user, if the Tax is negative.

(12.) Use only tax in percent. Do not worry about tax in decimal.

(13.) Make sure your executable file runs by itself outside the project folder
If it does run, include all these: (documentation of all your Math work and the .exe file) in OneDrive, create a shareable link, and post the link in the Midterm Project Drafts forum of the course on Blackboard or send to me via email.
You may also upload them directly if you prefer.
I shall review and provide feedback.
If your submission works well, I shall ask you to submit the Project folder. The Project folder is the folder that is created when you create a new project.
When you submit it, I shall review and provide feedback.

If it does not run, then you need to fix it.
If you cannot fix it and you have reviewed the resources, please attend the Office Hours/Live Sessions so I can help you.

(14.) When you are done (everything works well), please zip the entire project: (documentation of the Math, executable file that runs by itself outside the Project folder, and the Project folder) into one folder; and submit the zipped folder (.zip only) in the actual Midterm Project forum of the Canvas course.

Minimum Requirements for Advanced C++: Desktop Application

May you please review these requirements?
These are the minimum requirements. Please be creative.

(1.) Please use appropriate naming for your project application.
The application should display at least the same output of my calculator.
That implies that you should test my calculator to see the output.
Your application may include more information on the output.

(2.) The application should be a desktop application.

(3.) Set the MinimumBox property of the form to True
We want to accommodate users with laptop/desktop smaller screen sizes too.
They should have the ability to adjust your application to fit their screen sizes.

(4.) Input/Output feature should be used.

(5.) Class should be used.

(6.) Constructor(s) should be used.

(7.) Property/Properties should be used.
The class members: Initial Reading and the Final Reading should be private.

(8.) Method(s) should be used.

Error Handling
(9.) Alert the user/Display an appropriate error message to the user, if the Final Reading is less than the Initial Reading.

(10.) Alert the user/Display an appropriate error message to the user, if the Initial Reading is negative.

(11.) Alert the user/Display appropriate error message to the user, if the Final Reading is negative.

(12.) Alert the user/Display appropriate error message to the user, if the Tax is negative.

For the requirements for Numbers (9.), (10.), and (11.)
Because the power consumption values are only nonnegative integers:
Alternatively; you may use the NumericUpDown Control
(www.docs.microsoft.com/en-us/dotnet/desktop/winforms/controls/numericupdown-control-windows-forms?view=netframeworkdesktop-4.8)
The control will ensure that the user enters only nonnegative values (zero and positive values).

(13.) Use only tax in percent. Do not worry about tax in decimal.

(14.) Make sure your executable file runs by itself outside the project folder
If it does run, include all these: (documentation of all your Math work and the .exe file) in OneDrive, create a shareable link, and post the link in the Midterm Project Drafts forum of the course on Blackboard or send to me via email.
You may also upload them directly if you prefer.
I shall review and provide feedback.
If your submission works well, I shall ask you to submit the Project folder. The Project folder is the folder that is created when you create a new project.
When you submit it, I shall review and provide feedback.

If it does not run, then you need to fix it.
If you cannot fix it and you have reviewed the resources, please attend the Office Hours/Live Sessions so I can help you.

(15.) When you are done (everything works well), please zip the entire project: (documentation of the Math, executable file that runs by itself outside the Project folder, and the Project folder) into one folder; and submit the zipped folder (.zip only) in the actual Midterm Project forum of the Canvas course.



Main

Students Projects

These are some of the nice projects done by my students.
Some of them are Midterm Projects while some are Final Projects.
Because of FERPA (Federal Educational Rights and Privacy Act) laws, only the first names of my students are written.
No worries, these files are safe to run. 😊

Beginning C++: Functional Programming Approach

Console Applications

(1.) Georgia Public Service Commission: Winter Rate (October - May) by Ryan
As at today: 12/30/2021, the verifiable website for this application is: Georgia Power Bill Calculator: Winter Rate (October - May)
(http://www.psc.state.ga.us/calc/electric/GPcalc.asp)
Georgia Power Rates
Georgia Power Winter

(2.) GPA Calculator for Trumbull Career & Technical Center students (can also be used by any student using U.S grading scale) by Ty
As at today: $12/03/2020$, the verifiable website for this application is: Trumbull Career & Technical Center
(http://www.tctchome.com/)

(3.) $2020-2021$ Federal Tax: Single Filing Option by Brennem
As at today: $12/03/2020$, the verifiable website for this application is: IRS.com (This is not IRS.gov)
(https://www.irs.com/articles/2020-federal-tax-rates-brackets-standard-deductions/)

Advanced C++: Object-oriented Programming Approach

Console Applications
(1.) Alabama Power: Standard Rate Plan - Family Dwelling : Summer (June-Sept) by Jennifer
As at today: $12/09/2020$, the verifiable website for this application is: Residential Pricing - Standard Family Dwelling Rate | Alabama Power
(https://www.alabamapower.com/residential/residential-pricing-and-rates/standard-family-dwelling-rate.html)

The calculator is based on old rates:
                    Summer (June-Sept)
                    Base Charge: $14.50 
                    First 1000 kWH: $0.100511
                    Over 1000 kWH: $0.10304
                
Alabama Power increased their rates
(https://www.al.com/news/2020/12/alabama-power-rates-to-climb-2-percent-next-year.html)

(2.) $2020-2021$ Federal Tax: All Filing Options by Zachary
As at today: $12/03/2020$, the verifiable website for this application is: IRS.com (This is not IRS.gov)
(https://www.irs.com/articles/2020-federal-tax-rates-brackets-standard-deductions/)

(3.) Boulder City, Nevada: Residential Electric Service Rates by Mark
As at today: $12/03/2020$, the verifiable website for this application is: Residential Rates | Boulder City, NV
(https://www.bcnv.org/323/Residential-Rates)

(4.) Descriptive Statistics of the Kent State University, Regional Campus enrollment counts for years $2000$ through $2020$ by Mark
As at today: $12/15/2020$, the verifiable website for this application is: Kent State University Regional Campus Retention: $2000$ through $2020$
(https://www-s3-live.kent.edu/s3fs-root/s3fs-public/file/RC%20Retention%20Rates%202020%20Fall_0.pdf )


The teacher should guide each student to the successful completion of the project.
Let students know you are willing to help.


Main

Resources

C++ Standard Library: Tutorials (Free)

C++ Tutorial: W3schools.com (Free)

C++ Documentation: Microsoft (Free)

C++ Developer Community

C++ Developer Community (Visual Studio)

LinkedIn Learning (Kent State University)

O'Reilly Online Learning
For Kent State University students, Select your Institution > Choose “Not Listed? Click here.”
Enter your Kent State University email address and click Let’s Go


C++ Institute: C++ Certification Exams - ITExams (Free Past Questions and Answers But Requires Patience)

Tutorials, Exercises, and Solutions from W3Resource (Free)

C++ Programming Exercises and Solutions from W3Resource (Free)

SoloLearn (Free)

C++ for Programmers - Udacity (Free)

Wikibooks: C++ Programming (Free)

Stack Overflow: Question and Answer Forum for Computer Science

Open Education & Development Group (Free Course; Not Free Exam)

Lynda.com from LinkedIn Learning (Start for Free. Then, not free)

Codecademy (Start for Free. Then, not free)



Main

References

Chukwuemeka, S.D (2024, April 30). Samuel Chukwuemeka Tutorials: Math, Science, and Technology. Retrieved from https://conferencepresentations.appspot.com/

Malik, D. S. (2018). C++ Programming: From Problem Analysis to Program Design. Cengage Learning.

corob-msft. (n.d.). Microsoft C/C++ Documentation. Docs.Microsoft.Com. Retrieved June 30, 2020, from https://docs.microsoft.com/en-us/cpp/?view=vs-2019 ‌

Free C++ Programming Book. (n.d.). Books.Goalkicker.Com. Retrieved June 30, 2020, from https://books.goalkicker.com/CPlusPlusBook/



Main