Description of this paper

ECET370 Lab 4 ? Guaranteed 100% score




ECET370 Lab 4;iLab 4 of 7: The Efficiency of Algorithms and Sorting;Note!;Submit your assignment to the Dropbox located on the silver tab at the top of this page.;(See the Syllabus section ?Due Dates for Assignments & Exams? for due dates.);iLAB OVERVIEW;Scenario and Summary;The purpose of the lab exercises is to help the student acquire skills in developing programs that involve algorithm analysis, recursion, and sorting.;Deliverables;There are four exercises in this lab, although not all of them will be required for submission. Be sure to read the following instructions carefully.;Exercise 1: No submission is required.;Note that some of the exercises require sections of code to be timed. To learn how to time a section of your source code, please refer to the beginning of the Projects section in Chapter 4 of our textbook.;Exercises 2 and 4 require not only software development but also explanations about the results of the experiments that are conducted. Create separate Word documents to provide the details required in these exercises.;Create a folder, and name it Week 4 Lab. Inside this folder, create the subfolders Ex2, Ex3, and Ex4. Place the solution to each of the three exercises required for submission in the corresponding subfolder. Compress the folder Week 4 Lab using a program like WinZip, and place the resulting zipped folder into the Dropbox.;Note that Exercises 2, 3, and 4 require software development. Place in the corresponding folders files. Do not submit the.class files or other files or folders that are generated by the IDE.;Required Software;Eclipse;Access the software at;iLAB STEPS;Exercise 1: Review of the Lecture Contents;Back to Top;Create projects using the classes in the Doc Sharing areas labeled minimum, factorial, and sorting algorithms. Compile them, run them, and review the code that is given carefully. These programs test the code discussed in the lecture.;Exercise 2: Efficiency of Algorithms;Back to Top;Problem 2 in the Projects section at the end of Chapter 4 in the textbook: Find a value of n for which Loop B is faster.;Note: This exercise requires timing code. You can find how to time a section of code in Java at the beginning of the Projects section in Chapter 4 of the textbook.;Exercise 3: Recursion;Back to Top;Problem 1 in the Projects section at the end of Chapter 7 in the textbook: recursive algorithm to find the square root of a positive number;Exercise 4: Sorting;Back to Top;In this week?s lecture, the algorithms quicksort and bubblesort are described and implemented. In the Doc Sharing section labeled sorting algorithms, you can find the class ArrayList, where these sorting algorithms are implemented. Write a program that times both of them for various list lengths, filling the array lists with random numbers. Use at least 10 different list lengths, and be sure you include both small values and large values for the list lengths. Create a table to record the times.;List Length Bubblesort Time (milliseconds) Quicksort Time (milliseconds);Regarding the efficiency of both sorting methods, what conclusion can be reached from this experiment? Both the table and your conclusions should be included in a separate Word document.;iLab Grading Rubric;Back to Top;Your;Points Max;Points;Complete Weekly iLab (54 points);0 6 The student has submitted the lab solutions using the requirements for deliverables specified in the iLab Content document;0 6 Code organization and readability.;0 42 Each of the lab programming exercises has been successfully accomplished;- Exercise 2: 16 points;(source code ? 14 pts, conclusions in separate document ? 2 pts);- Exercise 3: 6 points;- Exercise 4: 20 points;(source code ? 14 pts, conclusions in separate document ? 6 pts);Total Points: 54


Paper#68015 | Written in 18-Jul-2015

Price : $22