stout461 / project-csce314 Goto Github PK
View Code? Open in Web Editor NEWThis project forked from tdeng100/project-csce314
This is the Java project for CSCE314
This project forked from tdeng100/project-csce314
This is the Java project for CSCE314
Overview: This project is composed of several parts. This is phase 1. It is due on Friday, April 12th. Thereafter, you will get one new phase each week. Read the comments in the code. These comments will give you hints on how to create the code you need. There are also questions in the comments. Answering these questions is worth points. Coding: Your job is to extend the functionality of the provided code. Do not delete or alter any of the given code. Your code must have the same return values and function prototypes as what is provided, as well as the same level of information hiding and encapsulation. You have two parts to this phase of the project. The first is to create an object to embody the concept of “Workouts.” The data values you need for a workout are already in the skeleton file. You will need to write code to handle the expected methods of the Workouts class. You will need to write helper methods to perform these tasks. The second part of this phase is to write a file reader that will load the workouts from a CSV (comma separated values) file into the Workouts object. You can assume that there are no extra commas in the CSV file that need to be escaped. All commas act as separators. The main javaFit file has a series of function calls that will be used to test the performance of your code. Do not modify these. Looking at these lines of code will give you some insight into how your code will be used. Style: Glen mentioned the importance of use a specific programming style. Use the refactor tool to rename class names as per the Google Java Style Guide. https://google.github.io/styleguide/javaguide.html when in doubt, use this style guide. Notes: Indents in these files are set to 2 spaces. You can change this setting in your Eclipse file by clicking Window Preferences. -> Expand Java Code Style ->Click Formatter -> Click the Edit button -> Click the Indentation tab. Under General Settings, set Tab policy to Spaces only, set spaces to 2. You are going to need to load files in this app. Eclipse, however, is going to be picky about where the “current directory” is. We could solve this by using absolute paths, but that means you may run into problems when you are trying to find that location on your system, which may be laid out differently than my system. So we will instead set up the Eclipse working directory Go to the "run configuration", open the "Arguments" (second) tab, and click the "Other" radio button. Then enter an absolute pathname as the working directory for the launched application. This directory will be the one where you put your csv files. Mine are, cleverly, in “C:\Users\Glen\eclipse-workspace\javafit\data”. Click Apply. What You Turn In: 1) The completed .java files. Include all four. 2) A text file with your answers to the questions in the code comments. Grading: Grading will be based upon completeness. If your code is fully functional and passes all tests while adhering to the design guidelines, you get full points for this section. If your code is partially functional, you will get partial credit. If your code does not compile or run, you will get minimal credit. If you turn nothing in, you will get no credit. Academic Honesty: As with most programming project, student code will be subjected to extensive anti-cheating monitoring. Algorithm design will be checked, as well as code layout. Future Phases and Late Work: A solution to each phase will be provided, as well as new start files, so that a student who does poorly in one phase is not starting at a disadvantage in the following section. Students may continue to use their own code, or they may use the provided start files for each subsequent phase. Because solutions will be provided, late assignments can not be accepted.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.