ETSU CSCI 1260 - Project 1 - Photo Album (2 pages)

Previewing page 1 of 2 page document View the full content.
View Full Document

Project 1 - Photo Album



Previewing page 1 of actual document.

View the full content.
View Full Document
View Full Document

Project 1 - Photo Album

36 views


Pages:
2
School:
East Tennessee State University
Course:
Csci 1260 - Intro Computer Sci II
Unformatted text preview:

Computer Science 1260 Project 1 January 14 2019 Photo Album Phase I Due Overview Your company has won the bidding process for a project to design and build a computerized Photo Album The contract calls for your company to create the final Photo Album in several phases each of which will be built and tested before moving on to the next phase In the first phase you are to build a Photo class that represents and works with a single Photo You will also build a driver program that demonstrates the use of the Photo class Phase I Specifications The Photo class models one single Photo It must manage information about the name including its path of the Photo file the type of file use an enumeration to indicate JPG GIF PNG BMP or OTHER the file s size in megabytes such as 0 82 8 73 11 6 and so forth and the name of the photographer The class needs to provide at least a default constructor a parameterized constructor appropriate getter setter methods and a toString method The Project1Driver class displays a welcome message prompts the user for his her name and initializes anything that needs initializing Then in a loop it should prompt the user to input information about one Photo object create a Photo object using the information and it should display the object using the Photo object s toString method to provide proper formatting The loop should end when there are no more Photos to manage The driver will only deal with one Photo object at a time In later phases of the project you will expand this project to manage many Photo objects When the user indicates there are no more Photo objects to process display a Goodbye message that specifically mentions the user by name The main method in the driver should consist of a series of method calls with each call handling one aspect of the driver s tasks For example The example shows the use of 3 private methods one to welcome and initialize necessary variables one to handle the input and display loop and one to display any final information including the goodbye message You may have other methods if you wish The driver class MAY have private static attributes if needed Use JOptionPane dialogs to welcome the user prompt for and input the user s name and to say goodbye Other input output should use a Scanner object and System out Follow good programming practices using Eclipse to help you Thoroughly test your program to verify that it works for good input and does not crash for invalid input but handles such situations appropriately Follow documentation policies posted on the web Appropriate documentation is NOT optional and inadequate documentation results in significant penalties Project 1 Photo Album Page 1 Computer Science 1260 Project 1 January 14 2019 Photo Album Phase I Due Design Posted on the course web site is a document that provides instructions for and an example of a design document The purpose of the design document is to identify classes needed in your project identify the responsibilities and input and output of each class draw a UML class diagram using Astah showing the classes and their relationships and describe any algorithms needed in the classes The design document also provides a test suite consisting of input data for which you know what the program output should be so that you can verify the results produced by the final program The test suite should include both valid data that produces appropriate output and invalid data that your program will handle without crashing See the design document instructions and the example on the course web site Submission The due dates for the project are posted on the web site Note that the design document is due BEFORE the program Follow the instructions for submission in the Course Facts document on the course website Be sure to COMPLETELY document your code using the Eclipse setup we did in class to help you Be sure to read and understand the Documentation Policy Penalties for failure to document everything according to the policies are severe Project 1 Photo Album Page 2


View Full Document

Access the best Study Guides, Lecture Notes and Practice Exams

Loading Unlocking...
Login

Join to view Project 1 - Photo Album and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Project 1 - Photo Album and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?