Skip to content

ericgeiger1/cppFinal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Final Exam: Comprehensive Take-Home Programming Assessment

Course: COSC 1436 Programming Fundamentals I

Textbook Coverage: Gaddis Chapters 1–7

Total Points: 350

Overview

This final exam is a comprehensive take-home assessment. You will design and create a complete C++ program that demonstrates your understanding of the major programming concepts covered this semester.

This assignment is not just about writing code. You are expected to show that you can plan, organize, test, explain, and complete a working program.

Final Exam Program Topic

You will create a program called:

Personal Expense & Budget Analyzer

Your program should allow a user to enter personal expenses, store those expenses, analyze the data, display results, and save the results to a file.

Required Concepts

Your program must include:

  • Variables and constants
  • Input and output
  • Calculations
  • if/else decision structures
  • while loop
  • do-while loop
  • for loop
  • Functions
  • Arrays
  • File output
  • Comments and readable formatting
  • Required Program Features
  • Your program must:

Display a menu with the following options:

  • Enter expenses
  • Display summary
  • Save summary to file
  • Exit
  • Ask the user how many expenses they want to enter.
  • Validate that the number of expenses is between 1 and 20.
  • Store all expenses in an array.
  • Calculate and display:
  • Total expenses
  • Average expense
  • Highest expense
  • Lowest expense
  • Save the expense summary to a file named:
  • expenses.txt
  • Use at least 3 programmer-defined functions.
  • Include comments throughout the code.

Required Submissions

##Submit the following:

  • Pseudocode (pdf)
  • Flowchart (pdf)
  • C++ source code file (cpp)
  • Screenshot of program output png or jpg
  • copy of the output file (expenses.txt)
  • Code review form (pdf)
  • Academic Integrity
  • You may discuss ideas with classmates, but every student must submit their own original work.

You may not copy another student’s code.

If you use AI tools, tutoring websites, videos, or outside help, you must acknowledge that assistance in a comment at the top of your code.

Example:

  • // I used ChatGPT to help me understand how to structure functions.
  • // I wrote, tested, and modified the final code myself. Failure to submit original work may result in a zero and possible referral according to course and college policy.

4. Code Review Form (Upload a PDF)

  • COSC 1436 Final Exam Code Review Form
  • Student Name: ___________________________
  • Reviewer Name: ___________________________
  • Date: ___________________________

Program Review Questions

  • Did the program compile successfully? ☐ Yes ☐ No

  • Did the menu display correctly? ☐ Yes ☐ No

  • Did the program allow the user to enter expenses? ☐ Yes ☐ No

  • Did the program validate input correctly? ☐ Yes ☐ No

  • Did the program use an array? ☐ Yes ☐ No

  • Did the program use functions? ☐ Yes ☐ No

  • Did the program calculate total, average, highest, and lowest correctly? ☐ Yes ☐ No

  • Did the program save results to a file? ☐ Yes ☐ No

  • Was the code easy to read? ☐ Yes ☐ No

  • Were comments included and helpful? ☐ Yes ☐ No

  • Reviewer Feedback

  • One thing the program does well:

  • One thing that could be improved:

  • Reviewer Signature: ___________________________

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages