Number System in Computer Science and IPV4 Structure
Number System in Computer Science and IPV4 Structure
Number
System in
Computer
Science and
IPv4 Structure
www.technogeekscs.com
8600998107 / 7028710777
What is bit?
The term "bit" stands for "binary digit" and is the smallest unit
of data in computing. It is a fundamental building block of
digital information and represents a binary value, which can
be either 0 or 1.
1 0
Each bit can be in one of these two states, and they are used to
encode and represent various types of data in computers and other
digital systems.
www.technogeekscs.com
8600998107 / 7028710777
What is Byte?
The term "byte" comes from the word "bit", which is a binary digit. A bit
can be either a 0 or a 1. A byte is made up of 8 bits, so it can represent 256
different values.
This means that a byte can be used to represent a wide range of different
data, from simple characters to complex images and sounds.
www.technogeekscs.com
8600998107 / 7028710777
Byte : A byte is a collection of 8 bits. It can represent 256 different values (2^8) ranging from 00000000
to 11111111 in binary, which corresponds to 0 to 255 in decimal.
What is IPv4 ?
IPv4 stands for Internet Protocol version 4. It is the fourth version of the
Internet Protocol and is the most widely used version for identifying and
locating devices on a network, including the internet.
Pv4 is a widely used Internet Protocol version that identifies and locates
devices on a network, including the internet. It uses 32-bit binary numbers
represented in a dotted-decimal notation, such as "192.168.1.1", to provide
approximately 4.3 billion unique addresses.
However, its limited address space has led to the development of IPv6,
which offers a much larger pool of addresses and is gradually being
adopted alongside Ipv4.
www.technogeekscs.com
8600998107 / 7028710777
IPv4 address classes
Class Range Application
D 224-247
www.technogeekscs.com
Reserved for multicasting
8600998107 / 7028710777
Number System
A number system is a systematic way of representing and expressing numeric values. It defines the rules for
representing numbers using symbols, digits, or characters.
COMMON Number System process data due to their circuits' capability to handle two states (0
and 1).
SYSTEMS Hexadecimal (Base-16) The hexadecimal system uses 16 digits: 0-9 and A-F. It is favored
ARE: Number System in computer programming for its concise representation of large
numbers.
Roman Numerals Example: I, II, III, IV, V, VI, VII, VIII, IX, X, XI, XII
www.technogeekscs.com
8600998107 / 7028710777
Binary number is : ?
Base 10 1
Meaning in
decimal 128 64 32 1 8 4 2 1
6
Note : 25-16 = 9
www.technogeekscs.com
8600998107 / 7028710777
Binary number is : ?
Base 10 1 1
Meaning in
decimal 128 64 32 1 8 4 2 1
6
Note : 25-16 = 9, 9-8 =1,
www.technogeekscs.com
8600998107 / 7028710777
Binary number is : ?
Base 10 1 1 1
Meaning in
decimal 128 64 32 1 8 4 2 1
6
Note : 25-16 = 9, 9-8 =1, 1-1 =0
www.technogeekscs.com
8600998107 / 7028710777
Base 10 0 0 0 1 1 0 0 1
Meaning in
decimal 128 64 32 1 8 4 2 1
6
Note : 25-16 = 9, 9-8 =1, 1-1 =0 25 converted completely , so remaining slots can be filled with 0 (zero) as
value
www.technogeekscs.com
8600998107 / 7028710777
Binary number is : ?
Base 10 1
Meaning in
decimal 128 64 32 1 8 4 2 1
6
Note : 156-128 = 28
www.technogeekscs.com
8600998107 / 7028710777
Binary number is : ?
Base 10 1 1
Meaning in
decimal 128 64 32 1 8 4 2 1
6
Note : 156-128 = 28, 28-16 = 12
www.technogeekscs.com
8600998107 / 7028710777
Binary number is : ?
Base 10 1 1 1
Meaning in
decimal 128 64 32 1 8 4 2 1
6
Note : 156-128 = 28, 28-16 = 12 12-8 = 4
www.technogeekscs.com
8600998107 / 7028710777
Base 10 1 1 1 1
Meaning in
decimal 128 64 32 1 8 4 2 1
6
Note : 156-128 = 28, 28-16 = 12 12-8 = 4 4-4 = 0 4-4 = 0 156 converted completely , so remaining
slots can be filled with 0 (zero) as value
www.technogeekscs.com
8600998107 / 7028710777
Base 10 1 0 0 1 1 1 0 0
Meaning in
decimal 128 64 32 1 8 4 2 1
6
Note : 156-128 = 28, 28-16 = 12 12-8 = 4 4-4 = 0 4-4 = 0, 156 converted completely , so remaining
slots can be filled with 0 (zero) as value
www.technogeekscs.com
8600998107 / 7028710777
www.technogeekscs.com