0% found this document useful (0 votes)
6 views

computer

Binary numbers are base-2 representations using only 0 and 1, essential for computer systems due to their electrical signal states. Denary numbers, or decimal numbers, are base-10 representations used in everyday life, consisting of digits 0-9. The document explains how to convert binary to decimal using a specific formula.

Uploaded by

zahrahayyat2010
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
6 views

computer

Binary numbers are base-2 representations using only 0 and 1, essential for computer systems due to their electrical signal states. Denary numbers, or decimal numbers, are base-10 representations used in everyday life, consisting of digits 0-9. The document explains how to convert binary to decimal using a specific formula.

Uploaded by

zahrahayyat2010
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 3
Computer Binary and denary numbers What Are Binary Numbers? Binary numbers are numbers written in the base-2 numeral system, which uses only two digits: 0 and 1. Each binary digit (bit) represents a power of 2, making it different from the decimal system (which uses base- 10 with digits 0-9). Why Is Binary Important? Binary numbers are the foundation of all computer systems because computers use electrical signals, which have only two states: ON (1) and OFF (0). Example of a Binary Number: The binary number 10112 represents: (1*23)+(0x22)+(1x21)+(1*20)(1x23)+(0x22)+(1*21)+ (1x20)(1x8)+(0x4)+(1x2)+(1x1)=8+0+241=1110(1x8)+ (0x4)+(1*2)+(1x1)=8+0+24+1=1110 So, 10112 = 11149 in decimal. What is a Denary (Decimal) Number? A denary number (also called a decimal number) is a number written in the base-10 system, which is the standard numbering system we use in everyday life. It consists of ten digits: 0, 1, 2, 3, 4, 5, 6, 7, 8, and 9. It is called base-10 because each place value is a power of 10. Example of a Denary Number: The number 357,> can be broken down as: (3102)+(5*101)+(7x100)(3*102)+(5x101)+(7x100) (3x100)+(5x10)+(7*1)=300+50+7=357(3x100)+ (5x10)+(7x1)=300+50+7 =357 ele a Ae LLL a tay Binary (Base-2) Denary (Base-10) rm vJ leh [epee Lely ea Computers, digital systems unting, money, measurements How to Convert Binary to Decimal A binary number consists of only Os and 1s. Each digit represents a power of 2, starting from the right (with 2°). The formula to convert binary (base 2) to decimal (base 10) is: Decimal=(bnx2n)+(bn-1x2n-1)+...+(b1*21)+(b0x20)Decimal= (bnx2n)+(bn-1x2n-1)+...+(b1*21)+(b0x20) Where: ° bb is each binary digit (0 or 1) ¢ —nnis the position of the digit from right (starting at 0) Example 1: Convert 10112 to Decimal (1*23)+(0x22(1x23)+(0x22

You might also like