Giter Club home page Giter Club logo

projecttwo's Introduction

CMSC 350 Project 2

Table of Contents

Project Description

The programming project involves writing a program that examines a file of polynomials and determines whether the polynomials in that file are in strictly ascending order using two different methods of comparison.

Project Requirements

Project requirements can be found in Project 2 PDF File

Test Cases

Test Case Expected Output

Test Case Expected Output
1
  • Strong Order: True
  • Weak Order: True
2
  • Strong Order: True
  • Weak Order: True
3
  • Strong Order: False
  • Weak Order: True
4
  • Strong Order: False
  • Weak Order: True
5
  • Strong Order: False
  • Weak Order: False
6
  • Strong Order: False
  • Weak Order: False
7
  • Syntax Error
8
  • Syntax Error
9
  • Strong Order: True
  • Weak Order: True
10
  • Syntax Error

Project Rubric

Criteria Meets
Design
  • Polynomial class implements Comparable and Iterable interfaces
  • Polynomial object implemented with a singly linked list
  • OrderedList class provides required methods and does not duplicate code
  • Unchecked exception class included
Functionality
  • Accepts input file as specified and populates array list
  • Detects polynomials with invalid syntax and correctly displays error
  • Displays polynomials in the required format as they are read in
  • Correctly determines whether a polynomial file is sorted by the weak order
  • Correctly determines whether a polynomial file is sorted by the strong order
Test Plan
  • Test cases include a file in both strong and weak sorted order
  • Test cases include a file in weak but not strong sorted order
  • Test cases include a file in neither strong nor weak sorted order
  • Test cases include files with both kinds of syntax errors
  • Test cases include a polynomial with exponents of 0, 1 and 2 or more
Documentation
  • Correct UML diagram included
  • Lessons learned included
  • Comment blocks included with each Java file

projecttwo's People

Contributors

oavf15 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.