Tag: logic gates

Questions Related to logic gates

Multiple choice physics electronic devices boolean algebra digital electronics and logic gates logic gates

The Boolean expression $P+\overline { P } Q$, where $P$ and $Q$ are the inputs of the logic circuit, represents  

  1. AND gate

  2. NAND gate

  3. NOT gate

  4. OR gate

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

Using Boolean algebra, the expression P + P_bar Q can be simplified using the distributive law. Since P + P_bar = 1, the expression simplifies to P + Q, which represents the logical OR operation. Therefore, the circuit is an OR gate.

Multiple choice physics electronic devices boolean algebra digital electronics and logic gates logic gates

In the binary number system, the number $100$ represents

  1. one

  2. three

  3. four

  4. hundred

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

In binary number system only $0$'s and $1$'s are used to built the whole number system.
Hence,
$0 = 0$
$1 = 1$
Start back at $0$ again, but add $1$ on the left,
$2 = 10$
$3 = 11$
Start back at $0$ again, and add one to the number on the left, but that number is already at $1$, so it also goes back to $0$ and $1$ is added to the next position on the left. Hence,
$4 = 100$ .... and so on.