Introduction to Computing Concepts Note Set 19. Design Creating complex software… ▫ Not done by just one person (or two, or three) ▫ Can’t just sit down.

Slides:



Advertisements
Similar presentations
Withdrawal Transaction Use Case Primary Actor: Customer Pre-conditions: The customer must have a valid ATM card and PIN. Post-conditions: The customer.
Advertisements

Chapter 3 Program Design And Branching Structures.
CS0004: Introduction to Programming Visual Studio 2010 and Controls.
1 Software Engineering Lecture 11 Software Testing.
UML (Sequence Diagrams, Collaboration and State Chart Diagrams) Presentation By - SANDEEP REDDY CHEEDEPUDI (Student No: ) - VISHNU CHANDRADAS (Student.
Lecture Set 3E Introduction Basic Software Development Issues 1. Notes on Software Development 2. Intro to Software Development Tools 7/31/2008 2:43PM.
Unified Modeling Language
7M701 1 Activity Diagram. 7M701 2 Example 7M701 3 Activity Diagram: what is it? Describes activities and flows of data or decisions between activities.
Comp 205: Comparative Programming Languages Semantics of Imperative Programming Languages denotational semantics operational semantics logical semantics.
Informatics 43 – May 7, Restatement of Goals for Testing Want to verify software’s correctness  Need to test  Need to decide on test cases  No.
Detailed Design Kenneth M. Anderson Lecture 21
CSCI 5582 Fall 2006 CSCI 5582 Artificial Intelligence Lecture 9 Jim Martin.
Topics Creating DFD Physical and logical DFD Event driven modeling
Copyright © 2006 Addison-Wesley. All rights reserved.1-1 ICS 410: Programming Languages Chapter 3 : Describing Syntax and Semantics Operational Semantics.
Slides prepared by Rose Williams, Binghamton University Chapter 3 Flow of Control Loops in Java.
7M822 UML Activity Diagrams 6 October 2008.
1 Info 1409 Systems Analysis & Design Module Lecture 8 – Modelling tools and techniques HND Year /9 De Montfort University.
©TheMcGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 1 Introduction to Object-Oriented Programming and Software Development.
Data Analysis (and User Interaction) GEOG 463 5/7/04.
Describing Syntax and Semantics
About the Presentations The presentations cover the objectives found in the opening of each chapter. All chapter objectives are listed in the beginning.
Introduction to Algorithm – part one Jennifer Elmer Form 3 Computing.
1 Develop a large software with IBM Rational ® Software Engineering Semester Project Chih-Hong Jeng & Farn Wang fall 2006.
Software Engineering EKT 420. What is Activity Diagram Activity diagrams are graphical representations of workflows of stepwise activities and actions.
State and Sequence Diagrams Modelling dynamic information So far we have seen: Use Case Diagrams – requirements capture, interface.
CC0002NI – Computer Programming Computer Programming Er. Saroj Sharan Regmi Week 7.
Introduction to Programming Lecture Number:. What is Programming Programming is to instruct the computer on what it has to do in a language that the computer.
State Diagrams / System Sequence Diagrams (SSDs)
COMPUTER PROGRAMMING Source: Computing Concepts (the I-series) by Haag, Cummings, and Rhea, McGraw-Hill/Irwin, 2002.
UML A CTIVITY D IAGRAMS 1 Dr. Hoang Huu Hanh, OST – Hue University hanh-at-hueuni.edu.vn.
Programing Concept Ken Youssefi/Ping HsuIntroduction to Engineering – E10 1 ENGR 10 Introduction to Engineering (Part A)
1 SYS366 Lecture Visual Modeling and Business Use Case Diagrams.
Detailed design – class design Domain Modeling SE-2030 Dr. Rob Hasker 1 Based on slides written by Dr. Mark L. Hornick Used with permission.
Class Diagrams Tutorial.
CHAPTER 4: CONDITIONAL STRUCTURES Introduction to Computer Science Using Ruby (c) 2012 Ophir Frieder et al.
METACASE. WHAT THIS PRESENTATION IS ABOUT  What’s META MODELING?  What’s METACASE?  METAEDIT+ 5.1 EVALUTION PROGRAM  Diagram and its kinds.
COMPUTER PROGRAMMING. Control Structures A program is usually not limited to a linear sequence of instructions. During its process it may repeat code.
Object Management Group (OMG) Specifies open standards for every aspect of distributed computing Multiplatform Model Driven Architecture (MDA)
Programming Concepts Chapter 3.
1 Relational Expressions Relational expressions: –Expressions that compare operands –Sometimes called conditions –Evaluated to yield a result –Typically.
Spring 2008 Mark Fontenot CSE 1341 Principles of Computer Science I Note Set 3.
© 2011 Pearson Addison-Wesley. All rights reserved. Addison Wesley is an imprint of Stewart Venit ~ Elizabeth Drake Developing a Program.
Intro to Software System Modeling
COMPUTER PROGRAMMING. Iteration structures (loops) There may be a situation when you need to execute a block of code several number of times. In general,
Flowcharting A Quality Improvement Tool. Quality = Inspection Statistical methods assisted in prevention of defects – The need for inspection declined.
Copyright © 2013 Curt Hill UML Unified Modeling Language.
© 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 1 UML Activity Diagrams.
CS001 Introduction to Programming Day 2 Sujana Jyothi
It works! PPInfoScreen Server is now running and will display your deployed presentations Some instructions will follow…
CPS120: Introduction to Computer Science Decision Making in Programs.
Algorithms and Pseudocode
Activity Diagramming by Andrzej Rosolski Stanisław Gliniewicz.
Flow Control in Imperative Languages. Activity 1 What does the word: ‘Imperative’ mean? 5mins …having CONTROL and ORDER!
What is this? SE-2030 Dr. Mark L. Hornick 1. Same images with different levels of detail SE-2030 Dr. Mark L. Hornick 2.
Software Engineering: Models David Millard
Algorithms and Flowcharts
Systems Analysis and Design in a Changing World, Fourth Edition
© 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 1 UML Activity Diagrams.
Introduction to UML.
Business Process and Functional Modeling
Activity Diagram.
Introduction to Algorithm – part 1
UML Activity Diagrams.
Learning to Program in Python
Computers & Programming Languages
CSC128 FUNDAMENTALS OF COMPUTER PROBLEM SOLVING
Flowcharts and Pseudo Code
STEP 1 SCAN YOUR STAFF ID BADGE
IPC144 Introduction to Programming Using C Week 4 – Lesson 1
LOOPS The loop is the control structure we use to specify that a statement or group of statements is to be repeatedly executed. Java provides three kinds.
Presentation transcript:

Introduction to Computing Concepts Note Set 19

Design Creating complex software… ▫ Not done by just one person (or two, or three) ▫ Can’t just sit down and start coding and hope that it will turn out ok and do what it’s supposed to do Things to consider ▫ Must develop what the customer wants, NOT what you think they want ▫ How do you find out from non-techy what they want?

When Programming Syntax – rules of the language you’re using ▫ semi-colons go here ▫ braces go there ▫ that has to be capitilized Semantics ▫ how you need to put together the various structures available to you in order to get the job done ▫ “I need a loop that does some checking with conditions in it…” ▫ Not concerned with rules of language, but more with rules of logic

UML Unified Modeling Language Graphical “language” used to model software systems UML 2.0 has 13 different diagrams used in modeling Today: Activity Diagram ▫ Shows activities and actions that describe the way work gets done ▫ Somewhat similar to old-school flow charts

UML Activity Diagram Example Enter User Name Enter Password Show Main Menu [invalid credentials] [valid credentials] Validate credentials

Parts of an Activity Diagram Enter User Name Enter Password Initial Node Every Activity Diagram has exactly One Indicates where to start Activity Activities that occur Don’t have to map to programming constructs Can be high-level or low-level Flow / edge Show the way to progress through the diagram Follow the flows

Parts of an Activity Diagram Show Main Menu [invalid credentials] [valid credentials] Decision One flow entering and several leaving Guard Condition that must evaluate to true in order for that flow to be followed placed in brackets Final Node Indicates the end of the diagram Diagram many have 0 to many final nodes.

Draw an activity diagram to … Make a PB&J Sandwich

Draw an Activity Diagram to … Register for a class on Access.smu (assume you’ve already logged in) (think high – level)