Data Structures Lecture 1: Introduction. Course Contents Data Types   Overview, Introductory concepts   Data Types, meaning and implementation  

Slides:



Advertisements
Similar presentations
Chapter 1: INTRODUCTION TO DATA STRUCTURE
Advertisements

PROGRAMMING LANGUAGE (JAVA) UNIT 42 BY ROBERT BUTTERFIELD TELEPHONE Data Structures and Algorithms.
Data Structures.
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 307 Fundamentals of Computer Science 1 Abstract Data Types many slides taken from Mike Scott, UT Austin.
©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.
1 ES 314 Advanced Programming Lec 2 Sept 3 Goals: Complete the discussion of problem Review of C++ Object-oriented design Arrays and pointers.
The Design and Analysis of Algorithms
Introduction - The Need for Data Structures Data structures organize data –This gives more efficient programs. More powerful computers encourage more complex.
DATA STRUCTURE Subject Code -14B11CI211.
Data Structures 1- Course Syllabus. 2- Introduction about Data Structures.
Data Structures Lecture-1:Introduction
Data Structures & Agorithms Lecture-1: Introduction.
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.
Data Structures CS231 Instructor: Dr. Hammad Majeed Office: Academic Block 4 First Floor.
Copyright © Wondershare Software Introduction to Data Structures Prepared by: Eng. Ahmed & Mohamed Taha.
ISOM MIS 215 Module 3 – Stacks and Queues. ISOM Where are we? 2 Intro to Java, Course Java lang. basics Arrays Introduction NewbieProgrammersDevelopersProfessionalsDesigners.
Data Structures Lecture 1: Introduction Azhar Maqsood NUST Institute of Information Technology (NIIT)
Introduction to Data Structures. Definition Data structure is representation of the logical relationship existing between individual elements of data.
Chapter 3 List Stacks and Queues. Data Structures Data structure is a representation of data and the operations allowed on that data. Data structure is.
Data Structures and Abstract Data Types "Get your data structures correct first, and the rest of the program will write itself." - David Jones.
Course: Object Oriented Programming - Abstract Data Types Unit1: IntroductionSlide Number 1 Introduction Course: Object Oriented Programming Abstract Data.
Computer Science Department Data Structures and Algorithms Lecture 1.
Java Collections An Introduction to Abstract Data Types, Data Structures, and Algorithms David A Watt and Deryck F Brown © 2001, D.A. Watt and D.F. Brown.
Instructor Information: Dr. Radwa El Shawi Room: Week # 1: Overview & Review.
Nyhoff, ADTs, Data Structures and Problem Solving with C++, Second Edition, © 2005 Pearson Education, Inc. All rights reserved Graphs.
DATA STRUCTURES (CS212D) Week # 1: Overview & Review.
CS212: DATA STRUCTURES Lecture 1: Introduction. What is this course is about ?  Data structures : conceptual and concrete ways to organize data for efficient.
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.
(1 - 1) Introduction to C Data Structures & Abstract Data Types Instructor - Andrew S. O’Fallon CptS 122 (August 26, 2015) Washington State University.
Overview of Course Java Review 1. This Course Covers, using Java Abstract data types Design, what you want them to do (OOD) Techniques, used in implementation.
Data Structures and Algorithms Lecture 3 Instructor: Quratulain Date: 8 th September, 2009.
Chapter 1 Data Structures and Algorithms. Primary Goals Present commonly used data structures Present commonly used data structures Introduce the idea.
Data Structure Introduction.
Data Structures and Algorithms Dr. Tehseen Zia Assistant Professor Dept. Computer Science and IT University of Sargodha Lecture 1.
Elementary Data Organization. Outline  Data, Entity and Information  Primitive data types  Non primitive data Types  Data structure  Definition 
Collections Data structures in Java. OBJECTIVE “ WHEN TO USE WHICH DATA STRUCTURE ” D e b u g.
2 Obaid Ullah HOD Computer Science Dept. Superior University Sialkot Campus.
DATA STRUCTURES (CS212D) Overview & Review Instructor Information 2  Instructor Information:  Dr. Radwa El Shawi  Room: 
REEM ALMOTIRI Information Technology Department Majmaah University.
Onlinedeeneislam.blogspot.com1 Design and Analysis of Algorithms Slide # 1 Download From
Data Structure and Algorithms
BITS Pilani Pilani Campus Data Structure and Algorithms Design Dr. Maheswari Karthikeyan Lecture1.
CPS120: Introduction to Computer Science Nell Dale John Lewis Abstract Data Types.
Lecture 1 Data Structures Aamir Zia. Introduction Course outline Rules and regulations Course contents Good Programming Practices Data Types and Data.
9/27/2016IT 1791 Abstraction A tool (concept) to manage complexity Hide irrelevant details; focus on the features needed Primitive date types are already.
Mohammed I DAABO COURSE CODE: CSC 355 COURSE TITLE: Data Structures.
Introduction toData structures and Algorithms
Course Developer/Writer: A. J. Ikuomola
The Design and Analysis of Algorithms
CS 315 Data Structures B. Ravikumar Office: 116 I Darwin Hall Phone:
Abstraction A tool (concept) to manage complexity
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.
Introduction to Data Structure
structures and their relationships." - Linus Torvalds
Data Structures (CS212D) Overview & Review.
structures and their relationships." - Linus Torvalds
Introduction to Data Structures
Data Structures: Introductory lecture
Week # 1: Overview & Review
Data Structures (CS212D) Overview & Review.
Introduction to Data Structure
COP3530- Data Structures Introduction
(1 - 2) Introduction to C Data Structures & Abstract Data Types
structures and their relationships." - Linus Torvalds
Data Structures and Algorithms Lecture-1: Introduction
Presentation transcript:

Data Structures Lecture 1: Introduction

Course Contents Data Types   Overview, Introductory concepts   Data Types, meaning and implementation   Abstract data types (ADT)   Arrays (revisited)   Structures Linked Lists Stacks (recursion) Queues Trees (traversals, implementation)

Course Contents Binary Trees Indexing Methods   Hashing Binary Search Trees Balanced Search Trees  Adelson-Velskii-Landis  (AVL Tree) Adelson-Velskii-Landis Heaps Splay Trees Graphs, adjacency matrices and lists

Text book “Data structures using C and C++”, Yedidyah Langsam, Moshe J Augenstein and Aaron M. Tenenbaum, 2 ed, 2002 “Data structures using C and C++”, Yedidyah Langsam, Moshe J Augenstein and Aaron M. Tenenbaum, 2 ed, 2002 Reference Books: D. Wood: “Data structures, algorithms and performance”, Addison-Wesley, 1993 C++ Data Structures by Nell Dale and David Teague Any other book on Data Structures

Lets start the course!

Why Study? Designed to develop students understanding the impact of structuring data to achieve efficiency of a solution to a problem After completion you will be familiar with important and most often used data structuring techniques. It will enable you to understand the manner in which data is organized and presented later.

Objectives of the course Present in a systematic fashion the most commonly used data structures, emphasizing their abstract properties. Discuss typical algorithms that operate each kind of data structure, and analyze their performance. Compare different Data Structures for solving the same problem, and choose the best

Abstract Data Type ADT A data type whose properties (domain and operations) are specified independently of any particular implementation ADT is a mathematical model which gives the a set of utilities available to the user but never states the details of its implementation. In OO-Programming a Class is an ADT

Data Structures: Definition A collection of data elements whose organization is characterized by accessing operations that are used to store and retrieve the individual data elements; The logical arrangement of data as used by a system for data management; a representation of a data model in computer form

Data Structures: More specifically   A data structure is a way of grouping fundamental types (like integers, floating point numbers, and arrays) into a bundle that represents some identifiable thing.   For example, a matrix may be thought of as the bundle of the number of rows and columns, and the array of values of the elements of the matrix. This information must be known in order to manipulate the matrix.   C introduced the struct for declaring and manipulating data structures. C++ extended the struct to a class

Goals of Data structures Identify and develop useful mathematical entities and operations and to determine what classes of problems can be solved by using these entities and operations. Determine representation of those abstract entities and to implement the abstract operation on these concrete representations.

A Real Life Example Lisa Michele John Bronson Paola Electronic Phone Book Contains different DATA: - names - phone number - addresses Need to perform certain OPERATIONS: - add - delete - look for a phone number - look for an address How to organize the data so to optimize the efficiency of the operations

The first Data Structure An Array!

Word about Arrays! Lets Get Started: Arrays are data structures   Finite   Contiguous   Fast   Direct Access   All elements of same data type   (Can be based upon primitive or ADT)   Insertion / Deletion ??? HOW?? 

Arrays How to Input arrays How to process arrays How to insert an item in an array How to delete an item from an array How to pass an array

Array2378 How to add How to add 1 in the array? Not possible