The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | Jul 2017 |
| Last Sign in: | 304 Weeks Ago, 2 Days Ago |
| Questions Answered: | 15833 |
| Tutorials Posted: | 15827 |
MBA,PHD, Juris Doctor
Strayer,Devery,Harvard University
Mar-1995 - Mar-2002
Manager Planning
WalMart
Mar-2001 - Feb-2009
Find The Errors Classes Assignment Rubric Scalable Data Infrastructures: MDV2330 Bare Minimum Requirements
These requirements must be satisfied before any points are awarded. Failing to meet these requirements will result in a zero (0) grade.
1. Working C# file with no major syntax errors and no runtime errors.
2. You must submit the whole project folder and not just the .cs file.
Topic % Excellent (100%) Good (75%) Fair (30%) Poor (0%) Technical
The submitted files follow the correct naming convention of LastnameFirstname_FindErrorsClasses.
Naming Files are not named properly. 5 Programming Fundamentals Find All Of The Errors 50 Match The Given Output 45 All syntax & logic errors found and
corrected. Up to two errors not found and fixed, but
file still runs. More than two errors missed are missed or the file contains runtime errors.
(Zero For The Whole Assignment) Program runs correctly and the output using the same user inputs matches the given output file. Program output does NOT match the
given output file. Activity: Fix The Errors - Classes OVERVIEW: For this assignment, you will be taking an existing file and finding and fixing all of the errors in it. The ability to debug and fix code is just as important as being able to write code. Take special care though, so errors are not kinds that will stop your code, they can be logic errors as well or trying to do math that does not make sense for what you are trying to do! LEVEL OF EFFORT: This activity should take approximately 120m to complete. It will require: • 0m Research • 10m Prep & Delivery • 110m Work If you find that this activity takes you significantly less or more time than this estimate, please contact me for guidance. READING & RESOURCES: Find Errors Classes - Rubric (necessary) The rubric on the first page of this document outlines the points for the assignment. Make sure you check off each one as done before submitting your assignment! OBJECTIVES: Successful completion of this activity will show that you can do the following: • Identify both logical and syntax errors. • Fix all kinds of errors. • Gain the ability to debug your own code. INSTRUCTIONS: 1. Before you begin, you should read the rubric on page 1. This is extremely important, as it will tell you exactly how this assignment will be graded. 2. The first thing you'll need to do is download the SDI_Find_Errors_Classes.zip file attached to this activity. Extract the project in the SDI_Find_Errors_Classes.zip file and open it in Visual Studio. If you do not see anything, open the Solution Explorer and double click on the Program.cs file to open it. 3. Copy all of the code inside of the Main Method. 4. Create a new program and name it LastnameFirstname_FindErrorsClasses. 5. Paste all of the code into the Main Method of this new program. 6. Place your name, date, and assignment at the top of your code in a multi-lined comment. 7. Find and fix all the errors. a. You will find a mixture of errors, from logic to syntax to other possible errors. b. It will be your job to find and fix them all. c. Hint, the coupon will take $3 off of each ticket, which would change the cost of the ticket for that theater. d. Make sure you are really reading the output. There are a few subtle errors in there. 8. Your code must match the output below exactly! Be careful, there are a lot of logical errors in this activity. 9. Once you've corrected all the errors, compress all the files into a zip called LastnameFirstname_FindErrorsClasses.zip and upload it to FSO. Opening a Visual Studio project in Visual Studio: 1. Make sure you download the zip file to your Windows 10 virtual machine. 2. Extract the files to your Desktop or other directory on the Windows 10 virtual machine. 3. Double-click the *.csproj file or the *.sln file. Double-clicking either one should open the project in Visual Studio Note: You may have to look in a subfolder for the *.csproj file. TURNING IT IN: •
•
•
•
• Create a new folder called LastnameFirstname_FindErrorsClasses. Copy and paste your whole SDI_Find_Errors_Classes folder into this new folder. Compress your called LastnameFirstname_FindErrorsClasses folder into one zipped file. It should be named called LastnameFirstname_FindErrorsClasses.zip Upload this zipped file to FSO. This is the file I will unzip and run to verify it works and review your code. You must zip the whole folder and not just the one individual C# file. If you only submit a .cs file you will get a zero for the whole project. Correct Output To Test Against
----------- Â ----------- H-----------ell-----------o S-----------ir/-----------Mad-----------am ----------- Th-----------ank----------- yo-----------u f-----------or -----------you-----------r i-----------nte-----------res-----------t a-----------nd -----------buy-----------ing----------- my----------- po-----------ste-----------d s-----------olu-----------tio-----------n. -----------Ple-----------ase----------- pi-----------ng -----------me -----------on -----------cha-----------t I----------- am----------- on-----------lin-----------e o-----------r i-----------nbo-----------x m-----------e a----------- me-----------ssa-----------ge -----------I w-----------ill----------- be----------- qu-----------ick-----------ly