Get Best Penn Foster 03684000

$3.99

Get Best Penn Foster 03684000

 

PROJECT 4
Now that you’ve completed the material related to Chapters 10 and 11 of your textbook, you’re ready to complete Graded Project 4. For this graded project, you’ll use many of the C# skills you’ve learned thus far. Follow all the instructions for this graded project, and follow good programming practices as you create your solution. Remember to include all the required components when you submit your solution.
Instructions
To finish this graded project, which is based on Exercise 6a on pp. 537–538, you must complete a number of tasks to create the necessary solution. You’ll create a ■ BookException class
■ A Book class
■ A program that establishes several Book objects and handles any thrown exceptions
Note: To complete this graded project, use a text editor or use Microsoft Visual C# software. The figures included in this graded project show the steps involved when using the Visual C# integrated development environment (IDE). The IDE adds extra code, so if you choose to create your program using a text editor instead of the IDE, the code may be slightly different. When you’re finished, be sure to run your program to make sure it works. Remember: Always run your program after you complete the code to make sure it works appropriately.
Part A
Begin this graded project by completing these steps:
1. Start a new C# project named BookExceptionDemo.cs.
2. Save the BookExceptionDemo.cs program in Chapter.11 folder in your Student files (Figure 10).
61
Graded Project62
3. Create a BookException class whose constructor receives a string that consists of a book title, author, price, and a number of pages. Refer to pp. 499–502 of your textbook.
Part B
Next, create a Book class with the following four fields:
1. Title
2. Author
3. Price
4. Number of pages
FIGURE 10—Creating a New Project
Graded Project 63
Part C
After creating a Book class, complete these steps: 1. Create a program that establishes several Book objects and handles any throw BookExceptions. Refer to pp. 522–524 of your textbook.
2. Save your program.
3. Now build your program by selecting Build from the menu bar (Figure 11). Your program will automatically build. Any errors that could occur in the code will typically be shown at the bottom of your screen.
4. After you’ve built your program, test your program by selecting Debug > Start Debugging from the menu bar (Figure 12). Your program will execute and display results. If any errors occur during the execution of your program, you’ll be prompted and taken back to your code so you can make corrections.
5. If necessary, continue Steps 3 and 4 in Part C until your program works as intended.
FIGURE 11—Building Your Program
FIGURE 12—Debugging Your Program
How to Submit Your Project
Use the following procedure to submit your project online:
1. Log in to view your student homepage and go to the My Courses page.
2. Click Take Exam next to the lesson on which you’re working.
3. Attach your file as follows by following steps a–d.
a. Click on the Browse box.
b. Locate the file you wish to attach.
c. Double-click on the file.
d. Click Upload File.
e. If you have more than one file to attach, repeat steps a–d for each file.
4. Enter your e-mail address in the box provided. (Note: Your e-mail address is required for online submissions.)
5. If you wish to include comments about this project to your instructor, enter your comments in the Message box.
6. Click Submit File.
Grading Criteria
Your instructor will use the following guidelines to grade your project:
■ Successfully completed Part A 25 points _______
■ Successfully completed Part B 25 points _______
■ Successfully completed Part C 25 points _______
■ Saved the solution as BookExceptionDemo.cs 5 points _______
■ Followed the instructions appropriately 10 points _______
■ Solution works appropriately 10 points _______
STUDENT’S TOTAL POINTS 100 points _______

 

Need Help with Penn Foster?

If you are searching out instant exam help to reduce stress, your take-a-study solutions are most effective a click away. Professional mentoring can Assignment enables you to greed your weakest trouble and obtains unheard-of results. We have trouble-matter, online check helpers at IWantOnlineclasshelp.com who understand all the essential components that will help you get the best scores. We pay hobby whilst you ask us for live exam assistance. All you need is to rent our online exam help. Our online exam tutors will create a question paper based mostly on your path material. You will gather every solution you request for.

Scott Belmont from NYC, USA
Hired a tutor to take programming class and final exam
40 minutes ago
Ebony Nicole from Bronx, USA
Hired a tutor to take history and algebra final exams
2 hours ago
Randy Wells from Texas, USA
Hired an expert to take chemistry proctored exam
1 hour ago
Kurt LeBlanc from Iowa, USA
Hired an expert to take statistics online exam
1 hour ago