Lab 11
In each group, pairs of 2 students will be formed. If the number of students is odd, there will also be a group of 3 students, with the rest being in pairs.
Within each group, the following tasks will be performed:
- Each student will write a template-based sorting algorithm that takes as a parameter a list of elements of the template type.
- Within this algorithm, 5 logic/functionality errors will be intentionally introduced.
- After completing this algorithm, each student will provide their code to their groupmate. If there is a group of 3 people (A, B, and C), then A gives their code to B, B gives their code to C, and C gives their code to A.
- Each student will write a main function that tests the code received from their groupmate. The main function should, upon execution, find the 5 intentionally introduced errors.
ATTENTION - the errors are secret (known ONLY to the person who introduced them in the code) and should not be communicated - the idea is to simulate a testing system that actually identifies these errors!