Data Representation — Notes

By Reacher

Updated on:

Follow us on Instagram

Follow Us

Data Representation notes for competitive exams — number systems, bit/byte units, ASCII, Unicode & conversions with quick revision tables.

What is Data Representation?

Data Representation refers to the method/form in which data is stored, processed, and transmitted inside a computer. Computers understand only binary form (0s and 1s), so all data (numbers, text, images, audio, video) must be converted into binary before processing.

Computers are digital devices — they work on the principle of electronic signals being ON (1) or OFF (0).

Number Systems (Very Important)

A Number System defines a set of values used to represent quantities.

Number SystemBaseDigits Used
Binary20, 1
Octal80–7
Decimal100–9
Hexadecimal160–9, A–F

Decimal is the number system humans use daily. Binary is the number system computers use internally.

Binary Number System (Base 2)

Binary uses only two digits: 0 and 1. Every piece of data in a computer is ultimately stored as a combination of these two digits.

Example:

  • Decimal 10 = Binary 1010
  • Decimal 5 = Binary 101

Basic Data Units (Extremely Important — Direct Questions)

UnitMeaning
BitBinary Digit — smallest unit of data (0 or 1)
NibbleGroup of 4 bits
ByteGroup of 8 bits — represents one character
Kilobyte (KB)1024 Bytes
Megabyte (MB)1024 KB
Gigabyte (GB)1024 MB
Terabyte (TB)1024 GB
Petabyte (PB)1024 TB
Exabyte (EB)1024 PB

Memory Order (Ascending): Bit → Nibble → Byte → KB → MB → GB → TB → PB → EB → Zettabyte → Yottabyte

Character Encoding Systems (Important)

These are systems used to represent characters (letters, numbers, symbols) using binary codes.

EncodingFull FormBits UsedCharacters Supported
ASCIIAmerican Standard Code for Information Interchange7 bits (originally), 8 bits (extended)128 (standard), 256 (extended)
EBCDICExtended Binary Coded Decimal Interchange Code8 bits256
UnicodeUniversal Character Encoding16 bits (UTF-16) / variable (UTF-8)Over 1,00,000+ characters (supports all world languages)

ASCII is mainly used in personal computers, while Unicode was developed to support multiple languages worldwide (since ASCII could not represent non-English characters).

Types of Data

TypeDescriptionExample
Numeric DataNumbers used for calculations123, 45.6
Text/Alphanumeric DataLetters, numbers, symbols“Hello123”
Image DataPictures/graphics represented as pixelsJPG, PNG
Audio DataSound represented digitallyMP3, WAV
Video DataMoving images with soundMP4, AVI

Analog vs Digital Data

AspectAnalogDigital
Signal TypeContinuous signalDiscrete signal (0s and 1s)
Example DeviceOld telephone, thermometerComputer, digital watch
AccuracyLess accurate (prone to noise)More accurate

Number System Conversions (Concept Only)

ConversionMethod
Decimal to BinaryRepeated division by 2, note remainders
Binary to DecimalMultiply each bit by 2 raised to its position value, then sum
Decimal to OctalRepeated division by 8
Decimal to HexadecimalRepeated division by 16

Example (Decimal to Binary):

10 ÷ 2 = 5  remainder 0
5 ÷ 2 = 2   remainder 1
2 ÷ 2 = 1   remainder 0
1 ÷ 2 = 0   remainder 1

Reading remainders bottom to top: 1010
So, Decimal 10 = Binary 1010

Important Related Terms

TermMeaning
PixelSmallest unit of a digital image (Picture Element)
ResolutionNumber of pixels in an image (higher = clearer image)
WordGroup of bits a CPU processes at one time (e.g., 32-bit, 64-bit)
BCDBinary Coded Decimal — represents each decimal digit using 4 binary bits

Quick Revision Table (Most Asked Facts)

FactAnswer
Smallest unit of dataBit
8 bits equal to1 Byte
1024 Bytes equal to1 Kilobyte
1024 KB equal to1 Megabyte
Number system with base 2Binary
Number system with base 16Hexadecimal
Character encoding using 7/8 bitsASCII
Character encoding supporting all world languagesUnicode
Full form of ASCIIAmerican Standard Code for Information Interchange
Full form of EBCDICExtended Binary Coded Decimal Interchange Code
Smallest unit of a digital imagePixel
4 bits equal to1 Nibble

Leave a Comment