ECET370 Lab 4 – Guaranteed 100% score

Lab Price = $15
Please feel free to send us your queries at: [email protected]
Payment Methods

Add to Cart

Buy Now

View Cart


Problem Statement

 

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 only .java 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 https://lab.devry.edu .

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

Screenshots

 

ECET370_Week4_Exercise3

ECET370_Week4_Exercise4

ECET370_Week4_Exercise2

ECET370_Week4_Exercise1_Sorting

ECET370_Week4_Exercise1_Factorial

ECET370_Week4_Ex1_min

Instructions
* If you want to purchase multiple products then click on “Buy Now” button which will give you ADD TO CART option.Please note that the payment is done through PayPal.
* You can also use 2CO option if you want to purchase through Credit Cards/Paypal but make sure you put the correct billing information otherwise you wont be able to receive any download link.
* Your paypal has to be pre-loaded in order to complete the purchase or otherwise please discuss it with us at [email protected].
* As soon as the payment is received, download link of the solution will automatically be sent to the address used in selected payment method.
* Please check your junk mails as the download link email might go there and please be patient for the download link email. Sometimes, due to server congestion, you may receive download link with a delay.
* All the contents are compressed in one zip folder.
* In case if you get stuck at any point during the payment process, please immediately contact us at [email protected] and we will fix it with you.
* We try our best to reach back to you on immediate basis. However, please wait for atleast 8 hours for a response from our side. Afterall, we are humans.
* Comments/Feedbacks are truely welcomed and there might be some incentives for you for the next lab/quiz/assignment.
* In case of any query, please donot hesitate to contact us at [email protected].
* MOST IMPORTANT Please use the tutorials as a guide and they need NOT to be used for any submission. Just take help from the material.
******************************************** Good Luck ***************************************************
Payment Details

 

Lab Price = $15
Please feel free to send us your queries at: [email protected]
Payment Methods

Add to Cart

Buy Now

View Cart

Privacy Policy
We take your privacy seriously and will take all measures to protect your personal information.
Any personal information received will only be used to fill your order. We will not sell or redistribute your information to anyone.
Refund Policy
Incase you face any issues with the tutorial, please free to contact us on [email protected]
We will try our best to resolve the issue and if still persists we can discuss for a refund in case its required.


Leave a Reply