2.2.1 Real

Cards (4)

  • There are three basic programming constructs: sequence, selection and iteration
  • Sequence is just two or more statements executed one after the other
  • Selection statements are used to select which statement will be executed next, depending on some condition. Conditions are formulated using relational operators
  • Some programming languages support the use of a switch or case statement, an alternative structure to a nested IF statement