>
Exams
>
Electronics and Communication Engineering
>
Digital Electronics and Logic Gates
>
the binary code of 21 125 10 is
Question:
The binary code of $(21.125)_{10}$ is _______.
Show Hint
Convert decimal to binary by separating integer and fraction parts. Use division by 2 for integers and multiplication by 2 for fractions.
AP PGECET - 2025
AP PGECET
Updated On:
Jun 23, 2025
10101.001
10100.001
10101.010
10100.111
Hide Solution
Verified By Collegedunia
The Correct Option is
A
Solution and Explanation
Step 1: Convert integer part (21) to binary
Repeatedly divide 21 by 2 and store remainders:
21 ÷ 2 = 10 remainder 1
10 ÷ 2 = 5 remainder 0
5 ÷ 2 = 2 remainder 1
2 ÷ 2 = 1 remainder 0
1 ÷ 2 = 0 remainder 1
Writing remainders from bottom to top: $10101$
Step 2: Convert fractional part (0.125) to binary
Multiply the decimal part by 2 and take the integer part:
$0.125 \times 2 = 0.25$ → Integer part: 0
$0.25 \times 2 = 0.5$ → Integer part: 0
$0.5 \times 2 = 1.0$ → Integer part: 1
So, $0.125 = 0.001$ in binary
Step 3: Combine integer and fraction parts
\[ 21.125 = 10101.001_2 \]
Step 4: Why others are wrong
- Option (2) is 20.125
- Option (3) is wrong fractional part
- Option (4) has wrong integer and fractional parts
Conclusion:
Correct binary representation is $10101.001$
Download Solution in PDF
Was this answer helpful?
0
0
Top Questions on Digital Electronics and Logic Gates
The difference between the minimum output voltage during logic high and the minimum input level during logic high of a logic family is referred to as ________.
AP PGECET - 2025
Electronics and Communication Engineering
Digital Electronics and Logic Gates
View Solution
A bulb in a staircase has two switches, one at the ground floor and one at the first floor. The bulb can be turned ON or OFF by either switch, regardless of the other switch’s state. The logic of this switching resembles _______.
AP PGECET - 2025
Electronics and Communication Engineering
Digital Electronics and Logic Gates
View Solution
The multiple access method used in Global Positioning Systems is ________.
AP PGECET - 2025
Electronics and Communication Engineering
Digital Electronics and Logic Gates
View Solution
M-ary encoding in Digital communication is done to achieve ________.
AP PGECET - 2025
Electronics and Communication Engineering
Digital Electronics and Logic Gates
View Solution
The purpose of a matched filter in a digital communication receiver is to _______.
AP PGECET - 2025
Electronics and Communication Engineering
Digital Electronics and Logic Gates
View Solution
View More Questions
Questions Asked in AP PGECET exam
Determine the value of $\lambda$ and $\mu$ for which the system of equations
$x + 2y + z = 6$,
$x + 4y + 3z = 10$,
$2x + 4y + \lambda z = \mu$
has a unique solution.
AP PGECET - 2025
Linear Algebra
View Solution
For a two-port network to be reciprocal, it is necessary that ……..
AP PGECET - 2025
Electrical power
View Solution
Which strategy can be used to minimize the shear damage in bioreactors used for animal cell culture?
AP PGECET - 2025
Cell Biology
View Solution
Let \( z \) be a complex variable and \( C : |z| = 3 \) be a circle in the complex plane. Then,
\[ \oint_C \frac{z^2}{(z - 1)^2(z + 2)} \, dz = \]
AP PGECET - 2025
Complex numbers
View Solution
If \( \vec{F}(x, y, z) = 3x^2y\,\hat{i} + 5y^2z\,\hat{j} - 8xyz\,\hat{k} \) is a continuously differentiable vector field, then the curl of \( \vec{F} \) at (1,1,1) is ...............
AP PGECET - 2025
Calculus
View Solution
View More Questions