Professional Documents
Culture Documents
Introduction To Digital Electronics: at Ramaiah University of Applied Sciences Faculty of Engineering & Technology
Introduction To Digital Electronics: at Ramaiah University of Applied Sciences Faculty of Engineering & Technology
1
Faculty of Engineering & Technology @ Ramaiah University of Applied Sciences
Lecture 3
Number System
2
Faculty of Engineering & Technology @ Ramaiah University of Applied Sciences
Objectives
3
Faculty of Engineering & Technology @ Ramaiah University of Applied Sciences
Topics
Number System
Binary Digits
Decimal Number System
Octal number system
Hexadecimal number system
4
Faculty of Engineering & Technology @ Ramaiah University of Applied Sciences
Positional Notation
Value of number is determined by multiplying each digit by a weight and then
•Value of number is determined by multiplying each
summing
digit by a weight and then summing.
5
Faculty of Engineering & Technology @ Ramaiah University of Applied Sciences
Radix (Base) of a Number System
Decimal Number System (Radix = 10)
Example:- 7392 = 7x103+3x102+9x101+2x100
6
Faculty of Engineering & Technology @ Ramaiah University of Applied Sciences
Radix (Base) of a Number System
• When counting upwards in base-10, we increase the units digit until we get
to 10 when we reset the units to zero and increase the tens digit.
• So, in base-n, we increase the units until we get to n when we reset the
units to zero and increase the n-s digit.
• Consider hours-minutes-seconds as an example of a base-60 number
system:
• Example: 12:58:43 + 00:03:20 = 13:02:03
7
Faculty of Engineering & Technology @ Ramaiah University of Applied Sciences
Decimal Number Systems
Base 10
Ten digits, 0-9
Columns represent (from right to left) units, tens, hundreds
etc
8
Faculty of Engineering & Technology @ Ramaiah University of Applied Sciences
Binary Number System
Base 2
Two digits, 0 & 1
Columns represent (from right to left) units, twos, fours, eights etc
1111011
= 123
9
Faculty of Engineering & Technology @ Ramaiah University of Applied Sciences
Binary Numbers
10
Faculty of Engineering & Technology @ Ramaiah University of Applied Sciences
Data Organization
Bits
Or one, true or false, on or off, male or female, and right or wrong
Nibbles
Group of 4 bits
Bytes
11
Faculty of Engineering & Technology @ Ramaiah University of Applied Sciences
Words
Representation of Words
12
Faculty of Engineering & Technology @ Ramaiah University of Applied Sciences
Double Words
13
Faculty of Engineering & Technology @ Ramaiah University of Applied Sciences
Octal Number System
Base 8
• Eight digits, 0-7
• Columns represent (from right to left) units, 8s, 64s, 512s etc
173
14
Faculty of Engineering & Technology @ Ramaiah University of Applied Sciences
Hexadecimal Number System
Base 16
• Sixteen digits, 0-9 and A-F (ten to fifteen)
• Columns represent (from right to left) units, 16s, 256s, 4096s etc
7B
15
Faculty of Engineering & Technology @ Ramaiah University of Applied Sciences
Decimal, Binary, Octal and Hexadecimal
Decimal Binary Octal Hex
00 0000 00 0
01 0001 01 1
02 0010 02 2
03 0011 03 3
04 0100 04 4
05 0101 05 5
06 0110 06 6
07 0111 07 7
08 1000 10 8
09 1001 11 9
10 1010 12 A
11 1011 13 B
12 1100 14 C
13 1101 15 D
14 1110 16 E
15 1111 17 F
Decimal, Binary, Octal and Hexadecimal
16
Faculty of Engineering & Technology © Ramaiah University of Applied Sciences
@
Summary
• Value of number is determined by multiplying each digit by a weight and
then summing
• Binary Number System has Radix = 2
• Decimal Number System has radix = 10
• Octal number system has radix = 8
• Hexadecimal number system has radix = 16
17
Faculty of Engineering & Technology © Ramaiah University of Applied Sciences
@