CSE 110 – Assignment # 8 Maximum Points: 20 Topics: 0 One and 2D Arrays I Classes Your programming assignments require individual work and effort to he of any benefit.
CSE 110 – Assignment # 8 Maximum Points: 20
Topics: 0 One and 2D Arrays
I Classes Your programming assignments require individual work and effort to he of any benefit. Every student nmst work independently
on his or her assignments. This means that every student must ensure that neither a soft copynor a hard copy oftheir work gets
into the hands of another student. Sharing your assignments with others in any way is NOT permitted. Violations of the University Academic Integrity policy will not be ignored. The university academic integrity policy is found at
http:liwww.asu.edu/studentlife/judiciallintegrig.html Note: Use the following Coding Guidelines: Follow the Java language Coding Guidelines (Appendix F, page 689, in your book). Include the Assignments Documentation at the beginning of your programming assignment
Use consistent indentation Variables and method names are lowercase, with occasional uppercase characters in the middle
Class names start with an Uppercase letter Braces must line up horizontally or vertically Every method, except main, must have a comment Use consistent indentation. Include comments for complex lines of code Assignments Documentation: At the beginning of each programming assignment you must have a comment block with the following information:
/* ………………………………………………………………. ff AUTHOR: your name // FEENAME: title of the source file fl SPECIFICATION: description of the program // YOUR Lab [enter and Name of the TA for your Closed lab fl FOR: CSE 110- homework #- days and time of your class // TIME SPENT: how long it took you to complete the assignment wwwwwwwwwwwwwwwmmww Part 1: Written Exercises (7 points) Note: The answers to the following questions should be typed in the block of comments in the AssignemntS.java
file. Please make sure they are commented out (green). Type them neatly and make them easy to read for the
graders. You will not receive any partial points for an incorrect answer. 1. Given the following array (2 pts)
inta={18,16,19, 3 ,14, 6};
a) How are the contents of the array arranged afier each pass of the selection sort?
b) How are the contents of the array arranged after each pass of the insertion sort?
Looking for a Similar Assignment? Order now and Get 10% Discount! Use Coupon Code "Newclient"
