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.

Danh sách các cuộc thảo luận. Đang hiển thị 1 của 1 cuộc thảo luận
Trạng thái Thảo luận Người khởi tạo Bài viết gần đây nhất Phúc đáp Các thao tác
Hình của Paul Pu
Paul Pu
0