[McMaster]   [Linguistics & Languages]   [Psychology]   [CS]  

Introduction to Presentation Workshop


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.




Course Information

Time: Wednesdays 2-4pm
Place: Psychology first-floor computer lab
Who: Anyone interested -- undergraduate, graduate, faculty, etc.


Lecture Notes

Day 1: Overview and Foundations (PDF)
Presentation Introduction: An older tutorial we have distributed in our lab (PDF)
Presentation Introduction Code (PDF)


Exercises


Session 1
Foundations and Magic 8-ball Project (PDF)

Code:
helloworld_term.sce
foundations_variables_term.sce
foundations_ifs_term.sce
foundations_loops_term.sce
magic_8ball_v1.sce
magic_8ball_v2.sce
magic_8ball_v3.sce
magic_8ball_v4.sce

helloworld_trial.sce

Note: (Updated to reflect arrays being indexed from 1 instead of 0 -- July 08/5pm)
Session 2
Arrays, Files, and a First Experiment (PDF)

Code:
magic_8ball_v4a.sce
magic_8ball_v5.sce
8ball_stimuli.txt
magic_8ball_v5_answer.sce
magic_8ball_v6.sce
magic_8ball_v7.sce
magic_8ball_v8.sce
magic_8ball_v9.sce
magic_8ball_v10.sce
magic_8ball_v11.sce
concept_stimuli.txt

helloworld_trial_v1.sce
helloworld_trial_v2.sce

save_8ball_data.sce

Session 3
Saving Files, Measuring Time, and Extensions (PDF)

Code:
magic_8ball_v11_answer.sce
testexperiment_v1.sce
testexperiment_v2.sce
testexperiment_v3.sce
testexperiment_v3_answer.sce
testexperiment_v4_answer.sce
testexperiment_v5.sce


Sample Experiments

psychometric_v1.sce
defcon3_pv_wm.zip
defcon4_pv_wm.zip
defcon5_pv_wm.zip