This workshop is designed to serve as a brief introduction to programming in general, and programming psychology experiments specifically, for students of Psychology, Linguistic Cognitive Science, and other interested students with little formal background in computer programming. This course focuses on the foundations of programming including variables, conditionals, loops, nesting, and subroutines, and how these can be used to create simple experiments for cognitive psychologists. Although it discusses some aspects of the application of programming in general, the applications are largely towards the domain of cognitive psychology. The Presentation Workshop is a lab or "how-to" workshop, and is largely based on supervised exercises that you can work through at your own pace.
Time: Wednesdays 2-4pm
Place: Psychology first-floor computer lab
Who: Anyone interested -- undergraduate, graduate, faculty, etc.
Day 1: Overview and Foundations (PDF)
Presentation Introduction: An older tutorial we have distributed in our lab (PDF)
Presentation Introduction Code (PDF)
Foundations and Magic 8-ball Project (PDF)Session 2
Note: (Updated to reflect arrays being indexed from 1 instead of 0 -- July 08/5pm)
Arrays, Files, and a First Experiment (PDF)Session 3
Saving Files, Measuring Time, and Extensions (PDF)