There are three loops in Pascal:

  • Pretest: It tests a Boolean expression and then goes into a loop if true.
  • Posttest: It executes the loop and then tests the Boolean expression.
  • Fixed Repetition: It repeats a fixed number of items.
BY Best Interview Question ON 14 Jan 2019