Mini-Project:

Vocab Notecards

19

Video Tutorial

UI Layout

Create an app with these components:

  • Label for term
  • Button for visibility
  • Label for definition
  • Buttons for changing terms

Make sure the components are named correctly.

Create Parallel List Variables

Term with matching definitions, in separate but parallel lists, are:

  • Sequence: a set of instructions or statements executed in order, usually from top to bottom
  • Iteration: a structure that repeats one or more instructions: loop
  • Selection: a conditional instruction that lets the program branch between two or more alternatives: if-then-else

When starting the app, make sure the index is set to be on the first term, and then display the terms correctly.


Toggle the definition on/off.

Navigate to different terms, while making sure the index is not out of bounds.

Requirements

  1. Pick a theme/class, i.e. biology or calculus, and create a vocab notecard app with at least 9 terms.
  2. Must have a better UI than TClark's
  3. Add one enhancement besides just pretty UI: think of how you study vocabulary and add features from notecards to your app

Show TClark your completed app, then turn in all the files in the form.