Sort students marks using bubble and insertion algorithms
Offered By: Coursera Project Network via Coursera
Course Description
Overview
The learner will create two sorting algorithms in Java programming language. The learner will create an optimised bubble sort function that sorts students' marks in ascending order by repeatedly swapping adjacent elements within an array if they are in the wrong order. The learner will also create an insertion sort function that sorts students' marks in ascending order by building a sorted array, one element at a time.
Syllabus
- Project Overview
- In this project-based course, you will learn how to sort integers using bubble and insertion sort algorithms in Java programming language. The learner will create an optimised bubble sort function that sorts students' marks in ascending order by repeatedly swapping adjacent elements within an array if they are in the wrong order. After an iteration, if there are no elements to sort further, the iteration stops thus reducing execution time. The learner will also create an insertion sort function that sorts students' marks in ascending order by building a sorted array, one element at a time.
Taught by
Dr. Chao Mbogho
Related Courses
Programming 102: Think Like a Computer ScientistRaspberry Pi Foundation via FutureLearn Using Effcient Sorting Algorithms in Java to Arrange Tax Data
Coursera Project Network via Coursera Using Efficient Sorting Algorithms in Java to Arrange Tax Data
Coursera Project Network via Coursera Searching & Sorting Algorithms
Udemy Understanding Sorting Algorithms
freeCodeCamp