Back

Activity 3.3: The Create Task — The Build

divider

Sessions 51–59

Nine sessions. Your plan is approved. Build it.

From session 51 your teacher cannot give you feedback on your program, your plan or your writing. That is a College Board rule about the task, not a choice, and it lasts until all three parts are submitted as final at session 61.

The whole list
WHAT YOUR TEACHER CAN DO, SESSIONS 51-61
fix a computer that will not work
sort out the network
help you save or find a file
show you how to export a PDF
tell you a deadline
WHAT YOUR TEACHER CANNOT DO
everything else

You may still work with other students on your program code: ideas, building, debugging, testing. Not on your video, and not on your Project Reference.

divider

Activity 3.3

The Create Task — The Build

Key Concepts

The Daily Routine

Auditing Yourself

Getting Unstuck Without Help

Today the Room Changes

It looks the same, and you build the same way. But your teacher stops answering questions about your program.

Ask anyway if you like; the answer will be “I cannot say.” This page is what you use instead.

The Daily Routine

Every session
START OF EVERY SESSION three minutes, before you type
read your journal line
run the program
END OF EVERY SESSION one minute, before you leave
write the journal line

The Daily Routine

Running the program first is the half people skip, and it is the half that catches the bug you made in the last five minutes of the previous session and never saw.

The journal line is 40 points, graded on whether it is there, never on whether it is good, because judging it would be feedback.

What Goes in the Journal

One entry
SESSION 53
Did: the loop inside PickFor() works for 3 tags
Middle of: it crashes when the tag array is empty
Decided: an empty array prints "nothing found" instead
of crashing -- simpler for the user
Next: the if inside the method

Four lines. Sixty seconds.

What Goes in the Journal

The Decided line is where Written Response 1 comes from: name an expected user, and describe one way your design meets their needs.

You are writing that answer now, one line at a time, while you still remember why you made each choice.

Session 54: Audit Yourself

At Build 2 requirement 4 was checked for everybody. This time nobody is coming. The self-audit is on your plan at session 54.

Adding a loop to a method at session 54 is an afternoon's work. At session 58 it is a rewrite you do not have time for.

When You Are Stuck

You will be stuck, probably at least twice, and nobody can get you out. So here is the list you use instead.

When You Are Stuck

The list
WHEN YOU ARE STUCK AND NOBODY CAN HELP
1 Read your journal from last session.
2 Say the bug out loud to another student.
They are allowed to help you with code.
3 Put a Console.WriteLine above the line that
misbehaves. Then one below it.
4 Make the smallest version that still breaks.
5 Check the edge. It is usually the edge.
6 Go to your plan. Cut the thing you said
you would cut.

Number 6 Is Not Failure

You named your first cut at session 50, when it was cheap to decide. Cutting it is the plan working.

A finished smaller program scores. An unfinished bigger one does not.

Two Sessions You Cannot Spend Building

Session 60 is the Project Reference. Session 61 is the video and submission.

Run your three test inputs at session 59, before the video. If you are still writing features at 59, you have already lost them.

Today's Objectives

  • Working productively without feedback on the task
  • Keeping a development journal of design decisions
  • Auditing your own method against requirement 4
  • Using a step-by-step process to get unstuck
  • Testing against inputs decided in advance

Key Terms

Development journal
A record of design choices and their effect on how the program works.
Incremental development
Each piece works before the next is added. Your nine-line plan.
Iterative development
Going back and revising an earlier decision because testing told you to.

'F' → Fullscreen

divider

The Daily Routine

WhenHow longWhat
Start3 minRead your last journal line. Run the program. Do not type until you have done both.
End1 minWrite the journal line, before you leave the room.
divider

Session 54: The Self-Audit

Requirement 4, checked by you
Run this on YOURSELF at session 54. Nobody is coming.
Put a finger on your method's opening brace.
Put a finger on its closing brace.
Between those two fingers, is there:
a statement that just runs .......... yes / no
a loop .............................. yes / no
an if ............................... yes / no
Three yes? You have requirement 4.
Fewer? You have five sessions to fix it.
At session 58 you will not.

The honest answer is the only useful one. Writing yes three times because you would like it to be true costs you a point in May.

And While You Are There

  • Is the loop inside your method the first loop in it? That is the one Written Response 2(a) asks about.
  • Does your array have more than one element, and does something read more than one of them? A one-element array loses a point on its own.
  • Does your parameter change what the method does? Change one argument at one call and watch.
divider

Getting Unstuck

The list
WHEN YOU ARE STUCK AND NOBODY CAN HELP
1 Read your journal from last session.
2 Say the bug out loud to another student.
They are allowed to help you with code.
3 Put a Console.WriteLine above the line that
misbehaves. Then one below it.
4 Make the smallest version that still breaks.
5 Check the edge. It is usually the edge.
6 Go to your plan. Cut the thing you said
you would cut.

Step 2 is the one to use first. Working together on program code is allowed, and explaining a bug out loud to another person solves it more often than anything else on the list.

Step 4 works when step 2 does not. Copy the broken part into a new file and delete everything that is not needed to make it break. What is left is the bug.

divider

By the End of Session 59

  • A program that runs and meets all six requirements
  • Nine journal entries, one per session
  • Your three test inputs run, with what each produced
  • The session 54 self-audit, answered honestly

Sessions 60 and 61 are not building sessions. Whatever the program does at the end of session 59 is what you submit.

Build