You are on page 1of 4

V

viewpoints

doi:10.1145/1378704.1378713 Mark Guzdial

Education
Paving the Way for
Computational Thinking
Drawing on methods from diverse disciplines—including computer science,
education, sociology, and psychology—to improve computing education.

T
eaching everyone on cam- may require different approaches than will they find challenging, what kinds
pus to program is a noble those we use when we can assume our of tools can make computational think-
goal, put forth by Alan Per- students want to become computing ing most easily accessible to them, and
lis in 1962. Perlis, who was professionals. Developing approaches how should we organize and structure
awarded the first ACM A.M. that will work for all students will re- our classes to make computing acces-
Turing Award, said that everyone quire us to answer difficult questions sible to the broad range of students.
should learn to program as part of a like what do non-computing students Through a few brief examples, I
liberal education. He argued that pro- understand about computing, what will show in this column how these
gramming was an exploration of pro-
cess, a topic that concerned everyone,
and that the automated execution of
process by machine was going to
change everything. He saw program-
ming as a step toward understand-
ing a “theory of computation,” which
would lead to students recasting their
understanding of a wide variety of top-
ics (such as calculus and economics)
in terms of computation.4
Today, we know that Perlis was pre-
scient—the automated execution of
process is changing how profession-
als of all disciplines think about their
work. As Jeanette Wing has pointed
out, the metaphors and structures of
computing are influencing all areas of
science and engineering.6 Computing
professionals and educators have the
responsibility to make computation
available to thinkers of all disciplines.
ILLUSTRATION BY CH RISTOPH ER SIL AS NEA L

Part of that responsibility will be


met through formal education. While
a professional in another field may be
able to use an application with little
training, the metaphors and ways of
thinking about computing must be
explicitly taught. To teach computa-
tional thinking to everyone on campus

au g u st 2 0 0 8 | vo l. 51 | n o. 8 | c om m u n ic at io ns of the acm 25

1_CACM_V51.8.indb 25 7/21/08 10:12:49 AM


viewpoints
DL_one-third_page_4C:Layout 1 6/26/08 4:05 PM Page 1

questions are being addressed by re- surprising that he gave a second set of
searchers in the field of computing participants an example task descrip-
education research. Researchers in tion, without looping and no ELSE
computing education draw on both specification. The second set of par-
computer science and education— ticipants easily executed the task de-
ACM Digital Library neither field alone is sufficient. While
we computer scientists understand
scription. When asked what they were
doing if the condition was not met, or
w w w. a cm .org/ dl computing from a practical, rational, if data was exhausted, they replied (al-
and theoretical perspective, ques- most unanimously, Miller reports), “Of
tions about education are inherently course, you just check the next person,
human questions. Humans are often or if there are no more, you just go on.”
impractical, irrational, and difficult Miller’s results predict some of the
to make predictions or proofs about. challenges in learning to program—
Computing education researchers are challenges that are well-known to
using experimentation and design to teachers of introductory classes today.
demonstrate we can address impor- While process descriptions by novices
tant questions about how humans tend not to specify what to do under
come to understand computing, and every condition, computers require
how we can make it better. Research that specificity. Miller’s results suggest
in computing education will pave the what kinds of programming languages
The UltimateOnline way to make “computational think-
ing” a 21st century literacy that we can
might be easier for novices. Program-
ming languages like APL and MATLAB,
INFORMATION TECHNOLOGY share across the campus. and programming tools for children
Resource! like Squeak’s eToys use implicit loop-
Understanding Computing ing, as did the participants in Miller’s
Before Programming studies.
• NEW! Author Profile Pages A research theme in the early 1980s Twenty years later, John Pane and
• Improved Search Capabilities was how to design programming lan- his colleagues at Carnegie Mellon Uni-
• Over 40 ACM publications, plus guages so they would be more like nat- versity revisited Miller’s questions,
conference proceedings ural languages. An obvious question, in new contexts.3 In one experiment,
• 50+ years of archives then, is how people specify processes Pane showed his subjects situations
• Advanced searching capabilities in natural language. Lance A. Miller and processes that occur in a Pacman
• Over 2 million pages of asked his study participants to specify game, then asked how they would spec-
downloadable text file manipulation tasks for another ify them. The subjects responded with
person. A task might be “Make a list of explanations like, “When Pacman gets
employees who have a job title of pho- all the dots, he goes to the next level.”
Plus over one million tographer and who are rated superior, Like Miller, Pane found that partici-
bibliographic citations are given these paper files.” Miller studied pants rarely used explicit looping and
the language used in his participants’ always used one-sided conditionals.
available in the ACM Guide descriptions.2 Pane went further, to characterize the
to Computing Literature One of Miller’s surprises was how style of programming that the partici-
rarely his participants explicitly speci- pants used. He found that over half
fied any kind of control flow. There of the participants’ task statements
To join ACM and/or subscribe to was almost no explicit looping in any were in the form of production rules,
the Digital Library, contact ACM: of their task descriptions. While some as in the example. He also saw the use
Phone: 1.800.342.6626 (U.S. & Canada) tested conditions (“IF”), none ever of constraints and imperative state-
+1.212.626.0500 (Global) specified an “ELSE.” He found this so ments, but little evidence of object-ori-
Fax: +1.212.944.1318 ented thinking. Participants did talk
Hours: 8:30 a.m.-4:30 p.m., EST Figure 1: Traditional conditional structure. about accessing behaviors built into
Email: acmhelp@acm.org an entity, but rarely from the perspec-
if (value < 10)
Join URL: www.acm.org/joinacm tive of that entity; instead, it was from
then value = value + 10;
else sum = sum + value; the perspective of the player or the
Mail: ACM Member Services
General Post Office end if programmer. He found no evidence of
PO Box 30777 participants describing categories of
New York, NY 10087-0777 USA entities (defining classes), inheritance,
Figure 2: New conditional structure. or polymorphism.
Pane’s results suggest that object-
if (value < 10): value = value + 10;
not (value < 10): sum = sum + value; oriented thinking is not “natural,” in
end (value < 10) the sense of being characteristic of
novices’ task descriptions. Since ob-

26 co mm unicatio ns o f t h e ac m | au gu st 2008 | vo l . 51 | n o. 8

1_CACM_V51.8.indb 26 7/21/08 10:12:49 AM


viewpoints

jects are the foundation of most mod- have found a home in the International
ern software today, his results point out Computing Education Research (ICER)
where we can expect to find challenges Research in workshop (whose fourth annual meet-
in explaining objects to students. Both computing ing will be held this September in Syd-
Miller’s and Pane’s results encourage ney, Australia; see www.newcastle.edu.
us to think how we might design lan- education will pave au/conference/icer2008/) and in jour-
guages for novices that play to their the way to make nals like Computer Science Education
natural ways of thinking about specify- and Journal on Educational Resources
ing computation, like the use of event- “computational in Computing.
based programming in MIT’s Scratch. thinking” a 21st Computing education research
In the last four years, a multination- draws on a variety of disciplines to
al group of researchers has explored century literacy that make computing education better. So-
“Commonsense Computing”: what we can share across cial scientists like Jane Margolis, Lecia
do our students know before we teach Barker, and Carsten Schulte help us to
them? Given a complex task, how do the campus. understand how students experience
people without programming knowl- our classes (which often differs from
edge specify an algorithm for that task? what we might expect as teachers)
In one paper, Lewandowski et al.1 ex- and how we can change our classes to
plore concurrency—in a complex task make them more successful for all stu-
of multiple box offices selling tickets dents. Computing education research-
for a theater, how well do non-program- for the execution of each clause of the ers draw on methods from education,
ming students avoid selling the same condition. Green and his colleagues sociology, and psychology in order to
seat twice? The results showed that 97 found that novices were able to cor- measure learning about computing
solutions (69% of the total, drawn from rect mistakes using the second form 10 and understand the factors that influ-
five institutions) were correct; only 31% times faster than programs using the ence that learning. By making comput-
of the solutions (45% of the correct so- first form. ing education better, we can broaden
lutions) were distributed, so teachers Miller and Pane found that their access to computing ideas and ca-
of algorithms classes need not worry participants simply never used an else pabilities. When we can teach every
about being put out of business. Non- clause. Instead, it seemed obvious (“of student programming and the theory
computing students do not naturally course”) what to do when the tested of computation in a way that makes
come up with the elegant solutions condition wasn’t true. Miller’s and sense to them for their discipline, we
that computer scientists have devised. Pane’s subjects were doing something will see how ubiquitous understanding
However, these results suggest that different than Green’s. Writing a task of computing will advance the entire
students can “naturally” think about description is different than reading academy, just as Perlis predicted over
concurrency correctly. Problems with and fixing a task description. Green’s 45 years ago.
implementing concurrent programs results complement Miller’s and
might stem more from the challenges Pane’s. Novices do not naturally write
References
in specifying those algorithms in cur- the else clause—they think it’s obvi- 1. Lewandowski, G. et al. Commonsense computing
rent programming languages, rather ous what to do if the test fails. How- (episode 3): Concurrency and concert tickets. In
Proceedings of theThird International Workshop on
than from the complexity of the algo- ever, conditionals in programs are not Computing Education Research (2007), 133–144.
2. Miller, L.A. Natural language programming: Styles,
rithms themselves. always obvious, and it’s easier for the strategies, and contrasts. IBM Systems Journal 29, 2
novices trying to read those programs (1981), 184–215.
3. Pane, J.F., Ratanamahatana, C., and Myers, B.A.
Redesigning if the conditions for each clause’s ex- Studying the language and structure in non-
Programming Languages ecution are explicit. programmers’ solutions to programming problems.
International Journal of Human-Computer Studies 54
Both Pane’s and Miller’s results make (2001), 237–264.
suggestions about the design of pro- Paving the Way for 4. Perlis, A. The computer in the university. In M.
Greenberger, Ed., Computers and the World of the
gramming languages if the goal is to “Computational Thinking” For All Future, MIT Press, Cambridge, MA, 1962, 180–219.
make computational ideas more acces- To make “computational thinking” ac- 5. Sime, M.E., Arblaster, A.T., and Green, T.R.G.
Structuring the programmer’s task. Journal of
sible to novices. Testing new forms of cessible to students across the entire Occupational Psychology 50 (1977), 205–216.
programming languages was an area campus, we need to understand how 6. Wing, J. Computational thinking. Commun. ACM 49,
3 (Mar. 2006), 33–35.
of active exploration by Thomas R.G. to teach computing better. Computing
Green, Elliot Soloway, and others. education researchers explore how hu-
Mark Guzdial (guzdial@cc.gatech.edu) is a professor
In one paper, Green and his col- mans come to understand computing, in the College of Computing at Georgia Institute of
leagues explored alternatives to the and how to improve that understand- Technology in Atlanta, GA.

traditional conditional structure.5 A ing. Computing education research is a


The Communications “Education” column will feature
typical structure might look like the close cousin to human-computer inter- commentary on education issues, presenting research
structure shown in Figure 1. They test- action, since HCI researchers explore results and opinions that inform how the challenges of
computing education can be best addressed.
ed a new structure where this would be how humans interact with computing
written as shown in Figure 2. This new and how to improve that interaction.
structure makes explicit the condition Computing education researchers © 2008 ACM 0001-0782/08/0800 $5.00

au g u st 2 0 0 8 | vo l. 51 | n o. 8 | c om m u n ic at io ns of the acm 27

1_CACM_V51.8.indb 27 7/21/08 10:12:49 AM

You might also like