Project Report
Project Report
Chandkheda, Ahmedabad
Academic Year
(2021-2022)
DECLARATION
CERTIFICATE
This is to certify that the mini project on Sorting Visualizer has been
satisfactorily carried by Patel Riya Dineshchandra (180060107042) under
my guidance in the fulfillment of the course Summer Internship (3170001)
work during the academic year 2021-2022.
I also thank my parents, friends and all the members of the family for their
precious support and encouragement which they had provided in completion
of my work. In addition to that, I would also like to mention the college
personals who gave me the permission to use and experience the valuable
resources required for the project from the college premises.
Thus, in conclusion to the above said, I once again thank the faculties and
members of Bhagwan Mahavir College of Engineering & Technology for
their valuable support in completion of the project.
Thank You
Patel Riya D.
Content
I. Certificate
II. Acknowledgement
III. Abstract
V. Chapter 2: Design
Figure 2.1
The blue bar contains the selection options for algorithm, array size and
speed of the animation. It also contains the buttons for generating new array
and sorting the array.
After selecting the size of an array, the webpage will look like the
picture shown in Figure 2.2 below.
Figure 2.2
The user can select any of the five algorithms to see the visualization of
how that algorithm works. There is no algorithm selected by default, so the
user will need to select one before starting the animation. Then select size of
the array to sort from the range of 5 to 100 and user can also choose the speed
of animation.
The buttons also show feedback by changing color when the cursor
hovers over them. An example is shown below where Figure 2.3 shows an
unselected button, and Figure 2.4 shows the same button with feedback.
Figure 3.1
The look of webpage after selecting the size of an array is shown in Figure
3.2
Figure 3.2
When the user clicks on the “Sort” button, the elements will look as the
picture shown in Figure 3.3 while getting sorted.
Figure 3.3
Figure 3.4 shows the picture of elements when the array is completely sorted.
Figure 3.4
Chapter 4: Summary
While many good algorithm visualizations are available, the need for
more and higher quality visualizations continues. Through much time and
effort, I have successfully created a working web-based animation tool for
visualizing the following sorting algorithms: Selection Sort, Bubble Sort,
Insertion Sort, Quick Sort and Merge Sort. This tool gives options to select
sorting algorithm, size of an array and speed of the animation. After selecting
these, it visualizes the selected sorting algorithm and gives wider idea to the
user. This web-based Sorting Visualizer is an easy-to-navigate tool which can
be really useful to the students of computer science as they need to be familiar
with a great number of different algorithms and data structure.
Chapter 5: Reference
1. https://www.crio.do/projects/javascript-sorting-visualizer/
2. https://www.w3schools.com/
3. https://youtube.com/c/TraversyMedia
4. https://www.freecodecamp.org/