Question:

The binary number $10111$ is equivalent to the decimal number

Updated On: Jan 12, 2024
  • 19
  • 31
  • 23
  • 22
Hide Solution
collegedunia
Verified By Collegedunia

The Correct Option is C

Solution and Explanation

Hence, $(10111) B=1 \times 2^{4}+0 \times 2^{3}+1 \times 2^{2}$
$+1 \times 2^{1}+1 \times 2^{0}$
$=16+0+4+2+1=23.$
Was this answer helpful?
0
0

Concepts Used:

Logic Gates

AND Gate

It is the gate, where a circuit performs an AND operation. It has n number of input where (n >= 2) and one output.

OR Gate

It is the gate, where a circuit performs an OR operation. It has n number of input where (n >= 2) and one output.

NOT Gate

An inverter is also called NOT Gate. It has one input and one output where the input is A and the output is Y.

NAND Gate

A NAND operation is also called a NOT-AND operation. It has n number of input where (n >= 2) and one output.

NOR Gate

A NOR operation is also called a NOT-OR operation. It has n number of input where (n >= 2) and one output.

XOR Gate

XOR or Ex-OR gate is a specific type of gate that can be used in the half adder, full adder, and subtractor. 

XNOR Gate

XNOR gate is a specific type of gate, which can be used in the half adder, full adder, and subtractor. The exclusive-NOR gate is flattened as an EX-NOR gate or sometimes as an X-NOR gate. It has n number of input (n >= 2) and one output.