Please solve three (3) programming problems related to the content presented in Chapter 12 in your text. You can find the programming problems in the attached file (Module 5 Programming Problems Worksheet.docx (Links to an external site.)).
- Download the worksheet and save it as Mod5-Worksheet-Programming-Last-First.docx. For example, Mod5-Worksheet-Programming-Smith-John.docx.
- Consider the problem, design an algorithm (or algorithms) that would solve the problem, and then implement the algorithm in Java.
- Create a new folder and name it as Mod5-Java-Programming-Last-First, for example, Mod5-Java-Programming-Smith-John.
- Write the source code for each problem and save them as .java files in the folder you created. There are three programming problems for this module so you should have three .java files. Name your java files as Mod5Problem#.java, for example, Mod5Problem1.java.
- Copy data file(s) used for your program and/or output file into the folder.
- Please insert the algorithm written in pseudocode as a comment in the beginning of your program.
- Take screenshots of your running program – you can take screenshots using PrintScreen or any tool that you are familiar with, making sure that the console window in which you run the program appears on the screen.
- Copy the screenshots in the worksheet. If your program has different outcomes, take screenshots of each variation.
- Compress the folder that saves all of your java files as .zip file. Please note don’t save the worksheet in the same folder as they need to be submitted separately.
- Submit the following two files as attachments by clicking the Submit Assignment button above.
- Mod5-Java-Programming-Last-First.zip (including .java files, data files, and .txt files).
This assignment is worth 20 points. You can find the grading rubric for each program in the worksheet attached above.
- CycleThrowTryCatch (6 pts.).
- CycleFileOutput (7 pts.).
- CycleFileInput (7 pts.).