CSharp 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 VB.NET: Desktop Application

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

(1.) Please use appropriate name 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 Blackboard course.

Minimum Requirements for Advanced VB.NET: Desktop Application

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

(1.) Please use appropriate name 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.

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 Blackboard 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

Desktop Applications

(1.) North Canton Water Rates by Melissa
As at today: $04/30/2021$, the verifiable website for this application is: Water Utility Services | North Canton, OH
(https://northcantonohio.gov/409/Water)
For a full breakdown of current Water Rates and regulations, consult Chapter 937 of the City's Codified Ordinances
North Canton Water Utility Services

(2.) $2020-2021$ Federal Tax: All Filing Options by Tyler
As at today: $05/10/2021$, 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.) City of Akron Current Water Rates by Ian
As at today: $04/08/2021$, the verifiable website for this application is: Water and Sewer Rates: City of Akron
(https://www.akronohio.gov/cms/site/dced0363af40e9b7/index.html)
Current Water Rates: City of Akron, Ohio

Advanced C#: Object-oriented Programming Approach

Desktop Applications
(1.) Cost of Attendance Calculator for Undergraduate Students at Saint Peter's University by Angel
As at today: 12/15/2020, the verifiable website for this application is: Cost of Attendance for Undergraduate Students at Saint Peter's University
(https://www.saintpeters.edu/enrollment-services/student-financial-aid/cost-of-attendance/undergraduate-cost-of-attendance/)
Saint Peters University: Cost of Attendance Calculator 1
Saint Peters University: Cost of Attendance Calculator 2
Saint Peters University: Cost of Attendance Calculator 3

(2.) Mississippi Power: Residential Electric Service: Single Phase: Summer Billing Months: June through September by Brooke
As at today: 12/30/2021, the verifiable website for this application is: Mississippi Power: Residential Electric Service
(https://www.mississippipower.com/content/dam/mississippi-power/pdfs/residential/pricing-and-rates/standard-application-rates/2021/june/R-59.pdf)


(3.) Registration Form to TRYOUT for the Cleveland Crunch by Ryan
As at today: 12/15/2020, the verifiable website for this application is: Register to TRYOUT for the Cleveland Crunch
(Text file containing the information is automatically generated. As you register more users, the information is added to the text file. When you Load File, you will see everything you typed previously.)
(https://theclevelandcrunch.com/tryouts)

(4.) $2018$ Federal Tax: All Filing Options by Zachary S.
Desktop version of my Web version
As at today: 12/03/2020, the verifiable website for this application is: Forbes
(https://www.forbes.com/sites/kellyphillipserb/2018/03/07/new-irs-announces-2018-tax-rates-standard-deductions-exemption-amounts-and-more/?sh=120ee3ae3133)

(5.) City of Dover, Ohio: Dover Light and Power: Residential Rates by Mark
As at today: 12/03/2020, the verifiable website for this application is: Welcome to the City of Dover, Ohio - Compare Rates
(https://www.doverohio.com/compare-rates)
City of Dover: Residential Power Rates

(6.) 2020 - 2021 Federal Tax: All Filing Options by Zachary S.
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/)

(7.) 2020-2021 Federal Tax: Single, Married Filing Jointly or Qualifying Widow(er), and Married Filing Separately Filing Options by Angel
As at today: 12/03/2020, the verifiable website for this application is: Debt.org: 2020 Tax Brackets & Rates for Each Income Level
(https://www.debt.org/tax/brackets/)

(8.) 2020-2021 Federal Tax: Head of Household Filing Option by Zachary C.
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/)

(9.) Georgia Public Service Commission: Winter Rate (October - May) by Keith
As at today: 12/03/2020, 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

(10.) Residential Pricing - Standard Family Dwelling Rate | Alabama Power: Winter (Oct-May) by Joshua
As at today: 12/03/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:
                    Winter (Oct-May)
                    Base Charge: $14.50 
                    First 750 kWH: $0.100511
                    Over 750 kWH: $0.088511
                
Alabama Power increased their rates
(https://www.al.com/news/2020/12/alabama-power-rates-to-climb-2-percent-next-year.html)

(11.) 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 )

(12.) Canton Charge (G League affiliate of the NBA Cleveland Cavaliers) Player Summary Statistics by Zachary C.
As at today: 12/15/2020, the verifiable website for this application is: Canton Charge Player Statistics
(Once copied, the information can be pasted in any document)
(https://canton.gleague.nba.com/)


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


Main

Resources

C# Documentation: Microsoft

C# Tutorial - Tutlane (Free)

C# Tutorial: W3schools.com (Free)

C# Tutorial - Tutorials Point (Free)

C# Developer Community

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


LinkedIn Learning (Kent State University)

Microsoft 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# Notes for Professionals: Stack Overflow Documentation

C# Notes for Professionals: Stack Overflow Documentation

Wikibooks: C# Programming

Stack Overflow: Question and Answer Forum for Computer Science

Lynda.com from LinkedIn (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/

Farrell, J. (2018). Microsoft Visual C#: An Introduction to Object-Oriented Programming. Cengage Learning.

BillWagner. (2019). C# docs - get started, tutorials, reference. Microsoft.Com. https://docs.microsoft.com/en-us/dotnet/csharp/

(2020). Goalkicker.Com. https://www.goalkicker.com/CSharpBook/CSharpNotesForProfessionals.pdf



Main