Skip to main content

Checkpoint: Your First Program

beginner40 min readLesson 5 of 180

From empty file to formatted, running program — the compile-run loop as a finished artifact.

This checkpoint proves you can take a program from nothing to running.

The task — Personal Introduction Program. Print a short, well-formatted introduction of yourself:

  1. A header line: === ABOUT ME ===
  2. At least three fact lines in the form key: value — for example name: Thao, goal: build Android apps, favorite number: 7. The favorite number must come from an int variable; the key names are up to you but every line must contain a colon followed by a space.
  3. A footer line: =================

Format the number with %d (or simple concatenation). The grader checks the header, the footer, that at least three lines contain ": ", and that one of them ends with your favorite number. Everything else is your personality.