Which of the following are the building blocks of all the circuits in a computer?
Logic gates are the building blocks of all the circuits in a computer.
Logic Gates are the basic building blocks of digital circuits. The computer/smartphone you are using now is made-up on these logic gates. Logics is made of diodes and transistors, these constitutes to registers, multiplexers, memory units, logical units and arithmetic units of your CPU/Microprocessors.
Of the two the NAND gate is the most widely seen. OR / NOR : OR gates and NOR gates are another form of logic gate that form one of the basic building blocks of digital technology. The OR gate gives a logical "1" when one of the other input (or both inputs) is high.