Lecture 1 Data Structures Aamir Zia. Introduction Course outline Rules and regulations Course contents Good Programming Practices Data Types and Data.

Slides:



Advertisements
Similar presentations
PROGRAMMING LANGUAGE (JAVA) UNIT 42 BY ROBERT BUTTERFIELD TELEPHONE Data Structures and Algorithms.
Advertisements

Data Structures.
Abstract Data Types (ADT)
1 ES 314 Advanced Programming Lec 2 Sept 3 Goals: Complete the discussion of problem Review of C++ Object-oriented design Arrays and pointers.
Coursenotes CS3114: Data Structures and Algorithms Clifford A. Shaffer Yang Cao Department of Computer Science Virginia Tech Copyright ©
Introduction - The Need for Data Structures Data structures organize data –This gives more efficient programs. More powerful computers encourage more complex.
1 A Introduction to Data Structures and Algorithm Analysis Data Structures Asst. Professor Kiran Soni.
Data Structures and Programming.  John Edgar2.
Data Structures 1- Course Syllabus. 2- Introduction about Data Structures.
Data Structures 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.
Teaching Teaching Discrete Mathematics and Algorithms & Data Structures Online G.MirkowskaPJIIT.
Data Structures and Programming.  Today:  Administrivia  Introduction to 225, Stacks  Course website: 
Lecture No.01 Data Structures Dr. Sohail Aslam
Computer Science Department Data Structures and Algorithms Lecture 1.
Dr. Engr. Sami ur Rahman Assistant Professor Department of Computer Science University of Malakand Data Structure: Introduction.
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.
1 CS 350 Data Structures Chaminade University of Honolulu.
ITEC 2620M Introduction to Data Structures Instructor: Prof. Z. Yang Course Website: ec2620m.htm Office: Tel 3049.
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 Lecture 1: Introduction. Course Contents Data Types   Overview, Introductory concepts   Data Types, meaning and implementation  
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 
1 Data Structures CSCI 132, Spring 2014 Lecture 1 Big Ideas in Data Structures Course website:
Data Structures and Algorithms in Java AlaaEddin 2012.
DATA STRUCTURES (CS212D) Overview & Review Instructor Information 2  Instructor Information:  Dr. Radwa El Shawi  Room: 
1 A Practical Introduction to Data Structures and Algorithm Analysis Chaminade University of Honolulu Department of Computer Science Text by Clifford Shaffer.
Lecture 1 Data Structures Shafay Shamail September 05, 2006.
BITS Pilani Pilani Campus Data Structure and Algorithms Design Dr. Maheswari Karthikeyan Lecture1.
Data Structures Dr. Abd El-Aziz Ahmed Assistant Professor Institute of Statistical Studies and Research, Cairo University Springer 2015 DS.
Maitrayee Mukerji. INPUT MEMORY PROCESS OUTPUT DATA INFO.
Mohammed I DAABO COURSE CODE: CSC 355 COURSE TITLE: Data Structures.
Advanced Data Structures Lecture 1
Introduction toData structures and Algorithms
CSC 421: Algorithm Design & Analysis
CSCE 210 Data Structures and Algorithms
Introduction to Data Structures
CSC 427: Data Structures and Algorithm Analysis
CSC 222: Computer Programming II
Course Developer/Writer: A. J. Ikuomola
The Design and Analysis of Algorithms
Data Structures and Algorithms
GC211Data Structure Lecture2 Sara Alhajjam.
CSC 421: Algorithm Design & Analysis
ECET 370 HELPS Education Your Life-- ecet370helps.com.
ECET 370 Lessons in Excellence-- ecet370.com. ECET 370 Entire Course (Devry) For more course tutorials visit ECET 370 Week 1 Lab 1 ECET.
ECET 370 HELPS Lessons in Excellence- -ecet370helps.com.
ECET370 Education for Service-- ecet370.com. ECET 370 Entire Course (Devry) For more course tutorials visit ECET 370 Week 1 Lab 1 ECET.
ECET 370 HELPS Education for Service- - ecet370helps.com.
structures and their relationships." - Linus Torvalds
Data Structures (CS212D) Overview & Review.
structures and their relationships." - Linus Torvalds
Objective of This Course
Data Structures: Introductory lecture
Week # 1: Overview & Review
Data Structures (CS212D) Overview & Review.
ITEC 2620M Introduction to Data Structures
Introduction to Data Structures
Introduction to Data Structure
Intro to Data Structures and ADTs
Introduction to Algorithm and its Complexity Lecture 1: 18 slides
Administrivia- Introduction
Data Structures Goal: organize data Criteria: facilitate efficient
COP3530- Data Structures Introduction
structures and their relationships." - Linus Torvalds
Data Structures and Algorithms Lecture-1: Introduction
Presentation transcript:

Lecture 1 Data Structures Aamir Zia

Introduction Course outline Rules and regulations Course contents Good Programming Practices Data Types and Data Structures ADT

Course Description Title: Data Structures and Algorithms Code: CMP-210 Credit Hours:3 Prerequisite: OOP Follow Up: Design and Analysis of Algorithms

Contents Introduction to Algorithms Arrays Stacks Recursion Queues Lists and its variations Trees Hashing Searching and sorting Techniques Graphs

Good Programming Practices Programs and subprograms should be well structured. All source code should be documented. Source code should be aesthetic; it should be formatted in a style that enhances its readability.

Data Types In computer programming, a data type is a classification identifying one of various types of data, such as floating-point,.. Simple (basic) – char, int, float, double Modifiers – signed, unsigned Qualifiers – static, const, volatile, void Structured (derived) – Arrays, structures, unions, classes Advanced (composite) – List, queues, stacks, trees, graphs

Data Structures and algorithms Algorithms – Outline, the essence of a computational procedure, step by step instruction Program – An implementation of an algorithm in some computer programming languages Data Structures – Goal: organize data – Criteria: facilitate efficient storage of data retrieval of data manipulation of data Process: – select and design appropriate data types Data may be organized in many different ways. the logical and mathematical model of a particular organization of data is called Data structure

Need for Data Structures  Data structures organize data  more efficient programs.  More powerful computers  more complex applications.  More complex applications demand more calculations.

Organizing Data  Any organization for a collection of records that can be searched, processed in any order, or modified.  The choice of data structure and algorithm can make the difference between a program running in a few seconds or many days.

Efficiency  A solution is said to be efficient if it solves the problem within its resource constraints. –Space –Time  The cost of a solution is the amount of resources that the solution consumes.

Selecting a Data Structure Select a data structure as follows: 1.Analyze the problem to determine the resource constraints a solution must meet. 2.Determine the basic operations that must be supported. Quantify the resource constraints for each operation. 3.Select the data structure that best meets these requirements.

Examples

Abstract Data Type (ADT) Abstraction – Separating data from implementation – Generalization – a concept or idea not associated with any specific instance ADT – A collection of related data items together with basic operations between them and operations to be performed on them

abstract data type (ADT)

implementation of an ADT

Goals of this Course 1.Reinforce the concept that costs and benefits exist for every data structure. 2.Learn the commonly used data structures. –These form a programmer's basic data structure “toolkit”. 3.Understand how to measure the cost of a data structure or program. –These techniques also allow you to judge the merits of new data structures that you or others might invent.