










Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
An overview of various number systems, including decimal, binary, octal, and hexadecimal. It explains the concept of base or radix, digit weights, and magnitude, and discusses the conversion of decimal to binary, decimal to octal, and binary to hexadecimal. It also introduces special powers of 2 and explains the significance of kilo, mega, and giga in binary.
Typology: Slides
1 / 18
This page cannot be seen from the preview
Don't miss anything!











The numeric system we use daily is the decimal system
this system is not convenient for machines
the information is handled codified in the shape of on or off bits Numeric systems
Base (also called radix) = 10 Digit Position 2 1 0 -1 - Integer & fraction 5 1 2. 7 4 (^) Digit Weight Weight = (Base) Position^ 102 101 100. 10-1^10 - 5 1 2 7 4 Magnitude 500 10 2 0.7 0. Sum of “Digit x Weight” d 2 *B^2 +d 1 B^1 +d 0 B^0 +d-1B-1+d-2B- (^) Formal Notation (512.74) 10 Decimal Number System
(^) … a 5 a 4 a 3 a 2 a 1 a 0
. a - a - a - … Decimal point 5643 = 5 x 10 3
Binary Number System
Hexadecimal Number System
Number Systems
(^210) (1024) is Kilo, denoted "K" (^220) (1,048,576) is Mega, denoted "M" (^230) (1,073, 741,824)is Giga, denoted "G" Special Powers of 2
Multiply the number by the ‘Base’ (=2) Take the integer (either 0 or 1) as a coefficient Take the resultant fraction and repeat the division Decimal (Fraction) to Binary Conversion
Decimal to Octal Conversion
16 = 2
Each group of 4 bits represents a hexadecimal digit
Works both ways (Binary to Hex &Hex to Binary) Binary − Hexadecimal Conversion
Convert to Binary as an intermediate step
Works both ways (Octal to Hex & Hex to Octal) Octal − Hexadecimal Conversion