How aryan-r-patel/b07lab1 works
Project type and purpose
• This is a small Java-based exercise (Lab 1 for CSCB07) that defines a Polynomial class and a Driver class to exercise it. It isn’t a multi-tier application but rather a teaching example of object-oriented design and class interaction.
File structure
• Top level:
• Driver.java – contains the main() entry point and orchestrates test/demo of Polynomial.
• Polynomial.java – encapsulates polynomial data structures and operations (e.g., addition, evaluation).
• info/ – likely holds supplementary documents (specs, sample input/output).
• README.md – project description.
README
• Confirms it’s a lab exercise for software design. No external dependencies or complex architecture described.
Detailed but focused guidance
[Driver] [Polynomial]
– + main(args: String[]): void – + Polynomial(coeffs: List<Integer>)
– (other demo methods) – + add(p: Polynomial): Polynomial
– + evaluate(x: double): double