Subject

    Computer Science

    Topic

    Computer Hardware

    What is the purpose of a 'logic gate'?

    a)
    To store a bit of data.
    b)
    To act as an elementary building block for a digital circuit by performing a basic logical function.
    c)
    To amplify a digital signal.
    d)
    To convert a signal from analog to digital.

    Explanation

    Logic gates, such as AND, OR, NOT, NAND, and XOR, are the fundamental components of all digital systems. They take one or more binary inputs (0s and 1s) and produce a single binary output based on a specific Boolean function. All complex digital hardware, including CPUs, is built from combinations of these simple gates.

    Find Tutors

    View all Tutors