Students can choose teammates from a list of other students in your section when working together (pair programming) on Code.org. Teachers can track both team progress and individual student progress.
To turn on pair programming for a section of yours:
- visit your list of sections on your homepage (studio.code.org/home)
- click the down-facing arrow to the far right of a section you want to add pair programming in
- choose 'edit section details'
- on the next screen, you'll see an on/off option for pair programming
We published a blog post with more background and a brief walkthrough (via pictures and animated .gifs) on pair programming here:
Students will need to be in the same section for them to select partners for pair programming. All sections (regardless of its assigned course) by default support pair programming - either word/picture-based, or email-based.
Note that any pairing of students is not permanent by any means. Students will be un-paired upon signing out of Code.org every time, and can choose different partners upon signing in again.
For word- or picture-based sections, students will see a checkbox option upon first visiting their section's join page (studio.code.org/sections/ABCDEF for example).
For email-based sections, students can find an option for selecting a partner upon clicking their name in the top-right corner where it reads "Hi [your name]", and selecting 'pair programming.'
A student that selects other partners will be labeled as the 'logged in' person within your 'view progress' page when reviewing their progress, while other partnered students will read as 'partner'. 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.
Disabling Pair Programming
Teachers can disable pair programming for any section of theirs, by clicking the gear icon on the far right side of your list of sections (on your teacher homepage, at studio.code.org/home), to bring up "edit section details", which will show various settings for that section you can turn on/off.
Viewing Partner's Progress
Partnered students can also view the solution made by the logged in student. Partners will see a yellow box upon first visiting a puzzle that was completed by their logged in partner, showing an option for viewing the solution they made as a team.
Live Collaboration and what Pair Programming isn't
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, and 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.