程式編寫學習系列(3) – 民族舞教排序(sorting)您見過未?

基本程式編寫中,最經典的是教導排序(sorting algorithmW),iGardener老師以前用了不少教學活動和比喻來介紹不同種類的排序方法,例如:

  • Bubble sort
  • Selection sort
  • Insertion sort
  • Shell sort

收到海馬科普工作室(www.hkbiology.net)兄弟谷的電郵推介,想不到,羅馬利亞的Sapientia UniversityW更具創意,拍了幾段影片,透過民族舞介紹排序,他們的YouTubeW頻道叫AlgoRythmicsFacebookW page亦是同名AlgoRythmics,推薦老師可以在課堂介紹:

Bubble Sort:

Insertion Sort:

Selection Sort: