SOFTWARE ENGINEERING for REAL-TIME SYSTEMS (© J.E.Cooling 2003) Program design concepts - slide 1 Software engineering for real-time systems Section 5.

Slides:



Advertisements
Similar presentations
Chapter 14 Software Testing Techniques - Testing fundamentals - White-box testing - Black-box testing - Object-oriented testing methods (Source: Pressman,
Advertisements

Chapter 10: The Traditional Approach to Design
Systems Analysis and Design in a Changing World, Fifth Edition
How to structure an Step-by-step guide.
Step-by-step guide. An usually has the following structure: 1. Salutation 2. Body 3. Complimentary close Write the in the form of a business.
Traditional Approach to Design
Chapter 10 The Traditional Approach to Design
Chapter 9: The Traditional Approach to Design Chapter 10 Systems Analysis and Design in a Changing World, 3 rd Edition.
SWE Introduction to Software Engineering
The Rhapsody in C++ Tool Training "Essential" © I-Logix v2.3 25/9/2000 EI-1 “Essential” Rhapsody in C++ Introduction.
Software engineering for real-time systems
1 SWE Introduction to Software Engineering Lecture 21 – Architectural Design (Chapter 13)
1 Real-time requirements  Intro to Software Engineering  Software Development Process Models  Formal methods in software specification  Structured.
Modified from Sommerville’s originalsSoftware Engineering, 7th edition. Chapter 8 Slide 1 System models.
SOFTWARE ENGINEERING for REAL-TIME SYSTEMS (© J.E.Cooling 2003) Software design - core concepts - slide 1 Software engineering for real-time systems Section.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 8 Slide 1 System models September 29, 2008.
SOFTWARE ENGINEERING for REAL-TIME SYSTEMS (© J.E.Cooling 2003) Dependable software - slide 1 Software engineering for real-time systems Section 2 Dependable.
CHAPTER 2 ANALYSIS OF ALGORITHMS Part 2. 2 Running time of Basic operations Basic operations do not depend on the size of input, their running time is.
SOFTWARE ENGINEERING for REAL-TIME SYSTEMS (© J.E.Cooling 2003) Introduction to real-time systems - slide 1 Software engineering for real-time systems.
Chapter 18 Testing Conventional Applications
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 8 Slide 1 System modeling 1.
How do you simplify? Simple Complicated.
Cyclomatic Complexity Dan Fleck Fall 2009 Dan Fleck Fall 2009.
CS2008/CS5035 Exam Preparation. Dept. of Computing Science, University of Aberdeen2 Organization of Lecture Notes Group 1 - SQL –L1 – Introduction –L2.
Requirements Expression and Modelling
Engineering 1182 College of Engineering Engineering Education Innovation Center Solid Modeling Introduction Rev: , AJPSolid Modeling Introduction1.
Principles of programming languages 2: Answers for exercises
Adaptive Processes © Adaptive Processes Simpler, Faster, Better Software Requirements.
SOFTWARE ENGINEERING for REAL-TIME SYSTEMS (© J.E.Cooling 2003) Requirements - slide 1 Software engineering for real-time systems Section 3 Requirements.
© 2006 ITT Educational Services Inc. SE350 System Analysis for Software Engineers: Unit 8 Slide 1 Chapter 8 Structuring System Logical Requirements.
10 ITK261 The traditional approach to design Reading: Chapter 10 Oct 9, 11.
10 The traditional approach to design Hisham Alkhawar.
Section 4-1: Introduction to Linear Systems. To understand and solve linear systems.
Recursion Chapter 2 Objectives Upon completion you will be able to:
Your device Title Here Your Name Your class Period.
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 7 Slide 1 Chapter 7 System Models.
Departments in Business Business Name 1 Business Name 2.
CSCD 218 : DATA COMMUNICATIONS AND NETWORKING 1 LECTURE 5 INTRODUCTION AND BASIC CONCEPTS TUTORIALS SECTION ONE / QUIZ ONE LECTURER : FERDINAND KATSRIKU.
TRANSLATIONS SWBAT: Identify Isometries To Find Translation Images of Figures.
Requirements Engineering-Based Conceptual Modelling From: Requirements Engineering E. Insfran, O. Pastor and R. Wieringa Presented by Chin-Yi Tsai.
© 2005 Baylor University Slide 1 Fundamentals of Engineering Analysis EGR Time based and expanded Complex Numbers.
Problem-solving with Computers. 2Outline  Computer System  5 Steps for producing a computer program  Structured program and programming  3 types of.
Data Flow Diagram, Data Dictionary, and Process Specification PART I
Chapter 10 Physics A First Course Energy and Change.
Computer Science: A Structured Programming Approach Using C1 5-5 Incremental Development Part II In Chapter 4, we introduced the concept of incremental.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 8 Slide 1 System models.
Systems Analysis and Design in a Changing World, Fourth Edition
Working out the Details
Project management Software development typically includes:
Introduction When a series of rigid motions is performed on a triangle, the result is a congruent triangle. When triangles are congruent, the corresponding.
Sequence, Selection, Iteration The IF Statement
continued on next slide
9-1 Translations.
Programming Fundamentals
BSA 385 Competitive Success-- snaptutorial.com
BSA 385 Education for Service-- snaptutorial.com
BSA 385 Teaching Effectively-- snaptutorial.com
                                                                                                                                                                                                                                                
continued on next slide
continued on next slide
Topics discussed in this section:
Introduction to Research & Scientific Literature
Topics discussed in this section:
Topics discussed in this section:
Introduction When a series of rigid motions is performed on a triangle, the result is a congruent triangle. When triangles are congruent, the corresponding.
Formal Methods in Software Engineering
Bellwork Complete the Reflections worksheet on the counter
Notes Date 2/13/19 NO Task, Grab your binder if you want
continued on next slide
continued on next slide
Presentation transcript:

SOFTWARE ENGINEERING for REAL-TIME SYSTEMS (© J.E.Cooling 2003) Program design concepts - slide 1 Software engineering for real-time systems Section 5 Program design concepts

SOFTWARE ENGINEERING for REAL-TIME SYSTEMS (© J.E.Cooling 2003) Program design concepts - slide 2 Objectives To:  Show why quality programs must be well-structured.  Explain how structured programming can help to attain quality.  Describe the fundamental structures of structured programming. Introduction

SOFTWARE ENGINEERING for REAL-TIME SYSTEMS (© J.E.Cooling 2003) Program design concepts - slide 3 Simple transformation actions

SOFTWARE ENGINEERING for REAL-TIME SYSTEMS (© J.E.Cooling 2003) Program design concepts - slide 4 Complex transformation action

SOFTWARE ENGINEERING for REAL-TIME SYSTEMS (© J.E.Cooling 2003) Program design concepts - slide 5 Basic control structures of structured programming

SOFTWARE ENGINEERING for REAL-TIME SYSTEMS (© J.E.Cooling 2003) Program design concepts - slide 6 Equivalence of iteration structures

SOFTWARE ENGINEERING for REAL-TIME SYSTEMS (© J.E.Cooling 2003) Program design concepts - slide 7 Composition of a structured program

SOFTWARE ENGINEERING for REAL-TIME SYSTEMS (© J.E.Cooling 2003) Program design concepts - slide 8 IF _ _?_ _ THEN GOTO HighTemp ELSE GOTO Continue; HighTemp : Statement 1; Statement 2; Statement 3; Continue : Statement 4; Statement 5; Program fragment HighTemp S1 S2 S3 Corresponding flow diagram ? Continue S4 S5 FalseTrue Well controlled use of the GOTO statement

SOFTWARE ENGINEERING for REAL-TIME SYSTEMS (© J.E.Cooling 2003) Program design concepts - slide 9 Corresponding flow diagram StartTest S1 Entrypoint S2 S3 ? ? S4 T F T F Program fragment StartTest : Statement 1 Entrypoint: Statement 2 If _ _ ? _ _Then gotoStartTest ; Statement 3 If_ _ ? _ _Then gotoEntrypoint Statement 4 Poorly controlled GOTO statements

SOFTWARE ENGINEERING for REAL-TIME SYSTEMS (© J.E.Cooling 2003) Program design concepts - slide 10 Review of ‘Program design concepts’