How many teachers are impressed when a 14 year old boy demonstrates the ability to use a screwdriver? Ahmed certainly knew the answer: NONE.
It was a hoax bomb. There was no other reason for him to take the clock to school.
The real reason was so his agitator muzzie father could grandstand to the media and then try to run for office in whatever African hellhole he ended up trying to do so in (which he lost)