This is an adder. (https://en.wikipedia.org/wiki/Adder_(electronics)) It uses AND, OR, XOR.
Turn on the switches. Yay.
7 segment display.