Difference between revisions of "Sequential Scan Assignment"

From CSE231 Wiki
Jump to navigation Jump to search
(Created page with "=Code To Implement= ==Sequential Sum Scanner== {{CodeToImplement|SequentialSumScanner|sumScan|scan.exerise}} {{Sequential|public int[] sumScan(int[] data)}} {{Warning|Do NOT...")
 
 
Line 14: Line 14:
  
 
CPL: N
 
CPL: N
 +
 +
=Testing Your Solution=
 +
{{TestSuite|_SequentialScannerTestSuite|scan.group}}

Latest revision as of 20:39, 13 March 2023

Code To Implement

Sequential Sum Scanner

class: SequentialSumScanner.java Java.png
methods: sumScan
package: scan.exerise
source folder: student/src/main/java

method: public int[] sumScan(int[] data) Sequential.svg (sequential implementation only)

Attention niels epting.svg Warning:Do NOT mutate the data parameter. Return a new array which contains the sum scan of data.

Implement the simple sequential scan algorithm with the dependencies depicted below:

Sequential scan.png

Work: N

CPL: N

Testing Your Solution

class: _SequentialScannerTestSuite.java Junit.png
package: scan.group
source folder: testing/src/test/java