> For the complete documentation index, see [llms.txt](https://hyfbe.gitbook.io/teacher-curriculum/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hyfbe.gitbook.io/teacher-curriculum/exercises/pair-programming.md).

# Pair programming

Peer programming is about two students working together to solve some programming problem

* [Template Exercise](/teacher-curriculum/exercises/pair-programming.md#template-exercise)
  * [Learning objectives](/teacher-curriculum/exercises/pair-programming.md#learning-objectives)
  * [Exercises](/teacher-curriculum/exercises/pair-programming.md#exercises)
  * [Learning Paths](/teacher-curriculum/exercises/pair-programming.md#learning-paths)

## Learning objectives

* Learn and describe what pair programming is
* Be able to plan and execute a pair programming session

## Exercises

* In what situations do you think pair programming works well?
* When would you not use pair programming?
* Write a plan for a pair programming session
  * What problem should the students work on
  * How do you set up the students
  * How will you physically run the session?

## Learning Paths

* [Teaching the class](/teacher-curriculum/learning-paths/teaching-the-class.md)
