Option (D) is correct.
Explanation:
A half turn turns every digit upside down and reverses the order of the four digits; the two dots between hours and minutes stay in place.
Upside down, 0, 2, 5 and 8 each look like themselves, 6 becomes 9 and 9 becomes 6. The digit 1 uses the two right-hand bars, so upside down its bars are on the left side of its place: it does not look the same. 3, 4 and 7 do not become digits at all.
For the display to look the same, the minutes must be the turned hour digits in reverse order. The hours that use only 0, 2, 5, 6, 8, 9 are 00, 02, 05, 06, 08, 09, 20 and 22, which need the minutes 00, 20, 50, 90, 80, 60, 02 and 22. Minutes only go up to 59, so the times that work are:
00:00, 02:20, 05:50, 20:02, 22:22
That is 5 times.
Why the other options are wrong
- (A) 3 finds only 00:00, 05:50 and 22:22 and misses 02:20 and 20:02. A 2 turned upside down is still a 2, so these two times also work.
- (B) 11 also counts times with the digit 1, such as 11:11, 12:21, 15:51, 01:10, 10:01 and 21:12. Upside down, a 1 has its bars on the left side of its place instead of the right, so these times do not look the same.
- (C) 1 counts only 00:00. The digits 2, 5 and 8 also look the same upside down, which gives 02:20, 05:50, 20:02 and 22:22 as well.