Lect - 04 A Basics of Data
Lect - 04 A Basics of Data
EHB 328E
Ibraheem Shayea
Electronics and Communication Engineering Department,
Faculty of Electrical and Electronics Engineering
İstanbul Teknik Üniversitesi - İTÜ
Syllabus 4
Part A
Basics of Data Representation
Data Representation
❑ Form of Data
❑ Numbering System
❑ Data Compression
❑ Memory
❑ Data Storage
Data
Data
What is Data?
❑ Data /Datum ?
❑ Datum is technically the singular form of “data,” but it is not usually
used.
❑ Measurement,
❑ Observation,
❑ Survey or
o Analysed
o Organized and
o Construed
Data
Data Operations
o Computer or
o Electronic Device
Data
Data Store and Transmit
❑ Data may be Stored and Transmitted in the form of :
o Electrical signals
o Recorded on magnetic
o Recorded optical
The terms “data” and “information” are often used interchangeably, but
they actually aren’t the same.
There are subtle differences between these two different terms and also
their purpose.
Data
Data Classification
Data Categories
Data Types
A. Alphabetic Data
B. Numeric Data
C. Alphanumeric Data
Data Classification
Categories of Data
❑ Alphabetic Data consists of only the letters A, B, C, ..., Z, and the blank
character.
??
Form of Data
How can the form of data be?
Numbers
… Text
… Data
Collected Data
Graphs
Images
Symbols Observat
ion
Form of Data
How can the form of data be?
❑ Data can come in the form of :
o Numbers
o Text
o Images
o Figures / Graphs
o Observations
o Names
o Addresses
o Colors in a photograph
o Image information
o Types of Objects
Form of Data
How can the form of data be?
❑ Example: data can be Graphs
Analogue and Digital Data
Analogue and Digital Data
Data Categories
❑ Analogue Data
❑ Digital Data
Analogue and Digital Data
Analogue Data
????
Analogue and Digital Data
Digital Data
❑ Digitization is the process of converting information, such as :
Process
Photo Digital Data
Electronic
Devices
Covert collected data into digital data that can be manipulated by electronic devices.
Analogue and Digital Data
Digital Data
How Digital Data can be represented by Computer and Electronic device ?
Bits No of bits
0 1 Bit
10 2 Bits
1011 4 Bits
10010011 8 Bits
Analogue and Digital Data
Digital Data
Example : Digital Data
Binary digits represent the decimal numbers 1, 2, 4, 8, 12,16, 32, …., etc.
Numbering System
Numbering System
Number Systems Used in Computer and Electronic Devices
❑ Binary Number System has only 2 digits, which are 0 and 1(hence
has base = 2)
❑ The largest single digit in binary system is 1 (which is one less than the
base)
Numbering System
Binary Number System
❑ In Binary Number System, each position of a digit in a binary
stream code represents a specific power of the base (2)
Binary 1 1 0 1 0 0 1 0
Base 2 Representation 𝟐𝟕 𝟐𝟔 𝟐𝟓 𝟐𝟒 𝟐𝟑 𝟐𝟐 𝟐𝟏 𝟐𝟎
Decimal Representation 128 64 32 16 8 4 2 1
𝟏 × 𝟏𝟐𝟖 + 𝟏 × 𝟔𝟒 + 𝟎 × 𝟑𝟐 + 𝟏 × 𝟏𝟔 + 𝟎 × 𝟖 + 𝟎 × 𝟒 + 𝟏 × 𝟐 + 𝟎 × 𝟏
= 𝟐𝟏𝟎𝟏𝟎
Example: 56,932
Power of 10 Representation
104 103 102 101 100
❑ The largest single digit is 7, which is one smaller number than the
value of the base)
❑ The largest single digit is 15, which is one smaller number than the
value of the base)
Numbering System
Hexadecimal Number System
In Hexadecimal Number System :
❑ Since there are only 16 digits, 4 𝑏𝑖𝑡𝑠 (24 = 16) are sufficient to
represent any Hexadecimal number in binary form.
Data Compression
Data Compression
What is Data Compression ?
❑ Compression is generally referred to as “zipping.”
?
Original Data Compression
❖ Decrease Costs
Data Compression
Categories of Data Compression
There are two categories of Data Compression Techniques which are
Lossless and Lossy.
❑ Lossless Compression
o It is a method used to compress data and reconstitute it into its
original state.
o Uncompressed data stays exactly the same as the original data.
❑ Lossy Compression
o Throws away some of the original data through the compression
process.
o Uncompressed data is not exactly the same as the original.
Data Compression
Categories of Data Compression
Data Compression
Categories of Data Compression
❑ Lossless
e.g.
• ZIP
❑ Lossy
e.g.
• JPEG for images
• MP3 for audio
Data Compression
Compression Program
❑ Density
Amount of data that the memory can store
❑ Read/write capability
Capability to update memory
Memory
Why Memory is required?
Electronic Digital Memory is required to stores three basic categories:
2. Application Programs
3. Data
Memory
What are the type of Memory?
Electronic Digital Memory is mainly divided to two types (categories):
Memory
Memory
What are the type of Memory?
Primary Memory
Hard Disk
Magnetic
Reg.: Register
The End
Thank You
References