Activity 3.3.3: Performance Comparison of Sorting Algorithms

Activity 3.3.3: Performance Comparison of Sorting Algorithms

Learning Objective:

By completing this activity, students will enhance their understanding of sorting algorithms and algorithm performance by implementing and testing Bubble Sort and Merge Sort with the guidance of ChatGPT.

Instructions:

  • Implement Bubble Sort and Merge Sort in Python with the support of ChatGPT.
  • Test both sorting algorithms on randomly generated lists to ensure they work correctly.
  • Use ChatGPT to analyze and compare the performance of Bubble Sort and Merge Sort.
  • Discuss the time complexity and efficiency of both algorithms based on your results.
  • After completing your comparisons, assist your peers if they need help.
  • Post a screenshot of your code, results, and performance analysis in the discussion forum.

List of discussions. Showing 1 of 1 discussions
Status Discussion Started by Last post Replies Actions
Picture of Paul Pu
Paul Pu
0