Introduction to data structures

Slides:



Advertisements
Similar presentations
Data Structures Through C
Advertisements

STRING AN EXAMPLE OF REFERENCE DATA TYPE. 2 Primitive Data Types  The eight Java primitive data types are:  byte  short  int  long  float  double.
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.
Arrays Applications of Computer Programming in Earth Sciences Instructor: Dr. Cheng-Chien LiuCheng-Chien Liu Department of Earth Sciences National Cheng.
Introduction to Data Structure, Spring 2007 Slide- 1 California State University, Fresno Introduction to Data Structure Introduction of Concepts Ming Li.
Rossella Lau Lecture 1, DCO20105, Semester A, DCO Data structures and algorithms  Lecture 1: Introduction What this course is about:  Data.
INTRODUCTION TO DATA STRUCTURE. Topics To Be Discussed………………………. Meaning of Data Structure Classification of Data Structure Data Structure Operations.
Rossella Lau Lecture 1, DCO20105, Semester A, DCO Data structures and algorithms  Lecture 1: Introduction What this course is about:  Data.
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.
Lecture No.01 Data Structures Dr. Sohail Aslam
CMPSC 16 Problem Solving with Computers I Spring 2014 Instructor: Lucas Bang Lecture 15: Linked 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.
Computers Data Representation Chapter 3, SA. Data Representation and Processing Data and information processors must be able to: Recognize external data.
CSC 211 Data Structures Lecture 7
Data Structure & File Systems Hun Myoung Park, Ph.D., Public Management and Policy Analysis Program Graduate School of International Relations International.
 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.
3 Data. Software And Data Data Data element – a single, meaningful unit of data. Name Social Security Number Data structure – a set of related data elements.
Elementary Data Organization. Outline  Data, Entity and Information  Primitive data types  Non primitive data Types  Data structure  Definition 
Dale Roberts Department of Computer and Information Science, School of Science, IUPUI CSCI 240 Elementary Data Structures Array Lists Array Lists Dale.
REEM ALMOTIRI Information Technology Department Majmaah University.
Onlinedeeneislam.blogspot.com1 Design and Analysis of Algorithms Slide # 1 Download From
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.
CPS120: Introduction to Computer Science Nell Dale John Lewis Abstract Data Types.
9/27/2016IT 1791 Abstraction A tool (concept) to manage complexity Hide irrelevant details; focus on the features needed Primitive date types are already.
Introduction toData structures and Algorithms
STACKS & QUEUES for CLASS XII ( C++).
Data Structure By Amee Trivedi.
Course Developer/Writer: A. J. Ikuomola
Data Structures Michael J. Watts
5.13 Recursion Recursive functions Functions that call themselves
Indexing Goals: Store large files Support multiple search keys
Lectures linked lists Chapter 6 of textbook
Data Structures & File Processing
Data Structure Interview Question and Answers
Review Deleting an Element from a Linked List Deletion involves:
MIS 215 Module 1 – Unordered Lists
Chapter 15 Lists Objectives
UNIT-3 LINKED LIST.
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.
Stacks and Queues.
Introduction to Data Structures
CS150 Introduction to Computer Science 1
Program based on pointers in C.
C++ Arrays.
Introduction to Data Structure
Introduction to Data Structures
Chapter 15 Lists Objectives
Arrays and Linked Lists
Introduction to Data Structures
كلية المجتمع الخرج البرمجة - المستوى الثاني
Introduction to Data Structures
Introduction To Programming Information Technology , 1’st Semester
CSCI 3333 Data Structures Array
Data structures and algorithms
Chapter 11 Data Structures 1.
Introduction to Data Structures
Introduction to Data Structure
By Yogesh Neopaney Assistant Professor Department of Computer Science
Structures In C Programming By Rajanikanth B.
COP3530- Data Structures Introduction
Java: Variables, Input and Arrays
Important Problem Types and Fundamental Data Structures
Introduction to data structures
BY PROF. IRSHAD AHMAD LONE.
LINEAR DATA STRUCTURES
Presentation transcript:

Introduction to data structures A.H. Amalorpava Akila Assistant Professor, Department of Computer Science, St.Joseph’s College(Autonomous), Tiruchirappalli – 620 002.

What is Data structure? Data structure is a way of collecting and organizing the data in such a way that we can perform operations on these data in an effective way. The operations are adding, updating, deleting, sorting, searching the data and so on. For example, we have some data which has, Employee's name “Raju" and age 25. Here “Raju" is of String data type and 25 is of integer data type. We can organize these data as a record like Employee record, which will have both employee's name and age in it. Now we can collect and store employee's records in a file or database as a data structure.  For example: Employee Name Age “Tony” 25, “Arun” 33, “Gokul” 26

Types of Data structures Primitive data structures Built-in data structures Non-primitive data structures User defined data structures

Types of Data structures Primitive data structures char ( Example: char sex=‘m’; char ename[25]; ) integer ( Example: int age; ) float (Example: float salary; ) Boolean (Example: bool flag; ) Pointer ( Example: int *p, q=10; ) p=&q;

Types of Data structures Non-primitive data structures Arrays Array is a kind of data structure that can store a fixed-size sequential collection of elements of the same type. ( Example: int num[10];, char choice[3]=“yes” ) Lists Linear list ( stacks and queues using an array) Data items are arranged in sequence. Traverse through elements or nodes sequentially. ( Example: Array ) Non-linear list ( Trees and Graphs ) Data items are not in sequence. One node might be connected to several other nodes it can’t always be traversed sequentially. ( Example: Trees and Graphs ) Files A file is an object on a computer that stores data and information. A file is created using a software program on the computer. For example, to create a text file you would use a text editor. Computer files are stored on a drive (e.g., the hard drive), disc, (e.g., DVD).

DATA STRUCTURES

Thank You