Activity #6

Treasure Hunt

Activity Type: exercise

Discipline: programming

Area: linked lists

To teach the concept of linked lists and access via reference

Time needed (estimate): 20-30 minutes

Develop a small treasure hunt that takes the students through a small part of your campus. Each stop gives them a reference to the next location.

Then explain how the pointers in a linked list are like the set of clues they had, pointing them in the direction of the next node on the list.

Materials needed: a treasure hunt with clues.

Submitted by Dianne Martin, Liz Adams, Christine Mangnall (SIGCSE 97) on Wednesday, August 27, 1997 at 16:11:05 EDT/EST.

After you have tried this activity, you can add feedback on how it worked for you

You can also read the feedback of others who tried this activity

Return to the Activities List