Final Graded Project

Introduction to Programming

Contents Contents


1 1 1 2 2 4 4 5


Introduction to Programming
Congratulations! You’ve completed all of the text materials for this course. All you have left is this final graded project, which will demonstrate the programming and logic skills you’ve acquired. This graded project will be similar to the ones you’ve worked on throughout the course. If you’ve successfully completed the assignments and graded project for each lesson, you should have no problem on your final examination.

You’ll need to use Microsoft Visio to create these projects. You have a 60-day license for Visio that came with your text. If you’ve already installed Visio, skip to the next section. If you haven’t already installed Visio, follow the steps below.

Note: The system requirements for the Visio trial are Microsoft Windows XP with Service Pack 3 or higher, and Windows Server 2003 or higher. 1. Insert the Visio CD-ROM found at the back of your text into your CD drive. 2. When the Setup Wizard asks for your product key, enter the product key found on the CD-ROM’s envelope and click Next.


3. Follow the prompts in the Setup Wizard. 4. Open Visio from the Start Menu. It may appear in the Microsoft Office menu. 5. Activate your trial version after you open Visio. Note: If you’ve never worked with Visio before, you should visit the Beginner’s Guide at

Your graded project is divided into three parts. In Part 1, you’ll create
■ ■ ■ ■

A print chart A hierarchy chart A flowchart Pseudocode

In Part 2, you’ll create
■ ■

A class diagram Pseudocode

In Part 3, you’ll create a table in 1NF format.

To become more organized and save time, Mr. Rockwell, the general manager of the Springfield Sluggers baseball team, wants to move from paper files to electronic ones. His friend told him that you’re good with computers and can help him get his information onto his computer. The first thing that Mr. Rockwell has in mind is for you to create a program that will report each player’s batting statistics. For your program, you’ll need to know how to express batting averages, which is shown on the next page.


Introduction to Programming

Batting Average is computed as: Number of hits divided by the number of at bats. Batting average is expressed up to three decimals, such as .325.

The following table lists your input data for your program:
File name: BASEBALL FIELD DESCRIPTION Player Number First Name Last Name At-bats Hits POSITIONS 1–2 3–18 19–35 36–38 39–41 DATA TYPE Numeric Character Character Numeric Numeric 0 0 DECIMALS 0

Your report should include the following output fields:
■ ■ ■ ■

Player number First name Last name Batting average

You should name the printed report TEAM STATISTICS. 1. Create a print chart for this program using the data provided. 2. Create an interactive screen prompting the user for number of hits and number of bats with a button to calculate the average. 3. Create a flowchart for this program using the data provided. 4. Create pseudocode for this program using the data provided.

Final Graded Project


A manager of a bookstore has asked you to create a program that will help her organize the bookstore’s inventory. Create a class named Book. Make sure the class contains the following information about each book:
■ ■ ■ ■ ■

Stock number Author Title Price Number of pages

Make sure you include methods to set values for each data field. 1. Create the class diagram to define the class.

The financial aid department of a local college wants you to help them organize the information they have on their students. They need this information to determine who will receive scholarship benefits from the school. They’ve created a database table with the following structure: tblScholarshipApplicants (appID, lastName, hoursAttended, hsAddress, gpa, honors, clubsActivities). Keep the following in mind:

hsAttended stands for which high school the student attended. hsAddress stands for the high school’s address, not the student’s home address. gpa stands for the student’s high school grade point average. Honors represents high school awards a student has received.


Introduction to Programming

clubsActivities represents any clubs or activities a student was in or participated in.

The data for the students is supplied in the following table. Redesign the table so that it’s in 1NF format.

appId 1

lastName Wright

hsAttended Central

hsAddress 1500 Main

gpa 3.8

Honors Citizenship award Class officer Soccer MVP Valedictorian Citizenship award Homecoming court Football MVP Class officer Homecoming court Valedictorian Citizenship award Class officer

clubsActivities Future teachers Model airplane Newspaper P ep Yearbook




1500 Main


3 4 5

Miller Smith Naylor

Highland St. Joseph Central

200 Airport 300 Fourth 1500 Main

3.6 4.0 3.7

P ep Future teachers P ep Chess Yearbook

Congratulations! Now that you’ve completed the programming project, you’re ready to apply all you’ve learned about programming to your own projects. All you have left to do is inspect your completed project files one last time before you e-mail the files to your instructor for grading. To conclude your project: 1. Proofread your work.
■ ■

Check your files for errors. Your project grade will be based on the accuracy with which you entered and edited the information. Make sure your final project is free of errors, and that you’ve closely followed the instructions.

Final Graded Project


2. E-mail the project to your instructor for grading by going to Use 41800100 to identify the project. 3. You should submit the following seven files:
■ ■ ■ ■ ■ ■ ■

Print chart Hierarchy chart Flowchart Pseudocode Class diagram Pseudocode Table in 1NF Format

Your instructor will use the following grading guidelines to grade your project.
Part 1 Creating the print chart Creating the interactive screen Creating the flowchart Creating the pseudocode Part 2 Creating the class diagram Part 3 Converting the table into 1NF format Total 15 points _______ 100 points _______ 25 points _______ 15 points _______ 15 points _______ 15 points _______ 15 points _______


Introduction to Programming

Sign up to vote on this title
UsefulNot useful