How many numbers from 1 to 100 are there each of which is not exactly divisible by 4 but also has 4 as a digit ?

Answer: A. 7

The numbers from 1 to 100 which are exactly divisible by 4 are 4, 8, 12, 16, 20, 24, 28, 32, 36, 40, 44, 48, 52, 56, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100.
But each number should have 4 as its digit.
.'. The required numbers are 4, 24, 40, 44, 48, 64, 84. Clearly, there are 7 such numbers.