Data-representation
Data-representation
Bit: The most fundamental unit, bits are used to represent binary values (0 or
1). Bits are utilized in logical operations and other binary data
representations.
Byte: Consisting of 8 bits, bytes are used to represent larger blocks of data.
Bytes are commonly used to encode characters (such as in ASCII or
Unicode), store pixel values in images, and store samples in audio files.
Text
Images
Pixels: Each image is divided into pixels. Each pixel can be represented by
one byte (in grayscale images) or multiple bytes (in color images).
Example: A 24-bit color image uses 3 bytes per pixel: one byte for red, one
byte for green, and one byte for blue.
Sound
Binary System: The binary system (base-2) is widely used in computers for
computation and data storage. Each bit in a binary number has a value that is
twice the value of the previous bit.
Example: The binary number 1011 is equivalent to the decimal number 11
(12^3 + 02^2 + 12^1 + 12^0).
Definition of Bandwidth
Importance of Bandwidth
Data Transfer: Higher bandwidth allows for faster data transfer, improving
the performance of internet applications.
Network Performance: Determines the capacity of a network to handle
data loads.
Bits per Second (bps): The standard unit for measuring data transfer rate.
o 1 bps: One bit transmitted per second.
o Kbps, Mbps, Gbps:
1 Kbps = 1,000 bps
1 Mbps = 1,000,000 bps
1 Gbps = 1,000,000,000 bps
Network Hardware: The quality and type of routers, switches, and cables.
Network Congestion: The number of users and amount of data being
transferred simultaneously.
Latency and Jitter: Delay and variability in data transmission times.
Signal Interference: Environmental factors affecting wireless signals.
Applications
Example:
Bits:
Bits are the smallest units of digital data, represented by binary digits (0 or
1).
They form the basis of all binary code, which is the language computers use
to perform operations.
Each bit can be thought of as a tiny switch that can be either off (0) or on
(1).
Bytes: