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: | Apr 2017 |
| Last Sign in: | 103 Weeks Ago, 2 Days Ago |
| Questions Answered: | 4870 |
| Tutorials Posted: | 4863 |
MBA IT, Mater in Science and Technology
Devry
Jul-1996 - Jul-2000
Professor
Devry University
Mar-2010 - Oct-2016
Here are 2 more assignment study guides that I could really use. I will pay $70 for both, plus a good tip. These two are the next two assignments for the same class (ITSD322). Deadline for Unit 4 IP is Friday, 09-16-16, and the deadline for Unit 5 IP is Friday 09-23-16. Thanks.Â
Â
Assignment DetailsAssignment DescripTonOne of the most useful features of any programming language is recursion and control structures, decisions andloops. Recursion and loop structures allow programs to repeat acTons without duplicaTng code.±his console applicaTon focuses on your understanding of object oriented programming, control structures, andarrays.Create an applicaTon that manipulates a billboard sign. Use the following guidelines:±he program must include a Billboard class (separate from the main program class) that is capable ofstoring the text to display.±he class must include data Felds±he Billboard class must include methods to manipulate the text (get, set, reverse, replace substring) aswell as the capability to check the text (eg. test if the text is empty).±he Billboard includes a list of predeFned messages that can be set as the message in the billboard.±he set method allows user to select a predeFned message. Also, user can create his messageAdd one extra method that can be used for the Billboard±he main program must create an object of Billboard class.±he main program must include a menu to allow a user to select a funcTon of the Billboard object.±he applicaTon must exit upon user request.²or this project, do the following:Create an applicaTon that manipulates a billboard sign based on the above guidelines.Use comments in your code to demonstrate your understanding of each statement.Make sure the program runs correctly before submission.Zip all the Fles in your project to a Fle named yourname_Unit 4 IPPlease submit your assignment.For assistance with your assignment, please use your text, Web resources, and all course materials.
Assignment DetailsAssignment DescripTonErrors occur in programs, and there are two ways to address the problems. The frst is to try to write code thatchecks For errors and then deals with them. ±or example, you can use error checking to see iF a user selected a validmenu op²on a³er making a selec²on. Error checking tries to prevent errors From occurring. Another method is togo ahead and let errors occur but to handle them graceFully beFore they can a´ect the opera²on oF the program.This method, calledexcepton handling, will be the Focus oF this project.±or this project, you will write a Java program that demonstrates excep²on handling. Your program will accept Fromthe user ten values and place those numbers in an array. The numbers in the array will be added together and theresult displayed to the user. The program will also perForm division. The program should compare the values Forelements 1 and 2 in the array and divide the larger number by the smaller number. It should compare the values Forall odd/even elements and divide the larger by the smaller value. The program should use excep²on handling toavoid division by zero errors or out oF range errors (dictated by the variable’s data type) which would cause theprogram to stop due to the error. The program should prompt the user For a second set oF ten numbers. When theuser enters 9999 the program should terminate normally.±or this project, do the Following:Create a new project in your IDE named "Excep²onHandler."Write code to accept numbers as described above From the user. Your code should ensure that onlynumbers are accepted.Write code to add all values together and to divide larger numbers by smaller numbers in odd/evenelements. Results should be displayed. Loop to get another set oF ten numbers From the user un²l the userenters 9999 as the frst number.Use excep²on handling to handle division by zero and out oF range excep²ons.In the catch blocks, be sure to display the cause oF the excep²on to the user.Make sure your excep²on handler will handle any other errors as a deFault.Create a UML ac²vity diagram that illustrates how your program works. Your diagram must include all thedata items in your program.Use good comments to describe how the program works.Make sure the program runs correctly beFore submission.Create a zip that includes your project Folder and Word document, and upload it to the course portal.This assignmen± will also be assessed using additonal cri±eria providedhere.Please submit your assignment.
Attachments:
-----------