Information & Data: EEU 336 AADS-Lecture 1
Information & Data: EEU 336 AADS-Lecture 1
Information
There is a flight from Calicut to Delhi
There is one Air India flight from Calicut to Delhi
There is one Air India flight at 2:00PM on all days
from Calicut to Delhi
There is only one flight IC 658 of Air India from
Calicut to Delhi and the fare is Rs.24,450/-
Information
There is only one flight from Calicut to Delhi.
It is IC 658 of Air India and the Economy class fare
is Rs.24,450/ Flight leaves at 2:00PM reaching Delhi by 7:40PM
DATA
CCJ DEL IC 658 14:00 19:40 24450 INR Y
Computation
COMPUTER
Computer is used to process data and provide the
information in a form required by the users
Operating System, Compilers, DBMS, MIS, ERP
Solutions- all are Softwares that enable the use of
the Computers for the various purposes
Computers work in isolation or in networked forms
(for the purpose of data processing and
presentation)
DATA AGGREGATION
DATA ABSTRACTION
INFORMATION
ALGORITHM
ALGORITHM
Another aspect that is important for an algorithm is
the amount of memory needed (according to certain
model of computation)
This is the SPACE factor!!
COMPLEXITY
Complexity of Algorithm refers to some indications
of this TIME and SPACE factors
We can have only asymptotic estimates of these
complexities
Effort is to obtain ALGORITHMS with lesser
complexity, perhaps using suitable or appropriate
DATA STRUCTURES
DATA STRUCTURE
Data Structure is the way of organizing DATA
Because of the compulsion in the programming
Or, for providing better performing ALGORITHMS
for a given JOB
Model of Computation
Computer consists of a Processor, and Memory
The time for action is counted in terms of the clock pulses
For example, if a calculation technique takes the order of
n2 pulses and another calculation technique for the same
job takes the order of n pulses, then
Second one more efficient than the first one
COMPUTER
DATA FLOW
COMPUTER
PROCESSOR
MEMORY(RAM)
COMPUTER
PROCESSOR
CACHE Level 1
CACHE Level 2
MAIN MEMORY
(RAM)
TREE
LIST
GRAPH
Set
A set is a collection of objects
That are eligible to be member of the set
Each member will be have to satisfy the properties
envisioned or attributed to the Set
o Arrangements of members in the set does not follow any
order
o But the members can be arranged or ordered as well, if
so required
o
o
Ordered Set-Examples
List of names arranged in the Alphabetical Order is
one Ordered Set
Numbers arranged in the ascending order or
descending order gives one Ordered Set
Words arranged in the Lexical order is an example
of Ordered Set
Set
Apple, Orange, Pappaya and Guava are fruits of
four different types
As fruits they belong to the set of fruits
We write the set as
{Apple, Orange, Pappaya, Guava}
Or
(Apple, Guava, Orange, Pappaya)
{1,4,6,8} is a Set
{1,4,1,1,6,6,8} is a multiset
Cartesian Product
A Cartesian Product of two sets is the set of all
Ordered Pairs of Elements of the two sets
Example
A ={P,Q,R}
B={45,35,56,85}
AB={(P,45),(Q,45),(R,45),(P,35),(Q,35), (R,35),
(P,56),(Q,56),(R,56),(P,85),(Q,85), (R,85)}
Relation
A Relation could be the connection between two
Sets
A relation can be thought of as a Table that lists the
relationship of elements in a set to the elements in
another sets
In Database Modeling there could be
o
o
o
o
One-to-One Relation
One-to-Many Relation
Many-to-One Relation
Many-to-Many Relation
Example of Relation
8 Tuple
CCJ DEL IC 658 14:00 19:40 24450 INR Y
(Formal) Relations
In the context of Languages we may express
relation in a formal way by using notations like
semantics, grammar etc.
Summary
Algorithm
Algorithm is the step by step procedure for solution
using computer
Algorithm accept the Input and give the well defined
Output
Complexity of the Algorithm is an issue that can be
systematically analyzed
Algorithm design refers to the development of good and
efficient algorithms for a given task
Data Structure
Data Structure is an abstraction of the
representation of Data for specific purposes of
manipulation using computers with a view to
achieve better convenience in programming or
better efficiency in computing
Thank you