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.

Slides:



Advertisements
Similar presentations
Chapter 1: INTRODUCTION TO DATA STRUCTURE
Advertisements

Stacks, Queues, and Linked Lists
Data Structures.
Computer Science 112 Fundamentals of Programming II Overview of Collections.
Lecture # 02 07/02/2013Dr. Muhammad Umair 1. 07/02/2013Dr. Muhammad Umair 2  Numeric  Integer Numbers  0,10,15,4563 etc.  Fractional Number  10.5,
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.
CS 104 Introduction to Computer Science and Graphics Problems Data Structure & Algorithms (4) Data Structures 11/18/2008 Yang Song.
©Brooks/Cole, 2003 Chapter 12 Abstract Data Type.
Basic Definitions Data Structures: Data Structures: A data structure is a systematic way of organizing and accessing data. Or, It’s the logical relationship.
INTRODUCTION TO DATA STRUCTURE. Topics To Be Discussed………………………. Meaning of Data Structure Classification of Data Structure Data Structure Operations.
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.
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.
Computer Science Department Data Structures and Algorithms Lecture 1.
Prepared By Ms.R.K.Dharme Head Computer Department.
 DATA STRUCTURE DATA STRUCTURE  DATA STRUCTURE OPERATIONS DATA STRUCTURE OPERATIONS  BIG-O NOTATION BIG-O NOTATION  TYPES OF DATA STRUCTURE TYPES.
Data Structures Types of Data Structure Data Structure Operations Examples Choosing Data Structures Data Structures in Alice.
Elementary Data Organization. Outline  Data, Entity and Information  Primitive data types  Non primitive data Types  Data structure  Definition 
2 Obaid Ullah HOD Computer Science Dept. Superior University Sialkot Campus.
REEM ALMOTIRI Information Technology Department Majmaah University.
Onlinedeeneislam.blogspot.com1 Design and Analysis of Algorithms Slide # 1 Download From
Data Structure and Algorithms
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.
DATA STRUCURES II CSC QUIZ 1. What is Data Structure ? 2. Mention the classifications of data structure giving example of each. 3. Briefly explain.
CPS120: Introduction to Computer Science Nell Dale John Lewis Abstract Data Types.
Code: BCA302 Data Structures with C Prof.(Dr.) Monalisa Banerjee By.
Mohammed I DAABO COURSE CODE: CSC 355 COURSE TITLE: Data Structures.
Introduction toData structures and Algorithms
Data Structure and Algorithms
Data Structure By Amee Trivedi.
12 Collections Software Solutions Lewis & Loftus java 5TH EDITION
Set Collection A Bag is a general collection class that implements the Collection interface. A Set is a collection that resembles a Bag with the provision.
Chapter 12 – Data Structures
Introduction to Computers Computer Generations
Lecture 1 (UNIT -4) TREE SUNIL KUMAR CIT-UPES.
Course Developer/Writer: A. J. Ikuomola
Fundamentals of Programming II Overview of Collections
The Design and Analysis of Algorithms
Program based on queue & their operations for an application
Data Structures & File Processing
Data Structure Interview Question and Answers
Chapter 15 Lists Objectives
Planning & System installation
Abstraction A tool (concept) to manage complexity
DATA STRUCTURES AND OBJECT ORIENTED PROGRAMMING IN C++
Datastructure.
Stacks and Queues.
Cinda Heeren / Geoffrey Tien
Data Structures and Database Applications Abstract Data Types
Introduction to Data Structure
LINKED LISTS CSCD Linked Lists.
CMSC 341 Lecture 5 Stacks, Queues
structures and their relationships." - Linus Torvalds
Trees and Binary Trees.
Chapter 15 Lists Objectives
structures and their relationships." - Linus Torvalds
Arrays and Linked Lists
كلية المجتمع الخرج البرمجة - المستوى الثاني
Introduction to Data Structures
Review & Lab assignments
Cs212: Data Structures Computer Science Department Lecture 7: Queues.
Introduction to Data Structures
Introduction to Data Structure
By Yogesh Neopaney Assistant Professor Department of Computer Science
Important Problem Types and Fundamental Data Structures
Introduction to data structures
Introduction to data structures
structures and their relationships." - Linus Torvalds
Presentation transcript:

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 way. Data structure is formerly defined to be a triplet (D,F,A) Where, D -> set of data objects F ->is a set of functions A->Axioms(set of rules to implement functions) Example: integer data type D =(0,+-(1),+-(2)...) F=(+,-,*,/,%) A=set of binary arithmetic's rules to perform addition,subtraction,division,multiplication and module operations. Visit for more Learning Resources

Need for Data Structure Data structures are important way of organizing data in a computer It has a different way of storing and organizing data so that it can be used efficiently. It helps us to understand relationship of one data element with other It helps to store a data in logical order. It stores a data that may grow and shrink dynamically over a time and allows efficient access.

Abstract data type Abstract data type is defined in term of its data items or its associated operations rather than by its implementation. It is just mathematical model which specifies “logical properties” and “operations” of the data type. It simply tells us “what “ has to be done.It doesn't tell “how” do do it. Advantages: Abstraction Encapsulation Generalization

Classification of data structures

PRIMITIVE DATASTRUCTURE The primitive data structures are the basic data types that are available in most of the programming languages. The primitive data structures are used to represent single values. Example: Integer, character, string, Boolean

NON-PRIMITIVE DATASTRUCTURE The data structure that are derived from primary data structure is known as non-Primitive data structure. These data types are used to store group of values. Example: Arrays, Structure, Union, linked list, Stacks, Queue etc.

LINEAR DATA STRUCTURES: In linear data structure the elements are stored in sequential order. The linear data structures are Array: Array is a collection of data of same data type stored in consecutive memory location and is referred by common name Linked list: Linked list is a collection of data of same data type but the data items need not be stored in consecutive memory locations. Stack: A stack is a Last-In-First-Out linear data structure in which insertion and deletion takes place at only one end called the top of the stack. Queue: A Queue is a First in First-Out Linear data structure in which insertions takes place one end called the rear and the deletions takes place at one end called the Front.

NON-LINEAR DATA STRUCTURE: Elements are stored based on the hierarchical relationship among the data. The following are some of the Non-Linear data structure Trees: Trees are used to represent data that has some hierarchical relationship among the data elements. Graph: Graph is used to represent data that has relationship between pair of elements not necessarily hierarchical in nature. For example electrical and communication networks, airline routes, flow chart, graphs for planning projects.

Operation on data structure. Insertion: Adding new element in the data structure Deletion: It is removing data from data structure Searching: It is finding location of a data in within a given data structure. Sorting: It is arranging of data in some logical order. Traversing: A data structure is accessing each data only once. Merging: It is combining of two similar data structures. For more detail contact us