Question: ASSIGNMENT 2 A Assignment 2 A tests your understanding of program complexity on different solutions to the same problem. Part 1 . Design a Java
ASSIGNMENT A
Assignment A tests your understanding of program complexity on different solutions to the same problem.
Part Design a Java driver class called YourNameAssignmentA; replace YourName with your actual name with the
following methods use the exactprecise names, spelling, caps, parameters, returned values, functionality that
compute the Nth element of the series representing the sum of the squares of the first positive
integers, using different programming algorithm replace YourName with your actual name:
The methods should return if the parameter is not a positive integer. Use your methods in the main method for
different values for parameter N
Part Implement the class in NetBeans IDE and JAVA: Create a JAVA project called YourNameAssignmentA same
name as the driver class and add your code to YourNameAssignmenA projectdriver class. Your program should be user
friendly and be welldocumentedcommented have comments for every line of code
Part Create the screenshot document for your code and output: Create a Microsoft Word document from the
YourNameAssignmentAdocx template and call it YourNameAssignmentAdocx replace YourName with your actual
name Add to the document your complete screenshots of the NetBeans editor window showing the complete JAVA
source code for YourNameAssignmentA class and complete screenshots the complete output. If the entire class JAVA
source code or the output does not fit in one screenshot or the screenshots cannot be easily read, create multiple
screenshots and add multiple screenshots to the screenshot document. Please keep the screenshots in order look at the
line numbers If your output is longer than a line and does not fit on one screen, Wrap Text in your output panel..
Part Compute the complexity of each of the methodsalgorithms using the Big O notation. In the YourName
AssignmentAdocx document in the COMPLEXITY section and in the table below the exact Complexity in Big O Notation
for each of your methods and the Big O notation calculationsexplanations for the method complexity for each one of
the methods replace YourName with your actual name:
The Explanations column add details on how you computed the BigO notation complexity for the Method, and, for the
Best Method row, explain why you selected that particular method as Best Method as Complexity in BigO Notation.
Part Submit your work: Submit YourNameAssignmentAdocx on eCampus under the Assignment A Do not archive
the files eg no RAR, ZIP, etc. or submit other typesformats of files eg no CLASS, PDF JAVA, etc. Please take time
after submitting to review the file and check it is correct and resubmit it if there are any errors.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
