Correct option is B
A seven-segment display is a type of display used to represent decimal numbers and some alphabets using 7 individual LED segments.
common cathode display:
· All cathodes (negative terminals) of the LEDs are internally connected to a common pin, which is connected to ground.
· Each segment lights up when its corresponding anode (positive terminal) is connected to a high voltage (logic 1).
· The LEDs light up when the circuit is completed by grounding their cathode.
common anode display:
· All anodes (positive terminals) are internally connected to a common pin, which is connected to the supply voltage (logic 1).
· Each segment lights up when its corresponding cathode (negative terminal) is connected to ground (logic 0).
Since the question specifies that the LED segments light up when their pins are connected to ground, the display type is common anode.