To code your project:.

Added on - 16 Sep 2019

  • 2


  • 287


  • 213


  • 0


Trusted by +2 million users,
1000+ happy students everyday
Showing pages 1 to 1 of 2 pages
To code your project:a.Complete theCircuitBoardconstructor.oThe constructor should parse the input file andpopulate thechar[][] boardclass variable.oAny formatting problems with the input fileshould cause anInvalidFileFormatExceptionto bethrown, with appropriate messages to the userabout the cause of the exception.b.Complete theCircuitTracerclass.i.The class should:handle the command-line argumentsconstruct aCircuitBoardfrom the input filesearch for all optimal trace pathsreport the results according to the specifieddisplay modeii.The program requires three command-linearguments:11First argument:-s-- use a stack for storage-q-- use a queue for storage11Second argument:-c-- run program in console mode-g-- run program in GUI mode .11Third argument: name of the input fileii.Use conditional checks and exception handling toappropriately deal with input errors from the
You’re reading a preview
Preview Documents

To View Complete Document

Click the button to download
Subscribe to our plans

Download This Document