Search:


AP CS PixLab

Instructions

Setup

1

Fork PixLab.

2

Clone the repo into your Eclipse workspace.

3

Grab all of the branches

$ git fetch origin

4

Change to the a1 branch

$ git checkout a1

Activities

Complete the first 3 activities.

Questions

When you see a question answer it in answers.md.
Commit at the end of a section of questions.

Exercises

When you see an exercise follow this 7 step process:

1

Make sure your git status is clean, and you are on the right branch

2

Write the code and/or make the changes described by the exercise.

Include the comments before methods (called doc comments) on any new methods you write. Follow the structure of the method comments already written.

3

Test your code as described by the exercise until it works properly.

4

Remove any unnecessary code

  • No printing, unless told to do so
  • No variables, methods, or code blocks that were only used for debugging
  • Nothing that doesn’t directly contribute to this exercise
  • You can quickly see only your changes:
$ git diff

5

Test your code again one more time

6

Double check that you are on the right branch for the activity you are currently working on

$ git branch

7

Commit. # is the current exercise number.

$ git commit -m "Exercise #"