Data Structures Lecture 1: Introduction Azhar Maqsood NUST Institute of Information Technology (NIIT)

Slides:



Advertisements
Similar presentations
Data Structures.
Advertisements

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,
CSCE 210 Data Structures and Algorithms
CMSC 132: Object-Oriented Programming II
CMSC 132: Object-Oriented Programming II Nelson Padua-Perez William Pugh Department of Computer Science University of Maryland, College Park.
EE 220 (Data Structures and Analysis of Algorithms) Instructor: Saswati Sarkar T.A. Prasanna Chaporkar, Programming.
DATA STRUCTURE Subject Code -14B11CI211.
CSCE 3110 Data Structures and Algorithm Analysis.
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.
METU Computer Engineering Department
Computer Science 102 Data Structures and Algorithms V Fall 2009 Lecture 1: administrative details Professor: Evan Korth New York University 1.
Data Structures CS231 Instructor: Dr. Hammad Majeed Office: Academic Block 4 First Floor.
© 2004 Goodrich, Tamassia CS2210 Data Structures and Algorithms Lecture 1: Course Overview Instructor: Olga Veksler.
CS223 Algorithms D-Term 2013 Instructor: Mohamed Eltabakh WPI, CS Introduction Slide 1.
Lecture No.01 Data Structures Dr. Sohail Aslam
ITEC 2620A Introduction to Data Structures
COMPE 226 Data Structures 2015 Fall Murat KARAKAYA Department of Computer Engineering.
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.
Instructor Information: Dr. Radwa El Shawi Room: Week # 1: Overview & Review.
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.
CS 140 Computer Programming (I) Second semester (3 credits) Imam Mohammad bin Saud Islamic University College of Computer Science and Information.
Computer Science 102 Data Structures and Algorithms CSCI-UA.0102 Fall 2012 Lecture 1: administrative details Professor: Evan Korth New York University.
Nirmalya Roy School of Electrical Engineering and Computer Science Washington State University Cpt S 223 – Advanced Data Structures Course Introduction.
(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 Structures for Programmers Vamshi Ambati
Introduction to ECE 2401 Data Structure Fall 2005 Chapter 0 Chen, Chang-Sheng
Data Structures Lecture 1: Introduction. Course Contents Data Types   Overview, Introductory concepts   Data Types, meaning and implementation  
ICS202 Data Structures King Fahd University of Petroleum & Minerals College of Computer Science & Engineering Information & Computer Science Department.
Nirmalya Roy School of Electrical Engineering and Computer Science Washington State University Cpt S 223 – Advanced Data Structures Course 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 
CMSC 2021 CMSC 202 Computer Science II for Majors Spring 2002 Sections Ms. Susan Mitchell.
CMSC 2021 CMSC 202 Computer Science II for Majors Spring 2001 Sections Ms. Susan Mitchell.
1 Data Structures COP 4530 Spring 2010 MW 4:35 PM – 5:50 PM CHE 101 Instructor:Dr. Rollins Turner Dept. of Computer Science and Engineering ENB
2 Obaid Ullah HOD Computer Science Dept. Superior University Sialkot Campus.
Data Structures and Algorithms in Java AlaaEddin 2012.
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
Principles of Imperative Computation Lecture 1 January 15 th, 2012.
Data Structures By Dr. Mehedi Masud ِAssociate Professor, Computer Science Dept. College of Computers and Information Systems Taif University 1.
BITS Pilani Pilani Campus Data Structure and Algorithms Design Dr. Maheswari Karthikeyan Lecture1.
ICS 151 Digital Logic Design Spring 2004 Administrative Issues.
1 CENG 707 Data Structures and Algorithms Nihan Kesim Çiçekli Department of Computer Engineering Middle East Technical University Fall 2013.
CPS120: Introduction to Computer Science Nell Dale John Lewis Abstract Data Types.
Data Structures Dr. Abd El-Aziz Ahmed Assistant Professor Institute of Statistical Studies and Research, Cairo University Springer 2015 DS.
Introduction toData structures and Algorithms
CSCE 210 Data Structures and Algorithms
CENG 707 Data Structures and Algorithms
CS 315 Data Structures B. Ravikumar Office: 116 I Darwin Hall Phone:
CS5040: Data Structures and Algorithms
Computer Science 102 Data Structures CSCI-UA
Artificial Intelligence (CS 461D)
structures and their relationships." - Linus Torvalds
Data Structures (CS212D) Overview & Review.
Data Structures: Introductory lecture
Week # 1: Overview & Review
Data Structures (CS212D) Overview & Review.
Introduction to Data Structure
COP3530- Data Structures Introduction
structures and their relationships." - Linus Torvalds
Data Structures and Algorithms Lecture-1: Introduction
Presentation transcript:

Data Structures Lecture 1: Introduction Azhar Maqsood NUST Institute of Information Technology (NIIT)

Administrative Instructor: Azhar Maqsood     Extension: 136   Academic Block 2, Faculty Office   Web Address : Consulting hours:   Tuesdays and Thursdays   Depends on your schedule me and get in touch if in need Regularly check course folder in FileSvr and My website

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

Assignment Policy DO NOT copy assignments   Both of the copy cases will be graded zero Submission time will be 1500 hrs on the due date   NO credit on LATE submission of any deliverable. No excuse of USB/Floppy/ servers not working Sorry! No Exceptions

Weightage OHT’s30% (15 +15) Quizzes10% Assignments10% Project5% Final Test45% Minimum Quizzes: 5-6 (Unannounced) Assignments: 1 Every 3 weeks

Honor Code Dishonesty will NOT be tolerated. Will result in zero marks in the corresponding work

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