Home›Lesson Plans›Computer Science›Collaboration · Grade 8

Pair Programming & Collaboration

Eighth graders learn to code together using pair programming — one partner "drives" (types) while the other "navigates" (guides), then they swap. Good collaboration means listening, explaining, and sharing credit. They sort good teamwork from poor, then pair up to code.

Grade 8Pair Programming & Collaboration50 minutes1 class periodCSTA / ISTEExplicit teaching4 StandardsCSTA
Start the Lesson
Assign or share this lesson

Copy link works with Canvas, Schoology, Moodle and any other LMS — paste it in as a resource or assignment.

Lesson at a Glance

Everything you need before the bell rings

Learning Objectives

Students will be able to…

  • ✓Use pair programming.
  • ✓Swap driver & navigator.
  • ✓Communicate & share credit.
  • ✓Collaborate well.
Essential Question

How do programmers work well together on the same code?

0
Lesson Phases
0
Vocabulary Terms
0
Standards Aligned
0
Interactive Task
Sort It · Interactive

Good Collaboration, or Poor?

Project this and sort each into Good collaboration or Poor.

🤝 Sort each — good collaboration, or poor?Try it
🤝 Good collaboration
👎 Poor
Tap one, then tap a box.
The Lesson · Explicit teaching

50 minutes, five moves

Tap any phase to open the teacher moves and student actions.

1

Hook — Two at One Keyboard

5 min

How can two people code at ONE computer without chaos?

👩‍🏫 Teacher Moves

  • Pose the question.
  • Share ideas.
  • Set the goal.

🎒 Student Actions

  • Think.
  • Share.
  • Get ready.
2

Use — Pair Programming

12 min

Students learn.

👩‍🏫 Teacher Moves

  • Send students to Good Collaboration or Poor?
  • Sort each one.
  • Note driver & navigator.

🎒 Student Actions

  • Sort.
  • Say.
  • Note it.
3

Modify — Practice

13 min

Students practice.

👩‍🏫 Teacher Moves

  • Pick driver & navigator roles.
  • Navigator guides, driver types.
  • Swap roles.

🎒 Student Actions

  • Roles.
  • Guide.
  • Swap.
4

Create — Create

15 min

Students apply.

👩‍🏫 Teacher Moves

  • Pair-program a small task.
  • Explain your thinking.
  • Share the credit.

🎒 Student Actions

  • Pair.
  • Explain.
  • Share.
5

Reflect — Reflect

5 min

Students close.

👩‍🏫 Teacher Moves

  • What is pair programming?
  • Name a good-teamwork move.
  • Complete the exit ticket.

🎒 Student Actions

  • Say it.
  • Name one.
  • Complete the exit ticket.
Standards Alignment

Built to the standards you report on

Aligned to the CSTA K-12 Computer Science Standards and the ISTE Standards for Students.

CSTA
2-AP-18

Distribute tasks and collaborate (pair programming).

CSTA
2-AP-16

Incorporate and build on others’ work.

CSTA
2-AP-23

Document and communicate in teams.

ISTE
7c

Contribute constructively to teams.

Differentiation

One lesson, every learner

Multilingual Learners

ELL / EMERGING READERS
  • Good/poor teamwork cards.
  • Frame: "the navigator ___."
  • Model roles.

Support & Access

IEP / 504
  • Sort good vs poor only.
  • Use 4 behaviors.
  • Try a short pairing.

Stretch & Extend

GIFTED / EARLY FINISHERS
  • Give a code review.
  • Rotate in a trio.
  • Set team norms.
Materials

What to gather

  • 📽️Screen / board
  • 🤝Teamwork cards
  • 💻Good Collaboration or Poor?
  • 💻Shared computers
  • 📓Notebooks
  • 🎫Exit-ticket slips
Vocabulary

Key terms — hover for a quick definition

pair programmingtwo coding at one computerdriverthe partner who typesnavigatorthe partner who guidescollaborationworking together wellcommunicateshare ideas clearlyswaptrade rolescreditrecognizing others’ workcode reviewchecking each other’s code
Evaluate

Exit Ticket

Preview the three formative checks. Tap “Sample answer” to see what mastery looks like — hide them before you print for students.

QUESTION 1
What is pair programming?
Two people coding at one computer, swapping driver and navigator.
QUESTION 2
Name a good-collaboration move.
Share the keyboard, listen, explain, and credit each other.
QUESTION 3
What does the navigator do?
Guides and reviews while the driver types.

Reflect: pair programming & collaboration.

Have students pair-program a small task, swapping roles. A printable roles sheet is in the CS library.

Study · Flashcards

Study the key terms

Tap a card to flip it, then rate whether you knew it. Built from this lesson’s vocabulary.

🃏 Pair Programming & CollaborationFlip
Card 1
Term
Tap to flip →
Meaning
0

Nice work!

Practice · Quiz

Check your understanding

A quick self-check with instant feedback, drawn from this lesson’s key terms.

📝 Pair Programming & CollaborationQuiz
Score: 0
1 / 6
Question 1
0%

Nice work!

Practice · Worksheet

Printable worksheet

A print-and-go review sheet with a built-in answer key. Tap “Show answer key” to reveal answers, or print the clean version for students.

🖨️ Pair Programming & CollaborationPrint
Name: ________________________
Date: ____________

Part A · Write the word that matches each meaning

Word bank: code review, collaboration, communicate, credit, driver, navigator, pair programming, swap
  1. two coding at one computer
  2. checking each other’s code
  3. working together well
  4. trade roles
  5. the partner who types
  6. share ideas clearly
  7. the partner who guides
  8. recognizing others’ work

Part B · Show what you learned

  1. What is pair programming?
  2. Name a good-collaboration move.
  3. What does the navigator do?
Answer key — Part A: 1) pair programming · 2) code review · 3) collaboration · 4) swap · 5) driver · 6) communicate · 7) navigator · 8) credit
Part B: 1) Two people coding at one computer, swapping driver and navigator. 2) Share the keyboard, listen, explain, and credit each other. 3) Guides and reviews while the driver types.