CSE 115 / 503 Introduction to Computer Science I

Slides:



Advertisements
Similar presentations
Chapter 4 - Object-Oriented Analysis and Design in a Nutshell1 Chapter 4 Object-Oriented Analysis and Design in a Nutshell.
Advertisements

CSE115: Introduction to Computer Science I Dr. Carl Alphonce 219 Bell Hall
OBJECT ORIENTED PROGRAMMING M Taimoor Khan
An Introduction to Programming and Object Oriented Design using Java 2 nd Edition. May 2004 Jaime Niño Frederick Hosch Chapter 0 : Introduction to Object.
CSE115: Introduction to Computer Science I Dr. Carl Alphonce 219 Bell Hall
CSE115: Introduction to Computer Science I Dr. Carl Alphonce 219 Bell Hall
CSE115: Introduction to Computer Science I Dr. Carl Alphonce 219 Bell Hall NEW   NEW 1.
Lecture #3 – Agenda Cell phones off & name signs out –I’ll judge signs on Wednesday next week Quick review & Questions Activity Problem solving.
CSE115: Introduction to Computer Science I Dr. Carl Alphonce 219 Bell Hall Office hours: M-F 11:00-11:
CSE116: Introduction to Computer Science 2 Dr. Carl Alphonce 219 Bell Hall Office hours: M-F 11:00-11:
CSE115: Introduction to Computer Science I Dr. Carl Alphonce 219 Bell Hall
Lecture #5 Agenda Cell phones off & name signs out Review Questions? UML class diagram introduction Our first class definition!
CSE115: Introduction to Computer Science I Dr. Carl Alphonce 219 Bell Hall
CSE115: Introduction to Computer Science I Dr. Carl Alphonce 219 Bell Hall
CSE115: Introduction to Computer Science I Dr. Carl Alphonce 219 Bell Hall
CSE115: Introduction to Computer Science I Dr. Carl Alphonce 219 Bell Hall
CSE115: Introduction to Computer Science I Dr. Carl Alphonce 219 Bell Hall
CSE115: Introduction to Computer Science I Dr. Carl Alphonce 219 Bell Hall
CSE115: Introduction to Computer Science I Dr. Carl Alphonce 219 Bell Hall Office hours: M-F 11:00-11:
CSE115: Introduction to Computer Science I Dr. Carl Alphonce 219 Bell Hall
CSE115: Introduction to Computer Science I Dr. Carl Alphonce 219 Bell Hall Office hours: M-F 11:00-11:
CSE115: Introduction to Computer Science I Dr. Carl Alphonce 219 Bell Hall
CSE115: Introduction to Computer Science I Dr. Carl Alphonce 219 Bell Hall
Introduction To System Analysis and Design
Introduction to System Analysis and Design
1 SWE Introduction to Software Engineering Lecture 23 – Architectural Design (Chapter 13)
CSE 115 / 503 Introduction to Computer Science For Majors I Carl Alphonce 219 Bell Hall.
Lecture #4 Agenda Cell phones off & name signs out Review Questions? Objects The birds-and-the-bees talk.
Lecture 11: Chapter 22 Topics –Object Oriented Modeling –UML –Use case.
Fall 2005CSE 115/503 Introduction to Computer Science I1 Lecture #4 Agenda Announcements Review Questions? Classes and objects UML class diagrams Creating.
Lecture #2 Agenda Announcements Advice Questions? Computing environment –accounts – accounts/forwarding Web site tour (schedule + readings) Computer.
CSE 115 / 503 Introduction to Computer Science I
Lecture #2 Agenda Announcements Questions? Computing environment –accounts – accounts/forwarding Web site tour (schedule + readings) Activity & Review.
CSE115: Introduction to Computer Science I Dr. Carl Alphonce 219 Bell Hall
Lecture #2 Agenda Announcements Questions? Computing environment –accounts – accounts/forwarding Web site tour (schedule + readings) Computer Science.
CSE 115 / 503 Introduction to Computer Science For Majors I Carl Alphonce 219 Bell Hall.
Itntroduction to UML, page 1 Introduction to UML.
CSE115: Introduction to Computer Science I Dr. Carl Alphonce 343 Davis Hall
Objects CSE 115 Spring 2006 January 25, Object-Oriented Program System of objects that communicate with one another and work together to solve a.
CSE 116 Introduction to Computer Science For Majors II Carl Alphonce 219 Bell Hall.
CSE 115 / 503 Introduction to Computer Science I
CSE116 / CSE504 Introduction to Computer Science II Carl Alphonce 219 Bell Hall
Approaches to System Development Chapter 3. Methodologies, Models, Tools and Techniques A system development methodology –provides guidelines to follow.
Introduction To System Analysis and design
2 Approaches to Requierements Engineering Reference: Systems Analysis and Design in a Changing World, 3 rd Edition, chapter 2 and chapter 6.
INFO415 Approaches to System Development: Part 2
Liang, Introduction to Java Programming, Sixth Edition, (c) 2007 Pearson Education, Inc. All rights reserved Chapter 12 Object-Oriented.
Design Patterns OOD. Course topics Design Principles UML –Class Diagrams –Sequence Diagrams Design Patterns C#,.NET (all the course examples) Design Principles.
CSE115: Introduction to Computer Science I Dr. Carl Alphonce 219 Bell Hall NEW   NEW 1.
Satzinger Chp. 2 Part Part 4 of 4 2 Object-Oriented Analysis and Design with the Unified Process Testing Testing is critical discipline Testing activities.
Two Approaches to System Development
Lecture 9: Chapter 9 Architectural Design
Introduction To System Analysis and Design
1 Systems Analysis and Design in a Changing World, Thursday, January 18, 2007.
Content The system development life cycle
1 ISA&D7‏/8‏/ ISA&D7‏/8‏/2013 Methodologies of the SDLC Traditional Approach to SDLC Object-Oriented Approach to SDLC CASE Tools.
Fall 2010 CS4310 Requirements Engineering A Brief Review of UML & OO Dr. Guoqiang Hu Department of Computer Science UTEP 1.
Software Design Process
1 Software Engineering: A Practitioner’s Approach, 6/e Chapter 10a: Architectural Design Software Engineering: A Practitioner’s Approach, 6/e Chapter 10a:
Introduction to Computer Programming CS 126 Lecture 1 Zeke Maier.
Java Software Solutions Lewis and Loftus Chapter 15 Copyright 1997 by John Lewis and William Loftus. All rights reserved. 1 Software Development Process.
Software Design Concepts Spring 2002 Dr. Sothy Vignarajah Object Oriented Programming.
Lecture 14 22/10/15. The Object-Oriented Analysis and Design  Process of progressively developing representation of a system component (or object) through.
1-1 1 Introduction  Programming linguistics: concepts and paradigms syntax, semantics, and pragmatics language processors.  Historical development of.
1 Welcome Alireza Humber College Lecture 1 Game 540 Alireza
SWE 214 (071) Introduction to UML Slide 1 Introduction to UML.
OBJECT ORIENTED PROGRAMMING overview
Introduction To System Analysis and Design PART 2
Systems Development Jerry Post Copyright © 1997
Presentation transcript:

CSE 115 / 503 Introduction to Computer Science I Pew Learning and Technology Workshop 4/16/2017June 4, 2001 CSE 115 / 503 Introduction to Computer Science I Carl Alphonce cse-115-alphonce@cse.buffalo.edu 219 Bell Hall walters@buffalo.edu

Lecture #3 Agenda Review Problem solving Reminders analysis decomposition modeling Reminders Fall 2005 CSE 115/503 Introduction to Computer Science I

Review (1 of 3) Objects have: properties, which together define the internal state of the object, and behaviors, which determine what services the object is prepared to provide to other objects, or to put it another way what messages the object will respond to. Fall 2005 CSE 115/503 Introduction to Computer Science I

Review (2 of 3) Different objects can have different sets of properties and behaviors; our activity showed objects with both different properties and different behaviors. Object-oriented (OO) programs are viewed as systems of interacting entities. Fall 2005 CSE 115/503 Introduction to Computer Science I

Review (3 of 3) OO has its roots in the language Simula Simula was designed in early 1960’s by Kristen Nygaard Ole-Johan Dahl They jointly received computing’s highest awards for their work OO is about forty years old! Fall 2005 CSE 115/503 Introduction to Computer Science I

Questions? Fall 2005 CSE 115/503 Introduction to Computer Science I

Problem solving Problem solving is a methodical process Basic processes of software construction (simplified, for now): analysis to build a specification decomposition modeling implementation Fall 2005 CSE 115/503 Introduction to Computer Science I

Example (1 of 4) Problem: I am tired of walking everywhere. I want a device which will transport me from place to place. Fall 2005 CSE 115/503 Introduction to Computer Science I

Analysis Given a problem (expressed in the customer’s terms), how do you figure out what is needed to solve it? Communicate with client to uncover requirements. Result is a specification, expressed more formally, that spells out in detail what the final product must do. Fall 2005 CSE 115/503 Introduction to Computer Science I

Specification “It should list each component of the system, including its capabilities and properties, and its interactions with other components.” Brown notes Fall 2005 CSE 115/503 Introduction to Computer Science I

Designing a Model The specification must be translated into a form that is understandable by a computer. To do this we first design a model of the system (a “simplified representation”, i.e. an abstraction) Our models will use the building blocks of OO programming (objects and relationships between objects) to represent components of the system. Fall 2005 CSE 115/503 Introduction to Computer Science I

What should go into the specification? Example (2 of 4) Recall the problem: I am tired of walking everywhere. I want a device which will transport me from place to place. What should go into the specification? Fall 2005 CSE 115/503 Introduction to Computer Science I

To answer that we need to ask more questions: Example (3 of 4) To answer that we need to ask more questions: How far does it need to go? How quickly? Indoor/outdoor Across water? Human powered or not: what fuel source? Cost? Size? Controls? Fall 2005 CSE 115/503 Introduction to Computer Science I

Example (4 of 4) Once specification is available, we can build a model. Once the model is OK, we can build a system. This can be done incrementally (design power source independently of entertainment system) and iteratively (specification/model/product can be refined through several iterations). Fall 2005 CSE 115/503 Introduction to Computer Science I

Next step? So we have a model – now what? We need to implement it! We will implement our models using a computer programming language called Java. Fall 2005 CSE 115/503 Introduction to Computer Science I

Reminders No class Monday: Labor day Read chapter 1 of the Brown notes BEFORE coming to class on Wednesday Fall 2005 CSE 115/503 Introduction to Computer Science I

Questions? Fall 2005 CSE 115/503 Introduction to Computer Science I