Introduction
Introduction
Course Instructor:
Tanni Mittra
Senior Lecturer
Department of CSE
Textbook:
• Data Structure – A Approach with C - Richard F. Gilberg, Behrouz
Pseudocode
A. Forouzan.
• Mark Allen Weiss, Data Structures and Algorithms Analysis in C++, 4
th edition,Pearson, 2014.
• Fudamentals of Data Structures in C++- Ellis Horowitz
Mark Distribution
• Class Participation and performance 5%
• Quiz 10%
• 1st Mid Term Exam 20%
• 2nd Mid Term Exam 20%
• Final Exam 20%
• Lab 15%
• Project 10%
Objectives of course
The objective of this course is to make the students of Computer Science
familiar with the basic and advanced data structures
To teach them how to choose appropriate data structure for improving the
performance of a program.
Choose the appropriate data structure and algorithm design method for a
specified application.
Choose appropriate Data structures to develop software system
What is Data?
Data are simply values or set of values.
Data is the number or description of name, quantity, nature of a person,
subject or product
Data may be in different language, pattern i.e. sign, letter, picture etc
Data need to represent in machine code to operate or understand by
computer.
Example: To make pay roll management system of a company we need
name, designation, salary and code of an employee. So the value of all
these filed is data. i.e. Mr.X, SO, 50k.
‘Data’ is plural form of ‘Datum’
Information
Information is data that has been processed in such a way as to be
meaningful to the person who receives it.
Information can be explained as any kind of understanding or knowledge
that can be exchanged with people
Knowledge
Information
Data
Information Processing Cycle
The sequence of events in processing information
They are:
• Input—entering data into the computer.
• Processing—performing operations on the data.
• Storage—saving data, programs, or output for future use.
• Output—presenting the results.
Introduction of Data Structure
Study of various ways of organizing data in a computer
Information is manipulated by systematic and step by step procedure
called Algorithm
Manipulation means adding, deleting, searching, rearranging data items
Introduction of Data Structure
• Data structures are used in several disciplines
• Used by operating system, compilers and database management systems,
data communications and so on
• Algorithm together with data structures are used in several applications
• Data Structures are classified into two types: Linear and Non-linear
• A structure in which data elements are organized in in sequence is
referred to as linear
• Examples are: arrays, linked lists, stacks and queue
Classification of Data Structure