CSCI 220 Programming with Visual Basic
Your Final Project
- The program should be a masterpiece
- Show off what you have learned
- Explore new areas
- Use the best technique you know
- The a program will:
- Run without error
- follow submitted topic
- follow pseudocode
- (if you change the topic, change the pseudocode)
- be as user-friendly as possible (follow Windows standards)
- anticipate user error
- use appropriate methods, commands, and controls to your program's needs
- showcase and expand your abilities
- Preparation:
- Pseudocode
- Start with paragraph saying what you want the program to accomplish
- Make sketches of all forms that will appear in the program
- Decide the names of all critical controls
- Write the values of relevant properties for each control, form
- List of variables with short description of what they stand for where
they will be declared
- Write an algorhythm (sentence or paragraph> for each critical action
in the program
- (EG what will happen when user presses a buton or changes a value)
- Write line-by-line pseudocode for each algorhythm above
- Try to anticipate in English what you want to have happen
- Make some guesses as to general strategy for commands or methods you
will use
- (EG get a filename using the common dialog)
- Other helpful stuff
- Do anything not specific to programming before actually writing
code. Examples:
- If you will do animations, draw all the pictures in paintbrush
- For an adventure game, sketch out a flowchart of the action
- for quiz programs, write all the questions on paper.
- In shor, let your programming time concntrate on programming.
- Let me see the pseudocode FIRST. If your pseudocode is weak, your
program will go NOWHERE! (Not my rule. Try it and see.)
- AVOID the temptation to just dig in and see where you get. You are
bound to have trouble.
- Writing the program
- Follow the plan outlined in the pseudocode
- Step-wise refinement:
- Develop startup form first
- If that form needs a menu, create the menu early
- Add controlsas outlined in your pseudocode
- Set the most critical properties as outlined i your pseudocode
- Repeat with other forms (if you have any)