spatial skills and navigation of source code
Learning to program is a difficult process, and students that perform well in other subjects may not produce comparable results in programming. Evidence suggests that some programmers are inherently more skilled than others, and one individual difference that has been shown to be important is spatial ability. This cognitive characteristic is implicated in successful real-world navigation. It is also important for navigating within hypertext, and there is a growing recognition that it has a part to play in program comprehension and development, with navigation of source code considered similar to navigating in the real world. Little research has been carried out to study the navigational patterns of programmers with differing spatial skills. In this study, 24 students enrolled on a Masters in IT course at a University in the UK were given a code comprehension exercise. Various measures were made of time taken and movement around the code. Those with high spatial ability completed the task in shorter time, spent less time searching around deciding where to go next, and jumped more frequently within and between class files. Strong relations were also found between spatial ability and results in programming modules, with much weaker relations with non-programming modules. This paper discusses the implications of these results in relation to the accessibility of programming to learners with low spatial ability.
spatial skills navigation of source code education programming ability