Basic Definitions Data Structures: Data Structures: A data structure is a systematic way of organizing and accessing data. Or, It’s the logical relationship.

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.
Programming Paradigms Introduction. 6/15/2005 Copyright 2005, by the authors of these slides, and Ateneo de Manila University. All rights reserved. L1:
ADVANCED DATA STRUCTURES AND ALGORITHM ANALYSIS Chapter 3 Lists, Stacks, and Queues.
Data Structures: A Pseudocode Approach with C
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,
Chapter 1 Object Oriented Programming. OOP revolves around the concept of an objects. Objects are crated using the class definition. Programming techniques.
Data Structures & Algorithms
CHAPTER 3 COLLECTIONS Abstract Data Types. 2 A data type consists of a set of values or elements, called its domain, and a set of operators acting on.
1 Foundations of Software Design Fall 2002 Marti Hearst Lecture 12: Stacks and Queues.
ISBN Chapter 11 Abstract Data Types and Encapsulation Concepts.
COMPSCI 125 Spring 2005 ©TheMcGraw-Hill Companies, Inc. Permission required for reproduction or display. Odds and Ends Strings (from Chapter 9) StringTokenizer.
CS 171: Introduction to Computer Science II Stacks Ymir Vigfusson.
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.
Prof. Amr Goneid, AUC1 CSCE 210 Data Structures and Algorithms Prof. Amr Goneid AUC Part 1. Data Modeling and ADTs.
Text Book: M. T. Goodrich and R. Tamassia, "Data Structures and Algorithms in Java," 4th edition, 2006, Wiley & Sons, Inc., ISBN Text Book:
Topic 3 The Stack ADT.
Introduction to Data Structures. Definition Data structure is representation of the logical relationship existing between individual elements of data.
Introduction Ellen Walker CPSC 201 Data Structures Hiram College.
Mastering STACKS AN INTRODUCTION TO STACKS Data Structures.
Computer Science Department Data Structures and Algorithms Lecture 1.
Chapter 5: Programming Languages and Constructs by Ravi Sethi Activation Records Dolores Zage.
Comp 245 Data Structures Linked Lists. An Array Based List Usually is statically allocated; may not use memory efficiently Direct access to data; faster.
Chapter 5 – Dynamic Data Structure Par1: Abstract Data Type DATA STRUCTURES & ALGORITHMS Teacher: Nguyen Do Thai Nguyen
Computer Science Department Data Structure & Algorithms Lecture 8 Recursion.
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 - 1) Introduction to C Data Structures & Abstract Data Types Instructor - Andrew S. O’Fallon CptS 122 (August 26, 2015) Washington State University.
Algorithms & Flowchart
Data Structures and Algorithms Lecture 1 Instructor: Quratulain Date: 1 st Sep, 2009.
Data Structure Introduction.
Data Structures Lecture 1: Introduction. Course Contents Data Types   Overview, Introductory concepts   Data Types, meaning and implementation  
SOFTWARE DESIGN. INTRODUCTION There are 3 distinct types of activities in design 1.External design 2.Architectural design 3.Detailed design Architectural.
ISBN Chapter 11 Abstract Data Types and Encapsulation Concepts.
Ordered Linked Lists using Abstract Data Types (ADT) in Java Presented by: Andrew Aken.
Data Design and Implementation. Definitions Atomic or primitive type A data type whose elements are single, non-decomposable data items Composite type.
2 Obaid Ullah HOD Computer Science Dept. Superior University Sialkot Campus.
ISBN Chapter 11 Abstract Data Types and Encapsulation Concepts.
Controlling Computers with Programs When you create a computer program you are creating a set of instructions that tell the computer exactly and completely.
Introduction to Objects and Encapsulation Computer Science 4 Mr. Gerb Reference: Objective: Understand Encapsulation and abstract data types.
REEM ALMOTIRI Information Technology Department Majmaah University.
Onlinedeeneislam.blogspot.com1 Design and Analysis of Algorithms Slide # 1 Download From
Constructs for Data Organization and Program Control, Scope, Binding, and Parameter Passing. Expression Evaluation.
ARRAYS IN C/C++ (1-Dimensional & 2-Dimensional) Introduction 1-D 2-D Applications Operations Limitations Conclusion Bibliography.
BITS Pilani Pilani Campus Data Structure and Algorithms Design Dr. Maheswari Karthikeyan Lecture1.
Code: BCA302 Data Structures with C Prof.(Dr.) Monalisa Banerjee By.
Introduction toData structures and Algorithms
Planning & System installation
Data Structure Interview Question and Answers
GC211Data Structure Lecture2 Sara Alhajjam.
Planning & System installation
DATA STRUCTURES AND OBJECT ORIENTED PROGRAMMING IN C++
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.
Data Structures Interview / VIVA Questions and Answers
Lecture 2 of Computer Science II
Array Array is a variable which holds multiple values (elements) of similar data types. All the values are having their own index with an array. Index.
Types of Programming Languages
Data Structures and Database Applications Abstract Data Types
structures and their relationships." - Linus Torvalds
Abstract Data Types and Encapsulation Concepts
structures and their relationships." - Linus Torvalds
Chapter 12 Collections.
Introduction to Data Structures
Parameter Passing Actual vs formal parameters
Introduction to Data Structure
Chapter 12 Collections.
Abstract Data Types Abstraction is to distill a system to its most fundamental parts. Applying the abstraction paradigm to the design of data structures.
structures and their relationships." - Linus Torvalds
Chapter 11 Abstraction - The concept of abstraction is fundamental in
Presentation transcript:

Basic Definitions Data Structures: Data Structures: A data structure is a systematic way of organizing and accessing data. Or, It’s the logical relationship between data elements. A data structure is a systematic way of organizing and accessing data. Or, It’s the logical relationship between data elements. Types of Data Structures: Types of Data Structures: - Linear D.S., such as arrays, stacks, queues. - Non-linear D.S., such as tree. Arrays: Arrays: An array is a numbered (indexed) collection of variables, all of the same type.

Storage Structure: Storage Structure: It is the physical (actual) representation of data elements in storage (memory). Types of Storage Structures: Types of Storage Structures: 1- Sequential S.S. (Suitable for storage of static D.S. such as arrays) (Suitable for storage of static D.S. such as arrays) 2- Linked S.S. (Suitable for storage of dynamic D.S.)

ADT (Abstract Data Type): It is a mathematical model of a data structure that specifies the following: - the Type of data stored, - the Operations performed (supported) on them, and - the Types of Parameters of these operations. An ADT is modeled in Java by a class. Abstraction: An ADT specifies what each operation does, but not how it does it.

Classes: Classes: A class defines the data being stored and operations supported by the objects. Objects : Objects : An objects is an instance of the class. Interfaces : Interfaces : An interface is simply a list of method declarations, where each method has an empty body.

Algorithm: Algorithm: An algorithm is a step-by-step procedure for performing some task in a finite amount of time. An algorithm is a step-by-step procedure for performing some task in a finite amount of time. Pseudo Code Pseudo Code An algorithm is written (expressed) in a mixture of Natural languages and High-level programming languages, this is called pseudo code. A Program: A Program: A program is the implementation (translation) of an algorithm in some high-level programming language.