{"id":3849,"date":"2010-09-28t07:00:12","date_gmt":"2010-09-28t12:00:12","guid":{"rendered":"\/\/www.imrbdigital.com\/?p=3849"},"modified":"2010-09-28t12:05:02","modified_gmt":"2010-09-28t17:05:02","slug":"3849","status":"publish","type":"post","link":"\/\/www.imrbdigital.com\/2010\/09\/3849\/","title":{"rendered":"how novice programmers learn to code: a teaching-as-research project"},"content":{"rendered":"
<\/a>this is a guest post by jonathan wellons, graduate student in computer science and participant in our teaching-as-research fellows program<\/a> in 2009.<\/em> thanks to jonathan for sharing his experiences in the program. we welcome contributions to the cft blog by others in the vanderbilt teaching community!<\/em><\/p>\n most computer scientists either remember how frustrating their first programming class was, or they\u2019ve blocked it out. even if we do forget our own struggles, we can’t ignore the feelings of numerous students who come to our office hours, drop the class or leave their expected major. studies have found that worldwide, barriers to learning the basics of programming lead to attrition from the major or students graduating without essential skills (mccracken et al. 2001<\/a>; and truong, bancroft, & roe, 2003<\/a>). learning to program is a new kind of learning for many students: on one hand they must memorize arcane keywords with inflexible syntax, and on the other they must algorithmically break problems down into tiny chunks which match the keywords. and if they leave out a comma, they’ll get an error message that looks like it was written in martian.<\/p>\n last fall, dr. julie johnson and i felt we needed to find a better way to teach students programming basics. the literature is very sparse and an informal survey of our peers showed that each professor had adopted a different style. so we decided to get a fresh start on this issue. fortunately, we were in the right place at the right time to be part of the teaching-as-research (tar) fellows program funded by the center for the integration of research, teaching and learning (cirtl) at the university of wisconsin.<\/p>\n under the guidance of derek bruff from vanderbilt’s 2022年世界杯中国小组赛积分, we attacked our research problem with qualitative research. we applied a common tool in the social sciences, grounded theory, which works a little like the scientific method in reverse by generating hypotheses from data. grounded theory is particularly well-suited for case like ours where there are no existing theories to work from. rather than impose our own biases in thinking up theories, it directs us to ask open-ended questions.<\/p>\n i interviewed 14 students in an intro class and recorded about 50,000 words of their reflections on their own planning processes, how they adapted and if they were successful. i broke the text down into about 300 codes, belonging to 14 concepts which in turn i grouped into 5 categories. each code reflects a specific thought, goal or experience. concepts roll codes up into groups such as “testing,”<\/p>\n “background,” and “plan adequacy.” similarly, categories bring together like concepts. grounded theory examines the connections between categories to derive hypotheses for further testing. not all of this was natural for me, but fortunately the tar fellows met weekly with derek to share insights, challenges and progress updates. with half a dozen helpful scientific minds there to brainstorm, we started to find and make sense of patterns in the data.<\/p>\n our resulting theories are input for future work of three kinds: drilling down into more specific theories, testing the theories, and enhancing teaching strategies. one of our theories is that novice programmers attempt to adapt problem-solving strategies from other domains, such as mathematics or essay composition. another is that planning by means of pseudocode (writing an intermediate algorithm halfway between english and program code) is achievable for novice programmers. i’d love to see what we can come up to put these theories to the test and to transform them into something that will finally help more students enjoy cs 101.<\/p>\n you can see jonathan’s project poster here<\/a> [ppt]. he and dr. johnson presented their work at the 2010 international multi-conference on engineering and technological innovation. see our tar fellows page<\/a> for more information on that program.<\/em><\/p>\n