Desktop freezing randomly multiple times a day ..... How to know if its the CPU or Motherboard

Is this a repeat of the same problem you were having before: