The coding puzzle

1234567
Across
  1. 2. a piece of code that keeps going over and over again
  2. 5. making the code
  3. 6. repeating code a certain amount of time
Down
  1. 1. a set of commands that must be followed for a computer
  2. 3. an error or an unexpected problem
  3. 4. letters and numbers in a computer
  4. 7. an action or occurrence recognized by software