search
Log In
5 votes
2k views

The binary equivalent of the decimal number $42.75$ is

  1. $101010 . 110$
  2. $100110 . 101$
  3. $101010 . 101$
  4. $100110 . 110$
in Digital Logic 2k views

2 Answers

10 votes
 
Best answer

Answer is A

42 can be represented as 1*32+0*16+1*8+0*4+1*2+0*1 = 42, so the binaray representation is (101010)2. 

And fraction part can be obtained as $\frac{1}{2}+\frac{1}{4} = 0.75$, the binary representation is .110

So, the total binary representation of 42.75 is (101010.110)2


selected by
7 votes
Option a

it should be 101010.11

edited by
1
option A right
Answer:

Related questions

7 votes
5 answers
1
4k views
Two eight bit bytes $1100 0011$ and $0100 1100$ are added. What are the values of the overflow, carry and zero flags respectively, if the arithmetic unit of the CPU uses $2$'s complement form? $0, 1, 1'$ $1, 1, 0$ $1, 0, 1$ $0, 1, 0$
asked Apr 26, 2016 in Digital Logic makhdoom ghaya 4k views
4 votes
1 answer
2
3.3k views
The number $1102$ in base $3$ is equivalent to $123$ in which base system? $4$ $5$ $6$ $8$
asked Apr 26, 2016 in Digital Logic makhdoom ghaya 3.3k views
8 votes
5 answers
3
4.2k views
When two $\text{BCD}$ numbers $0\times14$ and $0\times08$ are added what is the binary representation of the resultant number ? $0\times22$ $0\times1c$ $0\times16$ results in overflow
asked Apr 26, 2016 in Digital Logic makhdoom ghaya 4.2k views
5 votes
2 answers
4
4.9k views
Which logic gate is used to detect overflow in 2's compliment arithmetic? OR gate AND gate NAND gate XOR gate
asked Apr 25, 2016 in Digital Logic makhdoom ghaya 4.9k views
...