Sie sind auf Seite 1von 2

Visual Basic Programming Projects

Project Notes: To help gauge your time, it is suggested that you put about 1 hour effort/25 points. So, if a project is worth 75 points, you should spend 2-3 hours of work into that project. You will be graded on your effort, creativity, project specifications, and overall project. # 1 Name Intro to Google Docs Objective, Directions and Information Objective: You will all need to be able to use Google Docs. All assignments, resource files, course outlines, and information files will be located on Google Docs. All students will be required to have access to Google Docs via a gmail account. Objective: Complete a basic student information form and classroom rules form. Student Survey Form 25 Sept 2 Points Due

Student Survey and Classroom Information Project File Management

Objective: Create and secure project folders for ALL assigned projects.

25

Sept 2

Create the following folder h:\student.name


4 Projects - Chapter 3

Graphic design project folders and projects MUST be created in YOUR personal folder on the LOCAL h drive. Your personal folder MUST be named the same name as your student login or username.

Create the following sub folders: chapter2, chapter3, chapter4, chapter5, chapter7 Secure your local folder h:\student.name

file_management directions 75 Sept 2

Exercise 2 - School Label (15 points) Objective: Create a School application that displays your schools name and mascot centered in two separate labels. Choose different font, style, and size for the school name. The interface should look similar to (see page 3-28 Exercise 2). Include a Program menu with an Exit command. Exercise 6 - Hello and Good Bye (15 points) Objective: Create a Hello and Good-bye application that displays a label centered, bold, and size 18 that reads Hello! or Good-bye! depending on the button clicked. The interface should look similar to (see page 3-30 Exercise 6). Exercise 9 - Long Jump (20 points) Objective: Create Long Jump Average application that calculates and displays the average jump length of an athlete whose jumps were 3.3 m, 4.0m and 3.0m. The interface should look similar to (see page 3-31 Exercise 9) Exercise 10 - Position (25 points) Objective: Create a Position application that changes the position of text in a label according to the command selected by the user. The application should include a Program menu with an Exit command and a Position menu with the TopLeft, TopCenter, TopRight, MiddleLeft, MiddleCenter, MiddleRight, BottomLeft, BottomCenter, and BottomRight commands. The interface should look similar to (see page 3-31 Exercise 10). Exercise 3 - Area and Perimeter (25 points) Objective: Modify the Rectangle and Perimeter application created in Chapter 3 Exercise 8 to prompt the user for the length and width of the rectangle and then display the area and perimeter of the rectangle when the Answer button is clicked. The application interface should look similar to (see page 4-25 Exercise 3) Exercise 6 - Long Jump 2 (25 points) Objective: Modify the Long Jump average application created in Chapter 3 Exercise 9 to prompt the user for the lengths of four long jumps and then display the average jump length when the Average Button is clicked. The application interface should look similar to (see page 4-26 Exercise 6) Exercise 7 - Money Change (50 points) Objective: Create a Change application that prompts the user for an amount less than 100 and then displays the minimum number of coins necessary to make the change when the Coins button is clicked. The change can be made up of quarters, dimes, nickels, and pennies. The application interface should look similar to (see page 4-26 Exercise 7) Exercise 8 - Digits of a Number (50 points) Objective: Create a Digits of a Number application that prompts the user for a two-digit number and then displays the digits separately when Digits is clicked.. The application interface should look similar to (see page 4-26 Exercise 8) Exercise 2 - Payroll (50 points) Objective: Create a Payroll aplication that prompts the user for the number of hours worked and the hourly rate of pay and then calculates the gross weekly wages (before taxes) when Pay is clicked. Modify the Payroll application so that there is an 18% deductin from gross pay, unless the employee is exempt. If an employee is exempt, NO TAXES DEDUCTED should be displayed in a message box and then the wages displayed. The

Projects - Chapter 4

Sept 14

Pchapterojects Chapter 5

300

Oct 5

application interface should look similar to (see page 5-30 Exercise 2) Exercise 3 - Printing Prices (50 points) Objective: Create a Printing Prices application that prompts the user for the number of copies to print and then when Price is clicked displays the price per copy and the total price. The application interface should look similar to (see page 5-31 Exercise 3) Exercise 4 - Package Check (50 points) Objective: Create a Package Check application. A delivery service does not accept packages heavier than 60 pounds or larger than 8000 cubic inches. Your Package Check application prompts the user for the weight of a package and its dimensions, and when Check Packages button is clicked displays an appropriate message if the package does not meet the requirements (e.g. too large, too heavy, or both). The application interface should look similar to (see page 5-31 Exercise 4) Exercise 6 - Car Models (50 points) Objective: An auto company produced some models of cars that may be difficult to drive because the car wheels are not exactly round. Cars with model number 119, 179, 189 through 195, 221, and 780 have been found to have this defect. Create a Car Models application that prompts a customer for the model number of their car to find out if it is defective. When Evaluate is clicked, the message Your car is not defective should be displayed if the user typed a model number without a defect. Otherwise, the message Your car is defective. Please have it fixed should be displayed. The application interface should look similar to (see page 5-32 Exercise 6) Exercise 14 - Game 21 (100 points) Objective: Create a Game 21 application to simulate a simplified version of the game 21 against the computer. A deck with cards numbered 1 through 10 is used and any number can be repeated. The program starts by dealing the user two randomly picked cards and itself three randomly picked cards that are not revealed until Check Scores is clicked. The user may then draw one card. If the user and computer scores are both over 21, of if both are equal but under 21, the game is declared a draw. Otherwise, the winner is the one with the the highest score less than or equal to 21. If one score is over 21 and the other is 21 or less, the player with 21 or less is declared the winner. The result should be displayed in a message box. The application interface should include a Program menu with PlayGame and Exit commands. The application interface should look similar to (see page 5-35 Exercise 14) Exercise 3 - Sum Numbers (25 points) Objective: Create a Sum Numbers application that calculates the sum of a range of numbers entered by the user and displays in a label an expression with the numbes in the range. The application interface should look similar to (see page 6-28 Exercise 3) Exercise 5 - Initials (50 points) Create an Initials application that prompts the user to enter his or her first and last names and then displays the initials of the name in uppercase. The application interface should look similar to (see page 6-28 Exercise 5) Exercise 7 - Average (50 points) Create an Average application that calculates the average of a set of numbers from 1 to a number entered by the user. For example, if the user enters 5, the average of 1, 2, 3, 4, and 5 would be calculated. The application interface should look similar to (see page 6-29 Exercise 7) Exercise 11 - Name Backwards (50 points) Create a Name Backwards application that prompts the user to enter his or her name and then displays the name backwards in all lowercase in a label. The application interface should look similar to (see page 6-30 Exercise 11) Exercise 12 - Count Vowels (50 points) Create a Count Vowels application that counts the number of vowels in a word or phrase. The application interface should look similar to (see page 6-31 Exercise 12) Exercise 17 - Slot Machine Game (175 points) Create a Slot Machine Game application that acts as a simple slot machine. The user starts with 100 tokens. With each pull of the handle, the user loses 1 token and the computer spins three wheels, each consisting of the numbers 1, 2, and 3. If all three numbers are 1, the gets 4 tokens; if all are 2, the user gets 8 tokens; if all are 3 the user gets 12 tokens. The number of tokens that user has should be displayed on the form and the result of the spin should be displayed in a message box. The application interface should look similar to (see page 6-28 Exercise 3) A final project will be selected as a class.

Projects - Chapter 6

400

Oct 28

Final Project

150

Nov 16

Das könnte Ihnen auch gefallen