You are on page 1of 7

Indian Institute of Technology Bombay

ISTE Main Workshop on Computer Programming


Assignment: Constructing Peer-Instruction Questions
What you did so far
During the Peer-Instruction (PI) session in the workshop, we discussed various types of PeerInstruction questions for a Computer Programming course.
You also attempted to write a PI question for a topic.
Goals of this assignment
In this assignment, you will create PI questions of different types for a topic in your programming course.
0. Choose a typical topic you teach in your programming course and write it in the box below.

Instructions

On each page, you will write a question of a different type. Each question contains brief
guidelines on how to write the question and space for you to write your questions and choices.

Examples for each question are present in the slides used in the workshop session in PeerInstruction. These slides are in the file peer-instruction-iste-programming, uploaded on Moodle.

Blue, italicized text contains instructions for you.

Effective PI questions.
RECALL
An effective peer-instruction question:
Is usually conceptual (avoid long analytic computation)

Elicits pre-existing thinking, students alternate conceptions

An effective PI question asks students to:


Predict results of experiment, or algorithm

Apply ideas in new context

Relates different representations

An effective PI questions contains believable distractors.


An effective PI question is
not ambiguous

not leading

not trivial

1. Type: Counting iterations.


How-to: Show a piece of code that executes iterations, such as a for loop or a while loop. Ask students to
determine how many times the code gets executed, or what the value of a certain variable is when the
loop is exited.
Example: See example on Slide 25 in peer-instruction-iste-programming.
Write the piece of code and the question in the box below.

Write 3-5 choices for the above question.


1.
2.
3.
4.

..
..
..
..

Write in the box below what you consider to be the correct answer and why.

2. Type: What does this code do?


How-to: Show a piece of code. Ask students about the purpose of the code, that is, what it is supposed to
do. Do not ask students to calculate the output. Do not give long programs, keep them under ~10 lines.
Example: See example on Slide 26 in peer-instruction-iste-programming.
Write the piece of code and the question in the box below.

Write 3-5 choices for the above question.


1.
2.
3.
4.

..
..
..
..

Write in the box below what you consider to be the correct answer and why.

3. Type: Predict the output of the code.


How-to: Show a piece of code. Ask students to calculate its output. Make sure that the code is not too
long. Keep it under ~10 lines)
Example: See example on Slide 27 in peer-instruction-iste-programming.
Write the piece of code and the question in the box below.

Write 3-5 choices for the above question.


1.
2.
3.
4.

..
..
..
..

Write in the box below what you consider to be the correct answer and why.

4. Type: What will happen if something is changed?


How-to: Show a piece of code. Suggest a change in the code, for example a function call is changed.
Ask students what will happen to the output if the change happens.
Example: See example on Slide 28 in peer-instruction-iste-programming.
Write the piece of code and the question in the box below.

Write 3-5 choices for the above question.


1.
2.
3.
4.

..
..
..
..

Write in the box below what you consider to be the correct answer and why.

5. Type: Debug the code.


How-to: Show a piece of code. Suggest that a certain error exists in the code (for example a particular
statement was forgotten). Ask students to what will happen to the output if the error existed in the code?
Example: See example on Slide 29 in peer-instruction-iste-programming.
Write the piece of code and the question in the box below.

Write 3-5 choices for the above question.


1.
2.
3.
4.

..
..
..
..

Write in the box below what you consider to be the correct answer and why.

You might also like