Lesson 2: Basic Structure

Cards (4)

  • Sequence – a process is executed from one to another in a straight forward manner.
  • Selection (if-then-else) – a choice is provided between two alternatives.
  • Repetition (Looping) - A loop structure is used to execute a certain set of actions for a predefined number of times or until a particular condition is satisfied.
  • Algorithm - a process or set of rules to be followed in calculations or other problem-solving operations, especially by a computer. It is a step by-step instructions that accomplish a task