First 3 are combinational circuits (whose output depends only on present inputs)
choice D is (counter) sequential circuit( sequential logic is a type of logic circuit whose output depends not only on the present value of its input but on the sequence of past inputs, the input history e.g registers, counters )
and hence the ans is D