Programming Languages

Slides:



Advertisements
Similar presentations
Introduction to Object Orientation System Analysis and Design
Advertisements

PROGRAMMING LANGUAGE (JAVA) UNIT 42 BY ROBERT BUTTERFIELD TELEPHONE Data Structures and Algorithms.
JAVA Programming (Session 7) When you are willing to make sacrifices for a great cause, you will never be alone. Instructor:
Data Structures.
Data Structures A data structure is a collection of data organized in some fashion that permits access to individual elements stored in the structure This.
Lecture 3 Introduction to Collections Advanced Java Programming 1 dr inż. Wojciech Bieniecki
Overview of Data Structures and Algorithms
COMPSCI 105 S Principles of Computer Science 12 Abstract Data Type.
1 CSC 421: Algorithm Design & Analysis Spring 2013 See online syllabus: (also on BlueLine2) Course.
CS 307 Fundamentals of Computer Science 1 Abstract Data Types many slides taken from Mike Scott, UT Austin.
Java Collections Framework COMP53 Oct 24, Collections Framework A unified architecture for representing and manipulating collections Allows collections.
What Is a Collection?  A collection (sometimes called a container) is simply an object that groups multiple elements into a single unit.  Collections.
1 Pertemuan 17 Building Object Database Application Matakuliah: M0174/OBJECT ORIENTED DATABASE Tahun: 2005 Versi: 1/0.
Unit 291 Java Collections Framework: Interfaces Introduction to the Java Collections Framework (JCF) The Comparator Interface Revisited The Collection.
The Java Collections Package C. DeJong Fall 2001.
SWE 4743 Abstract Data Types Richard Gesick. SWE Abstraction Classification, generalization, and aggregation are the basic ways we have of structuring.
SEG4110 – Advanced Software Design and Reengineering TOPIC G Java Collections Framework.
Java Collections Framework A presentation by Eric Fabricant.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 18 Slide 1 Software Reuse.
Software Construction Lecture 10 Frameworks
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.
ADTs and C++ Ch 2,3,4 May 12, 2015 Abstract Data Type (ADT) An abstract data type is: 1.A collection of data items (storage structures) 2.Basic operations.
©Ian Sommerville 2000 Software Engineering, 6th edition. Slide 1 Component-based development l Building software from reusable components l Objectives.
1 Java's Collection Framework By Rick Mercer with help from The Java Tutorial, The Collections Trail, by Joshua BlockThe Collections Trail.
Software Breakdown. Monday, October 26, 2009 CS410 Green Team Fall High Level Architecture.
CS212: DATA STRUCTURES Lecture 1: Introduction. What is this course is about ?  Data structures : conceptual and concrete ways to organize data for efficient.
COLLECTIONS Byju Veedu s/Collection.html.
Chapter 1 Data Structures and Algorithms. Primary Goals Present commonly used data structures Present commonly used data structures Introduce the idea.
Frameworks CompSci 230 S Software Construction.
Presented By:- Sudipta Dhara Roll Table of Content Table of Content 1.Introduction 2.How it evolved 3.Need of Middleware 4.Middleware Basic 5.Categories.
Data Structures and Algorithms Dr. Tehseen Zia Assistant Professor Dept. Computer Science and IT University of Sargodha Lecture 1.
Collections Data structures in Java. OBJECTIVE “ WHEN TO USE WHICH DATA STRUCTURE ” D e b u g.
Java Software Solutions Lewis and Loftus Chapter 9 1 Copyright 1997 by John Lewis and William Loftus. All rights reserved. Enhanced Class Design -- Introduction.
CS Ananda Gunawardena.  A collection (sometimes called a container) is simply an object that groups multiple elements into a single unit.  Collections.
Nov 22, 2010IAT 2651 Java Collections. Nov 22, 2010IAT 2652 Data Structures  With a collection of data, we often want to do many things –Organize –Iterate.
1 Java's Collection Framework Map and Sets. 2 Collection Framework  A collections framework is a unified architecture for representing and manipulating.
University of Limerick1 Collections The Collection Framework.
Ontologies Reasoning Components Agents Simulations An Overview of Model-Driven Engineering and Architecture Jacques Robin.
2) Database System Concepts and Architecture. Slide 2- 2 Outline Data Models and Their Categories Schemas, Instances, and States Three-Schema Architecture.
Collections Dwight Deugo Nesa Matic
Java Collection Classes Com379PT
3-1 Java's Collection Framework Another use of polymorphism and interfaces Rick Mercer.
ISC321 Database Systems I Chapter 2: Overview of Database Languages and Architectures Fall 2015 Dr. Abdullah Almutairi.
Databases and Database User ch1 Define Database? A database is a collection of related data.1 By data, we mean known facts that can be recorded and that.
Advanced Data Structures Lecture 1
CSC 222: Object-Oriented Programming
Systems Analysis and Design With UML 2
Data The lowest level of abstraction from which information and knowledge are derived. Any collection of recorded facts, numbers, or datum of any nature.
Lecture 2 of Computer Science II
structures and their relationships." - Linus Torvalds
Chapter 2 Database Environment Pearson Education © 2009.
MANAGING KNOWLEDGE FOR THE DIGITAL FIRM
Database Systems Chapter 1
The JISC IE Metadata Schema Registry
Chapter 40 Remote Method Invocation
Introduction to Computer Science for Majors II
Collections Not in our text.
Chapter10 Collections.
Chapter 46 Remote Method Invocation
Unit 2: Fundamentals of Computer Systems
Chapter 46 Remote Method Invocation
1.4 ทบทวน JAVA OO Programming Concepts Declaring and Creating Objects
Chapter 2 Database Environment Pearson Education © 2014.
Social Practice of the language: Describe and share information
Chapter 2 Database Environment Pearson Education © 2009.
Object-Oriented Programming (OOPs)
FRAMEWORKS AND REUSE What is “Framework”?
Abstraction and Objects
structures and their relationships." - Linus Torvalds
Presentation transcript:

Programming Languages Saturday, 23 February 2019 Mr C. Coetzee Programming Languages 4.3.10 4.3.11

4.3.10 Describe the characteristics and applications of a collection.

What is a collection? A collection is an object that groups multiple elements into a single unit. Collections are used to store, retrieve, manipulate, and communicate aggregate data. Typically, they represent data items that form a natural group: poker hand (a collection of cards) a mail folder (a collection of letters) telephone directory (a mapping of names to phone numbers).

Collection Frameworks A collections framework is a unified architecture for representing and manipulating collections. All collections frameworks contain the following: Interfaces: abstract data types that represent collections Implementations: concrete implementations of the collection interfaces Algorithms: These are the methods that perform useful computations, such as searching and sorting, on objects that implement collection interfaces. The algorithms are said to be polymorphic: that is, the same method can be used on many different implementations of the appropriate collection interface

Benefits: Java Collections Framework Reduces programming effort Increases program speed and quality Allows interoperability among unrelated APIs Reduces effort to learn and to use new APIs Reduces effort to design new APIs Fosters software reuse API = a set of functions and procedures that allow the creation of applications which access the features or data of an operating system, application, or other service.

4.3.11 Construct algorithms using the access methods of a collection