Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Coursera Project Network

Sort students marks using bubble and insertion algorithms

Coursera Project Network via Coursera

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

Reviews

Start your review of Sort students marks using bubble and insertion algorithms

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.