Activity Card - Measure Algorithm Performance

Measure Algorithm Performance

Objective: Students will measure and compare the performance of different algorithms.

Instructions:

  1. Provide algorithms (e.g., linear search vs. binary search).
  2. Students implement the algorithms and measure execution time with large datasets.
  3. Discuss the results and why certain algorithms are faster.

Materials:

Assessment: