Main content
Resources
Course: Resources > Unit 1
Lesson 4: Computer programming teachers- Programming content overview
- Tracking progress of programming students
- Classroom debugging guide
- Pair programming in the classroom
- Teaching guide: Intro to JS - Drawing Basics
- Teaching guide: Intro to JS - Coloring
- Teaching guide: Intro to JS - Variables
- Teaching guide: Intro to JS - Animation basics
- Teaching guide: Intro to JS - Interactive Programs
- Teaching guide: Intro to JS - Resizing with variable expressions
- Teaching guide: Intro to JS - Text and strings
- Teaching guide: Intro to JS - Functions
- Teaching guide: Intro to JS - Logic and if statements
- Teaching guide: Intro to JS - Looping
- Teaching guide: Intro to JS - Arrays
- Teaching guide: Intro to JS - Objects
- Teaching guide: Intro to JS - Object-oriented design
- Programming classroom handouts
- Additional programming projects
- Lesson plans: teaching programming in the classroom
- Programming case study: Encouraging cross-disciplinary projects
- Programming case study: Going beyond the KA curriculum
- Programming case study: Teaching an elementary school class
© 2023 Khan AcademyTerms of usePrivacy PolicyCookie Notice
Pair programming in the classroom
One of the things that we firmly believe in is the value of collaboration and learning from each other, especially when programming. "Pair programming" is one practice that promotes that, and is increasingly popular both in the industry and in coding academies, and if you have a classroom, then it's a practice you can introduce into yours!
In pair programming at its simplest, a pair of students will work together on a programming assignment. However, if you just tell your students to "pair", you may find that one person does all the work, or they yell at each other, or just don't end up learning from each other. So it's useful to actually formally introduce pair programming and do it in a more structured way. Here's our recommendation:
- If you can, it can really help if you actually have "pairing stations." Those are desks with two monitors and two keyboards, but the keyboards both control the same monitor. That makes it impossible for students to accidentally start working on their own computer. Assuming pairing stations aren't in the budget, then you can approximate them by shutting every other monitor off.
- On the first day that you introduce pair programming, talk about what it is and why we do it. You can use this slideset if you'd like.
- Either pre-select the pairs or ask students to form pairs. It might be better to pre-select, so you don't end up with a pair of two students that are at too low of a level together. Get the pairs to sit at a station. To make sure they bond and feel like a team, give them 10 minutes to come up with a team name and team chant. Have each team introduce themselves to the rest of the classroom.
- Begin pairing! Start a timer so that you can yell "Switch!" after some amount of minutes, to make sure the pairs actually alternate.
- Either continue with the same pairs for the rest of the class or switch them for every project. Some pairs work better than others, so pay attention to whether there are problem pairs that need changing up.
Here are additional resources that can help you introduce pair programming:
Have your own ideas? Share them below!
Want to join the conversation?
- Resources:
ETR: Guide to pair programming and ETR: Pair Programming lesson plans links are down.
I found them here:
http://www.etr.org/youthandit/resources.html(4 votes)