Visual Basic 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 Visual Basic: Functional Programming Approach

Desktop Applications

(1.) GPA Calculator for Kent State University by Connor
As at today: 05/06/2021, the verifiable website for this application is: GRADE POINT AVERAGE (GPA) | Kent State University
(http://catalog.kent.edu/academic-policies/grade-point-average/)
GPA: Kent State University 1
GPA: Kent State University 2

(2.) City of Dover, Ohio: Dover Light and Power: Residential Rates by Dino
As at today: 04/28/2021, 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

(3.) Current Water Rates (Billed Monthly) by Andrew
As at today: 04/28/2021, the verifiable website for this application is: Current Water Rates (Billed Monthly) | Stark County Government
(https://www.starkcountyohio.gov/sanitary-engineers/departments/billing-department/water-billing/current-water-rates-billed-monthly)
Stark County Water Rates

(4.) City of Akron Current Water Rates by Michael
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

(5.) Georgia Public Service Commission: Winter Rate (October - May) by Gabriel
As at today: 04/03/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

(6.) Holmes-Wayne Electric Cooperative, Inc. Rate class: farm/residential: Power Rates by Jason
As at today: 04/08/2021, the verifiable website for this application is: Holmes-Wayne Electric Cooperative, Inc., Adjusted Rates and Charges
(https://www.hwecoop.com/sites/holmeswayne/files/2020Rate%20List.pdf)
Holmes-Wayne-Electric-1
Holmes-Wayne-Electric-2

(7.) Tuition Rates: Tuscarawas Central Catholic Junior/Senior High School by Jason
As at today: 05/10/2021, the verifiable website for this application is: Tuscarawas Central Catholic JSHS - New Philadelphia, OH
(https://www.tccsaints.com/tuition-rates)
Tuscarawas Central Catholic JSHS

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

(9.) $2020-2021$ Federal Tax: Married Filing Jointly or Qualifying Widow(er) Filing Option by Brandon
As at today: 04/19/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/)

(10.) $2020-2021$ Federal Tax: Single Filing Option by Connor
As at today: 04/03/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/)

(11.) Panera Bread Dietary Sandwich Builder by Gabriel
As at today: 05/10/2021, the verifiable website for this application is: Panera Bread: Clean Food for Breakfast, Lunch & Dinner
(https://www.panerabread.com/en-us/home.html)



Visual Basic Projects from My Former Students at Jacksonville State University (as substitute for some assessments in the Exploring Math and Finite Math courses)

(1.) MS108: Emily (Book Store App)
(2.) MS108: Emily (Library Report App)
(3.) MS110: Katelyn (Mathematics of Finance Calculator)
(4.) MS108: Corey (Color Picker App)
(5.) MS110: Mitchell (Mathematicians)
(6.) MS110: Bryce (Mathematicians)
(7.) MS110: Matthew (Simple Calculator)
(8.) MS110: Jeremy (Simple Calculator)
(9.) MS108: Kiona (History of Mathematics)
(10.) MS108: Justin (Language App)



These are some of the examples I did for my former students at Jacksonville State University to introduce them to the Visual Basic programming language.

(1.) Personal Quote Application
(2.) Samdom Basic Calculator (Buttons)
(3.) Samdom Basic Calculator (Radio Buttons)
(4.) Samdom Basic Calculator (Combo Box)
(5.) Samdom Basic Calculator (Group Box)
(6.) Temperature Converter
(7.) Simple Interest Calculator
(8.) Compound Interest Calculator
(9.) Grade Calculation Application

Advanced Visual Basic: Object-oriented Programming Approach

Desktop Applications

(1.)



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


Main

Resources

Visual Basic Tutorials by Microsoft (Free)

Visual Basic Documentation

Visual Basic Developer Community

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


Visual Basic Notes for Professionals: Stack Overflow Documentation (Free)

Wikibooks: Visual Basic (Free)

Stack Overflow: Question and Answer Forum for Computer Science

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

Free Visual Basic .NET Book. (n.d.). Books.Goalkicker.com. Retrieved January 16, 2021, from https://books.goalkicker.com/VisualBasic_NETBook/

KathleenDollard. (2018, March 28). Visual Basic. Microsoft.com. https://docs.microsoft.com/en-us/dotnet/visual-basic/ ‌

‌Zak, D. (2016). Programming with Microsoft Visual Basic 2015. Cengage Learning.



Main