Controls and Events
Enter Name: Create a form which asks for the user’s name.
Three Rectangles: Create a form which is a depiction of three rectangles.
One Two Three: Create a form which changes the color of the textbox in focus and changes the alignment when a button is pressed.
Textbox: Disable or enable a textbox on a form by pressing a button.
Traffic Light: A form that simulates a traffic light.
Variables, Input and Output
Repair Bill: Simulate an auto repair bill.
Change: Make change for an amount less than a dollar.
Unit Price: Given the price and weight of an item in pounds, calculate the price per ounce.
Age on Mercury: Given a birthday, calculate a person’s age on Mercury.
Length Conversion: Convert US System Lengths into metric units.
Decisions
Rental Cost: Display a bill for Eddie’s Equipment Rental given the type of equipment rented and the length of time rented.
Nutrition: Given user input of the calories and grams of fat in a serving of food, calculate the calories from fat and determine if the food meets the American Heart Association recommendation.
Quadratic Equation: Determine the real roots of the quadratic equation.
Restaurant Menu: Simulate placing an order at Oceanside Burgers and Fries, which serves hamburgers, fries and drinks. Calculate and display the total cost of the meal.
College Admissions: Determine if a college applicant should be admitted to a university based on point point system which considers several different criteria.
General Procedures
Loan Calculator: Create a loan calculator which displays the amount of loan, interest rate, duration of loan and monthly payment. Given three of those values, calculate the fourth.
Restaurant Bill: Display an itemized bill for a restaurant serving pizza, fries and soft drinks.
Popcorn Profit: Calculate and display the profits for selling popcorn at a movie theater.
Tipping: Compute tips for services rendered.
Pick Up Sticks: Challenge the computer to a game of Pick-Up Sticks.
Repetition
Projectile Motion: Perform calculations on a ball thrown straight up into the air.
Arrays
Unit Conversions: This program converts the values of nine different units of measure.
Largest and Smallest Array Values: This program receives user input of ten integers. It then displays the minimum and maximum value that was entered.
Average Grade: Read student grades from a text file and display the average grade on the exam, as well as the percentage of grades that are above average.
Sum of Numbers This program reads a list of integers from a text file and displays the integers and their sums.
Text Files
Employee Data Part One: This program receives user input for employee data and saves it into a sequential file of type LSV (Line Separated Values).
Employee Data Part Two: This program expands upon Employee Data Part One above. It reads the data from the sequential file. It creates a new field for the record number, which will be assigned when the program executes.
Additional Controls and Objects
Inventory Control: Write a menu-driven multiform inventory program for a bookstore with data saved in a text file.
Databases
Orders and Inventory Management: Write a program that uses a database and three tables to keep track of customers, inventory and orders for a mail-order computer supply company.
Object-Oriented Programming
Student Data: Create a student class containing a student’s first and last names, id number and test average. Assign a letter grade based on the score average and save the record to a text file.
Carpet Price Calculator: This program uses classes to calculate the total price of a carpet installation based on several factors input by the user.
Earnings: This program uses classes to calculate an employee’s pay given the hourly wage and number of hours worked.