Professional Documents
Culture Documents
Introduction to Programming
Contents Contents
INTRODUCTION MICROSOFT VISIO INSTALLING VISIO YOUR ASSIGNMENT PART 1 PART 2 PART 3 INSPECTING AND SUBMITTING YOUR WORK
1 1 1 2 2 4 4 5
iii
Introduction to Programming
INTRODUCTION
Congratulations! Youve 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 youve acquired. This graded project will be similar to the ones youve worked on throughout the course. If youve successfully completed the assignments and graded project for each lesson, you should have no problem on your final examination.
MICROSOFT VISIO
Youll need to use Microsoft Visio to create these projects. You have a 60-day license for Visio that came with your text. If youve already installed Visio, skip to the next section. If you havent already installed Visio, follow the steps below.
INSTALLING VISIO
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-ROMs 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 youve never worked with Visio before, you should visit the Beginners Guide at http://office.microsoft.com/enus/visio/HA102144941033.aspx?pid=CH100650391033.
YOUR ASSIGNMENT
Your graded project is divided into three parts. In Part 1, youll create
PART 1
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 youre 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 players batting statistics. For your program, youll 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 12 318 1935 3638 3941 DATA TYPE Numeric Character Character Numeric Numeric 0 0 DECIMALS 0
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.
PART 2
A manager of a bookstore has asked you to create a program that will help her organize the bookstores inventory. Create a class named Book. Make sure the class contains the following information about each book:
Make sure you include methods to set values for each data field. 1. Create the class diagram to define the class.
PART 3
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. Theyve 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 schools address, not the students home address. gpa stands for the students high school grade point average. Honors represents high school awards a student has received.
Introduction to Programming
The data for the students is supplied in the following table. Redesign the table so that its in 1NF format.
appId 1
lastName Wright
hsAttended Central
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
Washington
Central
1500 Main
4.0
3 4 5
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 youve closely followed the instructions.
2. E-mail the project to your instructor for grading by going to http://www.takeexamsonline.com. 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