Fill This Form To Receive Instant Help
Homework answers / question archive / Lab Project for Fall 2021 Introduction You will be building One lab project for the whole semester
Lab Project for Fall 2021
Introduction
You will be building One lab project for the whole semester. However, it will be done in stages throughout the semester.
Each student will come up with their own project. The idea here is for each project to be unique. It is your responsibility to come to me and get help. Many times, students try to bite off more than is required for this type of thing so I will help you define your project so it makes sense but will not be more than you need. Students may have problems trying to figure out how to apply a certain stage. I am more than willing to give you ideas there as well.
Each stage must be handed in on the due date. However, this will be mainly for feedback and to make sure students understand the material up to that point. The grading of the stages will be done when the final project is handed in. Each project will also be presented to the rest of the class and must answer at least two questions about the project. These questions may come from other students or me.
Take user input (at least two data items) add something to it and display it back to the user. All VB conventions learned should be followed, including appropriate controls, shortcuts, controls names, etc. Basically, look what we did in class work 1 and use that as an example. To make future stages easier, see if you can include some type of number that you can do some math with. This will probably be a price or a count of how many.
Add String and numeric variables, both integer and double. Do some simple math and format the output. You should use at least one of the following: Currency or Percent.
Add some type of decision. For this you can add error checking to make it easier. You will be adding much more later. Also, you should use 1 or 2 class level variables appropriately.
Add Radio button or check boxes and a Group box. Use a select case.
Store data in a file and read a file in a while loop. Add the OpenFileDialog and exception handling.
Use arrays, for loops and at least one Function and one Sub and one by ref parameter.
The following page has some suggestions on how to put together the project. These are only suggestions a project doesn’t have to be done exactly the way suggested. Be aware, the suggestions only cover a minimum requirement in order to point you in a direction, you should add more functionality to make the program make sense.
Project |
Stage 1 |
Stage 2 |
Stage 3 |
Stage 4 |
Stage 5 |
Stage 6 |
Vet Office |
Ask for animal type and weight |
Add prices for work done add up, add tax take deposit calculate % paid etc |
Check that numeric entries are numbers. You may want to start adding some other input at this stage such as owners name and address |
Change input for animal type to radio buttons, or add vets names to assign a vet |
When a new animal is added save that in a file. Read all the data in to search for some piece of information |
Move the reading of data in, so that it is stored in an array and search the array for data. |
Video Game |
Ask for Video Game name and genre |
Add prices and quantity bought and calculate total price, or price paid vs price sold |
Check that numeric entries are numbers. You may want to start adding some other input at this stage such as publisher, platforms etc |
Change genre to radio buttons |
Allow for video games and associated info to be saved in a file, and be able to read that info to search for a specific game or to check number of specific genre or platform is there |
Convert stage 5 to get stored in array and only needs to be read in once at the beginning of the program |
Movie |
Ask for Movie name & genre |
Add prices and quantity bought and calculate total price, or price paid vs price sold |
Check that numeric entries are numbers. You may want to start adding some other input at this stage such as director, studio, actors |
Change genre to radio buttons |
Save movies user entered into a file and be able to read the file in to get some information |
Convert stage 5 to get stored in array and only needs to be read in once at the beginning of the program |
Music Library
|
Ask for song name & genre or artist |
Add prices and quantity bought and calculate total price, or price paid vs price sold |
Check that numeric entries are numbers. You may want to start adding some other input at this stage such as album, year, song length etc |
Change genre to radio buttons |
Save music user entered into a file and be able to read the file in to get some information |
Convert stage 5 to get stored in array and only needs to be read in once at the beginning of the program |
Food – Grocery store |
Name of item and a price |
Add % tax and calculate final price |
Check that numeric entries are numbers. You may want to start adding some other input at this stage such as category |
Make category or taxable as radio buttons |
Be able to add grocery items to a file and also be able to look up an item in a file and get the price or how many in stock |
Convert stage 5 to get stored in array and only needs to be read in once at the beginning of the program |
Food – Restaurant |
Name of Dish and a price |
Add % tax or delivery charge and calculate final price |
Check that numeric entries are numbers. You may want to start adding some other input at this stage such as customer name, delivery address etc |
Make eat in, delivery, pickup as radio buttons |
Be able to add menu items to a file and also be able to look up an item in a file and the price |
Convert stage 5 to get stored in array and only needs to be read in once at the beginning of the program |
Construction company |
Name of type of work and price |
Add material markup and calculate final price |
Check that numeric entries are numbers. You may want to start adding some other input at this stage such as customer name, address of work site, etc |
Make a Labor, materials and Misc as radio buttons |
Be able to add materials and labor costs to a file and also be able to look up an item in a file and the price |
Convert stage 5 to get stored in array and only needs to be read in once at the beginning of the program |
Employee |
Name of employee and hourly wage |
Add number of hours and calculate weekly wage |
Check that numeric entries are numbers. You may want to start adding some other input at this stage such as employee number, address, etc |
Make radio button for contractor or employee and don’t calc overtime or take taxes out of contractor |
Be able to add employee info to file and be able to look up that employee in the file |
Convert stage 5 to get stored in array and only needs to be read in once at the beginning of the program
|
Salesman |
Name of salesman and % commission |
Add sales and calculate total commission |
Check that numeric entries are numbers. You may want to start adding some other input at this stage such as employee number, address, etc |
Set up multiple sales positions as radio buttons that have different commission rates |
Save salesman info in a file and be able to read that information up by reading the file |
Convert stage 5 to get stored in array and only needs to be read in once at the beginning of the program |
Doctors Office |
Name of Patient and price of procedure |
add insurance coverage and calculate total price patient must pay |
Check that numeric entries are numbers. You may want to start adding some other input at this stage such as patient address, etc |
Make radio or check boxes for different insurance types |
Be able to add patient or Dr. info in a file and read that information from file if needed. |
Convert stage 5 to get stored in array and only needs to be read in once at the beginning of the program |
Car trip |
Name of destination and how many miles |
Calculate price of gas or time involved or speed needed |
Check that numeric entries are numbers. You may want to start adding some other input at this stage such as number of stop overs, participants of trip, whether they are drivers etc |
Add car type with amount of passenger space |
Store a list of destinations and distance in a file and be able to read in that information |
Convert stage 5 to get stored in array and only needs to be read in once at the beginning of the program |