Starting from:

$25

Programming-Techniques - ASSIGNMENT 1 - POLYNOMIAL CALCULATOR - Solved

 1.   Requirements
 

Design and implement a polynomial calculator with a dedicated graphical interface through which the user can enter polynomials, select the operation to be performed (i.e. addition, subtraction, multiplication, division, derivative, integration) and display the result.  

 

Note: Consider the polynomials of one variable and integer coefficients. 

1.2   Design considerations
•      Use an object-oriented programming design  o Use encapsulation

o Define classes such as Polynomial and Monomial

•      Use the Model View Controller as an architectural pattern for designing the polynomial calculator.

 

1.3   Implementation considerations
•      Use the Java programming language

•      Use Java Swing for implementing the graphical user interface

•      Use Regex for verifying the validity of the polynomials

•      Use lists instead of arrays

•      Use foreach instead of for(int i=0…)

•      Implement classes with maximum 300 lines of code (except for the UI classes)

•      Implement methods with maximum 30 lines of code

•      Use the Java naming conventions (https://google.github.io/styleguide/javaguide.html)  

 

1.4 Testing considerations 

•      Use JUNIT for testing the application.

More products