Pair programming allows students to work together on programming activities, side-by-side at the same computer. Students can choose teammates from a list of other students in their section when they are ready to pair, and then teachers can track both team progress and individual student progress.
How do I turn pair programming on or off for my students?
You can turn on pair programming for a section of yours via a setting in the Edit Section Details dialog. To find this setting, do the following:
- Visit your Classroom Section list on your homepage (studio.code.org/home)
- Click the gear icon to the far right of the section you want to turn on pair programming for
- Choose 'Edit Section Details'
- On the next screen, you'll see an on/off option for pair programming
All sections (regardless of its assigned course) by default support pair programming - either word/picture-based, or email-based, but you can turn this off when you set up the section or by visiting the Edit Section Details dialog later on.
How do students get paired up with other students?
Students will choose their partners at the beginning of each login section. Students can choose to pair with up to 4 other students in their section.
This pairing process works differently based on the login type that you chose for your section.
Secret Word and Picture Password Sections
For secret word- or picture password-based sections, students will see a checkbox option upon first visiting their section's join page (studio.code.org/sections/ABCDEF for example).
If they check the partner option and hit 'sign in,' they will be given the option to choose a partner.
Personal Email, Google Classroom, and Clever sections
For these section types, students can select a partner once they're signed in by clicking their name in the top-right corner of the page and then selecting 'Pair programming' from the menu that appears:
How can I tell which students are pair programming?
For students
On the student's page, their name will be replaced by 'Team' in the upper, right-hand corner when they are paired.
Clicking the menu will show them who they are pairing with.
Partnered students can also view the solution made by the logged in student in their own account by visiting the level they worked on together. Partners will see a yellow box showing an option for viewing the solution they made as a team.
For teachers
Progress tab: When you view your students' progress in the Progress Tab of the teacher dashboard (learn more), you will see a pairing icon if students were paired when they completed a level.
Looking at student code on an individual level: When you're looking at your students' work on an individual level, you can see which students paired together in the blue teacher panel on the right-hand side of the screen (EX: Bill partnered with Lily).
Any progress made by the logged in person (as in, green bubbles of progress indicated completed puzzles) will reflect upon the partners' sides as well.
Can students pair with people outside of their section?
No - students will need to be in the same section for them to select partners for pair programming.
How can students stop pairing?
Pairing of students is not permanent - Students will be un-paired upon signing out of Code.org every time, and can choose different partners upon signing in again.
If students want to unpair while they are still signed in, they should:
- Click the 'team' + pair programming icon in the upper, right-hand corner of the screen and then click 'Pair Programming' in the menu that appears
- Tap 'Stop Pair Programming' in the dialog
Does pair programming allow my students to do live collaboration with one another while they're on separate machines?
No - Pair programming on Code.org, in its current state, is designed to be used by students sharing one device and working together on one device. It is primarily designed for use in K-5 courses. We don't support live collaboration between students (and/or between teachers) on one single project or puzzle, but hope to add such support in the future.
Paired partners won't be able to see the "driver" student's work until after they finish a given puzzle. If you're a student working on one computer (entering code yourself), and you're paired with a student working on another computer, the paired person won't see your code written in real-time. You'll need to finish the level yourself, and then your paired partner can go back and look to see what code you've written.
If you want two students (or teacher and a student) to be working on one project, and for them to use pair programming, they will need to make sure they are signing into the site at completely separate times (without overlapping), or the person who signs in after the first person will not be able to see the updates made by the first person.
Do both students need to select one another to successfully pair?
Nope! Only one student needs to select another student to pair. The student that makes the selection will be the "driver" account (or, the account that the pair will complete the work on. The student that is selected will not be able to complete work on their account for the level(s) the students are paired on.
Do both students need to de-select one another to successfully un-pair?
Nope! Only one student needs to deselect the other student to unpair. Specifically, the student that initialized the pairing with the other student as the "pair" needs to be the one to stop pairing.
Does pair programming stay "on" across levels for students?
Yes - pair programming will stay on between levels/lessons/units, as long as the teacher does not turn off pair programming for the section or the student who initialized the pairing doesn't sign out.
If two students were accidentally paired at the beginning of a level, and then unpaired - will that level show as paired on the teacher's end?
Yes - if two students started a level in a "paired" state, the icon on the teacher's Progress dashboard will represent that students worked on this level using pair programming. At this time, there is not a way to change this icon after students unpair in a level.
Where can I learn more about pair programming?
- Pair programming resources, produced by the National Center for Women in Information Technology
- Watch these two videos on pair programming and share them with your students (links to YouTube) -