2074 12

CSC114 · 2074 · 5 marks

Convert (10.4)10 to binary. Add (10111)2 with (01111)2.

Convert $(10.4)_{10}$ to binary. Add $(10111)_2$ with $(01111)_2$. [5]

Introduction to Information TechnologyChapter 5: Data RepresentationConversion from Decimal to Binary, Octal, HexadecimalNumerical: binary conversion and addition
  • Decimal number to convert: $(10.4){10}$ - Binary numbers to add: $(10111)2$ and $(01111)2$ --- Divide by 2 repeatedly: Division Quotient Remainder ------------------------------- 10 ÷ 2 5 0 5 ÷ 2 2 1 2 ÷ 2 1 0 1 ÷ 2 0 1 Reading bottom to top: $(10){10} = (1010)2$ Multiply by 2 repeatedly, recor...