INTRODUCTION TO DATA STRUCTURE. Topics To Be Discussed………………………. Meaning of Data Structure Classification of Data Structure Data Structure Operations.

Slides:



Advertisements
Similar presentations
Data Structures Through C
Advertisements

Chapter 1: INTRODUCTION TO DATA STRUCTURE
CHP-5 LinkedList.
Foundation of Computing Systems Lecture 2 Linked Lists.
Data Structures: A Pseudocode Approach with C
Lecture - 1 on Data Structures. Prepared by, Jesmin Akhter, Lecturer, IIT,JU Data Type and Data Structure Data type Set of possible values for variables.
Chapter 12 C Data Structures Acknowledgment The notes are adapted from those provided by Deitel & Associates, Inc. and Pearson Education Inc.
Chapter 4 Linked Structures. Copyright © 2005 Pearson Addison-Wesley. All rights reserved. 4-2 Chapter Objectives Describe the use of references to create.
© Copyright 1992–2004 by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. Chapter 12 – Data Structures Outline 12.1Introduction.
C++ Programming: Program Design Including Data Structures, Second Edition Chapter 22: Standard Template Library (STL)
Data Structures Data structures permit the storage of related data for use in your program. –Arrays.
Data Structures 1- Course Syllabus. 2- Introduction about Data Structures.
C o n f i d e n t i a l Developed By Nitendra NextHome Subject Name: Data Structure Using C Title: Overview of Data Structure.
Prof. Amr Goneid, AUC1 CSCE 210 Data Structures and Algorithms Prof. Amr Goneid AUC Part 1. Data Modeling and ADTs.
Grade 12 Computer Studies HG
Nirmalya Roy School of Electrical Engineering and Computer Science Washington State University Cpt S 122 – Data Structures Custom Templatized Data Structures.
Introduction to Data Structures. Definition Data structure is representation of the logical relationship existing between individual elements of data.
Design and Analysis of Algorithms CSC201 Shahid Hussain 1.
Implementation of Linked List For more notes and topics visit: eITnotes.com.
Unit III : Introduction To Data Structures and Analysis Of Algorithm 10/8/ Objective : 1.To understand primitive storage structures and types 2.To.
CSC 211 Data Structures Lecture 7
CHAPTER 09 Compiled by: Dr. Mohammad Omar Alhawarat Sorting & Searching.
Chapter 2 ARRAYS.
Course Teacher: Moona Kanwal
1 © 2002, Cisco Systems, Inc. All rights reserved. Arrays Chapter 7.
 DATA STRUCTURE DATA STRUCTURE  DATA STRUCTURE OPERATIONS DATA STRUCTURE OPERATIONS  BIG-O NOTATION BIG-O NOTATION  TYPES OF DATA STRUCTURE TYPES.
Major objective of this course is: Design and analysis of modern algorithms Different variants Accuracy Efficiency Comparing efficiencies Motivation thinking.
Data Structures and Algorithms Lecture 1 Instructor: Quratulain Date: 1 st Sep, 2009.
Data Structure Introduction.
Lecture -3 on Data structures Array. Prepared by, Jesmin Akhter, Lecturer, IIT, JU Array Data structures are classified as either linear or nonlinear.
Data Structures Types of Data Structure Data Structure Operations Examples Choosing Data Structures Data Structures in Alice.
Week # 2: Arrays.  Data structure  A particular way of storing and organising data in a computer so that it can be used efficiently  Types of data.
Introduction to the Standard Template Library (STL) A container class holds a number of similar objects. Examples: –Vector –List –Stack –Queue –Set –Map.
Lecture by: Prof. Pooja Vaishnav.  Language Processor implementations are highly influenced by the kind of storage structure used for program variables.
Linked List by Chapter 5 Linked List by
Elementary Data Organization. Outline  Data, Entity and Information  Primitive data types  Non primitive data Types  Data structure  Definition 
Prof. amr Goneid, AUC1 CSCE 110 PROGRAMMING FUNDAMENTALS WITH C++ Prof. Amr Goneid AUC Part 13. Abstract Data Types (ADT’s)
Review Sorting algorithms Selection Sort Insertion Sort Bubble Sort Merge Sort Quick Sort.
Chapter 5 Linked List by Before you learn Linked List 3 rd level of Data Structures Intermediate Level of Understanding for C++ Please.
Dale Roberts Department of Computer and Information Science, School of Science, IUPUI CSCI 240 Elementary Data Structures Array Lists Array Lists Dale.
Course Code #IDCGRF001-A 5.1: Searching and sorting concepts Programming Techniques.
 Array is a data structure were elements are stored in consecutive memory location.in the array once the memory is allocated.it cannot be extend any more.
REEM ALMOTIRI Information Technology Department Majmaah University.
Data Structure and Algorithms
Data Structure and Algorithm Introduction.  The manner in which computer program is being developed is not as simple as you may possibly think.  It.
Computer Science: A Structured Programming Approach Using C1 Objectives ❏ To introduce the basic concepts of linked lists ❏ To introduce the basic concepts.
ARRAYS IN C/C++ (1-Dimensional & 2-Dimensional) Introduction 1-D 2-D Applications Operations Limitations Conclusion Bibliography.
1 Chapter 4 Unordered List. 2 Learning Objectives ● Describe the properties of an unordered list. ● Study sequential search and analyze its worst- case.
UNIT-II Topics to be covered Singly linked list Circular linked list
LINKED LISTS.
DATA STRUCURES II CSC QUIZ 1. What is Data Structure ? 2. Mention the classifications of data structure giving example of each. 3. Briefly explain.
Course Developer/Writer: A. J. Ikuomola
Data Structures & File Processing
Data Structure Interview Question and Answers
Review Deleting an Element from a Linked List Deletion involves:
Operation performed by Linear Structure
Abstraction A tool (concept) to manage complexity
Chapter 2 (16M) Sorting and Searching
Program to search an element of array using linear search.
Data Structures Data Structure is a way of collecting and organising data in such a way that we can perform operations on these data in an effective.
DATA STRUCTURES Introduction: Basic Concepts and Notations
Introduction to Data Structure
كلية المجتمع الخرج البرمجة - المستوى الثاني
Introduction to Data Structures
Object Oriented Programming in java
Introduction to Data Structures
By Yogesh Neopaney Assistant Professor Department of Computer Science
Introduction to data structures
Introduction to data structures
Presentation transcript:

INTRODUCTION TO DATA STRUCTURE

Topics To Be Discussed………………………. Meaning of Data Structure Classification of Data Structure Data Structure Operations

DATA STRUCTURE A data structure is a class of data that can be characterized by its organization and the operations that are defined on it. Data Structure = Organized Data + Allowed Operations In other words, the organized collection of data is called data structure. A Data structure is a set of values along with the set of operations permitted on them. It is also required to specify the semantics of operations permitted on the data values, and this is done by using set of axioms, which describes how these operations work.

Therefore a data structure is made of :  A set of data values  A set of functions specifying the operations permitted on the data values  A set of axioms describing how these operations work.

Classification of Data Structure There are various ways to classify data structure :  Primitive and Non-Primitive Data Structure  Linear and Non-Linear Data Structure  Homogenous and Non-Homogeneous Data Structure  Static and Dynamic Data Structure

Primitive and Non-Primitive Data Structure The data structure that are atomic (indivisible) are called primitive. Example are integer, real, Boolean and characters. The data structure that are not atomic are called non-primitive or composite. Example are records, array and string.

Linear and Non- Linear Data Structure In a linear data structure, the data items are arranged in a linear sequence. Example is array. In a non-Linear data structure, the data items are not in a sequence. Example is tree.

Homogeneous and Non- Homogenous Data Structure In Homogeneous Structure, all the elements are of same type. Example is arrays. In Non-homogeneous structure, the elements may or may not be of same type. Example is records.

Static and Dynamic Data Structure Static structures are ones whose sizes and structures, associated memory location are fixed at compile time. Dynamic structures are ones which expand or shrink as required during the program execution and there associated memory location change.

Data Structure Operations There are six basic operations that can be performed on data structure:-  Traversing  Searching  Sorting  Inserting  Deleting  Merging

(a) Traversing Traversing means accessing and processing each element in the data structure exactly once. This operation is used for counting the number of elements, printing the contents of the elements etc. b) Searching Searching is finding out the location of a given element from a set of numbers.

c) Sorting Sorting is the process of arranging a list of elements in a sequential order. The sequential order may be descending order or an ascending order according to the requirements of the data structure. (d) Inserting Inserting an element is adding an element in the data structure at any position. After insert operation the number of elements are increased by one.

e) Deleting Deleting an element is removing an element in the data structure at any position. After deletion operation the number of elements are decreased by one. (f) Merging The process of combining the elements of two data structures into a single data structure is called merging.

THANKS