Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Ohjective: Requirements: - Functianality. ($lptsi) - No Syatax, Major Kan-Time, or Major Logic Errors. (80pts*) - Code that caunot be compiled due to syetax errors
Ohjective: Requirements: - Functianality. (\$lptsi) - No Syatax, Major Kan-Time, or Major Logic Errors. (80pts*) - "Code that caunot be compiled due to syetax errors is voofunctiona] code and will receive no points for this entire section. - "Cade that carrnat be executed ar tested bue to majar tun-tirne or logic errurs is namfunctivnal crole and will receive no points for this entire section. a Lse anly Arrays to represent the Vectors and assume a decimal type. (80pls) - "Other built ia types like ArrayLists, LinkedLists, exe will roceive no points for this entive saction. - Clear and Fasy-To-Use Tnterface, (10pes) - Users should easily understand what the prograrn does and haw to use it. - Users should be prompted for iaput abd sbould be able to cater data casily. - Users should be presented with output after major functions, operntions, or calcu]ations. - Uisers shoulli be able to perform iny number of the required fumetions. In aldition, users should be able to chocose when to terminate the program. - All tie atove must apply for full credit. Addiag Two Voctors. (20pts) continue and nos terminate. - The program should elearly output dhe resalting Yoetor to the uscr. - All the above must apply for full credit. - Subcrating Two Vecturs. (20\%ss) contibue and aot terminate. - The prograin should clearly output the resalting Vestor to the user. - All the ahove must apply for full eredit. - Find the Magaitude of a Vector. (20pts) - Users should be able to enter the size aud values of the Vector. The size of a vector must be greater or equal to 1 . Otberwise, the user musr be prompted there is an enor and the progran must coutinae and not termicate. - The progrrim should clearly culput the tesulting mulgnituse ta the user. - All tie atove must apply for full cradi. - Pach major fimction musst cherk for comman run-time and legic errrors. - Coling Style. (10pss) - Code functionality erganized within multiple metbods other than the main method. (5pts) o Readnble Code (5pts) - Meaningfal identifiens for data and methads. - All the above must apply for full crodit. - Comments, (10pts) a Your name in the file. (S.jpts) - At least 5 meaningful commeats in addition to yeur name. These must describe the function of the code it is near. (Spts) - Comments. (10pts) - Your name in the file. (5pts) - At least 5 meaningful comments in addition to your name. These must describe the function of the code it is near. (5pts) dditional Notes: - Vector Addition. - Example: (57)+(123)=(1710) - Vector Subtraction. - Example: 57915123131=74414 - Vector Magnitude. - Finding the magnitude of a vector requires finding the square root of the sum of its components squared. - Example: 23456=22+32+42+52+62=909.48
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started