7. State Diagram HTTP://FAC.KSU.EDU.SA/AQUADRI SWE 313 - SOFTWARE PROCESS MODELING - AMAN QUADRI.

Slides:



Advertisements
Similar presentations
Log In with RF LCD Clickers Channel 65. Log In with your Clicker This is what the clicker looks like Here are the steps: 1.Click on CH button 2.The light.
Advertisements

Do you think that this bulb will light up? Build the circuit and check your prediction Fix the circuit so that the bulb does light up. A.
FLOWCHART BASED DESIGN A flowchart is ideal for a process that has sequential process steps. The steps will be executed in a simple order that may change.
LOGO 1. Objectives 2 Define the stages involved in project planning and construction 1 Conduct project analysis 2 Draw a rough sketch of your project.
Express your artistic side! Add to this beach scene by using the drawing tools. Once everyone is in the session, we will begin. Test your audio settings:
Marubot Football League Service Manual.
LAB 3 – Review of the Assignment. -- Clarifications Vikram Murali. TA : CSE 140L Prof. CK Cheng.
Thick v Thin Access Points Lab Last Update Copyright 2014 Kenneth M. Chipps Ph.D.
CSE 595 Lab #1 Dodge Caravan Electronic Locking System Steve Pruitt Jan 13, 2000.
Bug Session One. Session description In this session, pupils are introduced to a programming sequence which will make a light pattern on their Bug. Objectives.
SNAP CIRCUITS INSTRUCTIONS 1.Make sure ALL parts are in place before beginning 2.Follow the Projects in order, starting with #1 3.The BLACK numbers show.
State Machines State diagrams SE-2030 Dr. Rob Hasker 1 Based on slides written by Dr. Mark L. Hornick Used with permission.
Fall 2010 CS4310 Requirements Engineering UML: Dynamic Modeling Dr. Guoqiang Hu Department of Computer Science UTEP 1.
The Bell Camera1 Trainer Training The Bell Camera.
FIRST GADGETEER PROJECT. Where are you? Making a VS project Parts of a C# program Basics of C# syntax Debugging in VS Questions? 2.
Implementing software in IEC Languages in IEC IEC uses the following languages Instruction List – Assembly level programming using.
Digital Logic Design Lecture # 21 University of Tehran.
Jim Ng 15/1/2014 CENG4480 TUTORIAL 1. ABOUT ME Current MPhil Student supervised by Prof. Mak You can find me at Rm116 in SHB
Name:______________________
© 2010 Akula LLC, Jeremy R. Hertzberg, BS CMPE Switches and Relays Electro-mechanical transistor.
SIMON Presented By: Amanda Buczkowski James Jenkins Fadi Hanna.
State Machines State diagrams SE-2030 Dr. Mark L. Hornick 1.
SNAP CIRCUITS INSTRUCTIONS 1.Make sure ALL parts are in place before beginning 2.Follow the Projects in order, starting with #1 3.The BLACK numbers show.
GAD Online Essay Online Software Overview Created by A. Tait 2014.
Traditionally ladder logic programs have been written by thinking about the process and then beginning to write the program. This always leads to programs.
4) Design the logic to control the motor on a simple remote control car. There are two buttons on the remote control for the motor. If neither button is.
Lesson 2 Inputs. Lesson objectives To understand how inputs can be used to control an output To consider how to make mimics more realistic.
Puzzle A Puzzle B. There are three switches downstairs. Each corresponds to one of the three light bulbs in the attic. You can turn the switches on and.
Ambient Feedback Control System Jonathan Uht.  Description of Ambient Feedback Control System  Block Diagram of Ambient Feedback Control System  Hardware.
STEP 1 Locate the transmission cooler line connection on the vehicle. Identify the correct adapters to be used by referring to the vehicle application.
JORGE JUAN RODRÍGUEZ PEDRO GARIBI DESCRIPTION OF THE IMPLEMENTATION OF WP6 TO 9 IN DELIVERABLE D9.1.
Arduino “Getting Started” Instructor : Dr Matthew Miss Khin Yi Kyaw
Using Zappers in a Common Learning Space A guide for tutors Created by Adam Warren Learning and Teaching Enhancement Unit.
PLC programming Part 3: Problems with solutions. Topics  Every problem is devided into three parts:  Technology description contains the general properties.
You are “painting” with light Need dark room or night time.
1 Transistor. 2 Transistors are used to turn components on and off They come in all different shapes and sizes.
RETAIL STORE CLOSING This Presentation Will Outline The Tasks an Associate Performs when Closing the Store. Click on slide or hit arrow to advance to next.
Basics of Logic gates - Part 2
4. Code Transformation SWE SOFTWARE PROCESS MODELING - AMAN QUADRI.
3. MODEL DRIVEN APPLICATIONS
Pneumatics Module 9 Time delay valve.
BMXP Operation Memo One Time Cutting.
8. Model Fusion SWE SOFTWARE PROCESS MODELING - AMAN QUADRI.
Actuators & Directional Control Valves
TESTBED ACADEMY Final Exam.
Epson Printer Support Ireland Toll-Free Number:
Objective of the lesson
Call to Fix Canon Pixma MX340 printer Error 5200
Evaluation in Engineering Design Process Modeling and FSM
Pico Pico LAB#1 Starting & Stopping Motors.
قانون المنافسة ومنع الاحتكار
4. Modelling the Applications - II
सोलर पॅनेलचा उपयोग करुन रीचर्जेबल टॉर्च बनवणे.
How many safety rules can you remember from last lesson?
Raspberry Pi: External Inputs & Outputs
4. Modelling Communications
Logic Gates Practical Objective: to develop an understanding of logic circuits and truth tables.
Series Circuits Lesson 8.
Lesson 3 Sub-Routines.
Room 1804 classroom control system
Introduction to Sequential Circuits
Lesson 4 Variables.
TRANSFUSIONS IN THE COMMUNITY
Lab 1. Introduction to the DE2 Board
SNAP CIRCUITS INSTRUCTIONS
Game Controller Lesson Four.
2. ATP INITIALIZATION PLACE ATP SWITCH TO “1” OR “NORMAL” POSITION A
Arduino Uno circuit basics
Interface ckt for demo Outputs Inputs V PIN 0 10K PIN 4 GND GND
1 If a Delegate wishes to request to take the floor, please press the black button located to the right of the microphone ONLY ONCE. A red light will.
Presentation transcript:

7. State Diagram HTTP://FAC.KSU.EDU.SA/AQUADRI SWE 313 - SOFTWARE PROCESS MODELING - AMAN QUADRI

SWE 313 - SOFTWARE PROCESS MODELING - AMAN QUADRI Coverage Coverage: State Diagram Demo State Diagram Lab Exercise SWE 313 - SOFTWARE PROCESS MODELING - AMAN QUADRI

SWE 313 - SOFTWARE PROCESS MODELING - AMAN QUADRI Lets Refresh!! AKA State Chart Diagram or State Machine Diagrams. Concerned with the states of the objects (initial, transitional and final) A ‘State’ represents a stage of of the object in behavior. Helpful in capturing states of objects and useful in all forms of OOP. SWE 313 - SOFTWARE PROCESS MODELING - AMAN QUADRI

State Diagram – Hands on Lets create State Diagram. Create a New Blank Rose Package and Add Diagram > State Machine Diagram. Give it a Name. SWE 313 - SOFTWARE PROCESS MODELING - AMAN QUADRI

SWE 313 - SOFTWARE PROCESS MODELING - AMAN QUADRI Description A Trip Switch is used to ’Turn On’ or ‘Turn off’ the Air Conditioner. When the switch is flipped up (Give, the AC is off), The motor starts working and the LED on the switch is blinking. Once the AC is ON the LED on switch is ‘continuous on’. When the switch is flipped down the the AC motor starts to SHUT down and the LED starts blinking. Once the AC is Turned OFF completely the LED on Switch is ‘Continuous off’ While in the mid of turning off the AC, if the switch is flipped up again, the AC motors starts to turn ON the AC. SWE 313 - SOFTWARE PROCESS MODELING - AMAN QUADRI

SWE 313 - SOFTWARE PROCESS MODELING - AMAN QUADRI State Diagram SWE 313 - SOFTWARE PROCESS MODELING - AMAN QUADRI

SWE 313 - SOFTWARE PROCESS MODELING - AMAN QUADRI Lab Exercise Drawing a state diagram for: A button is used to initiate the opening and closing of the garage door. When the button is pressed while the door is close, the door will be opening while the light is also turned on. When the button is pressed while the door is open, the door will be closing while a flash light is turned on. Before start closing, the door has to check that the entrance is clear. When closing the door, if the button is pressed while the door is closing, the motor is immediately thrown into the forward direction, causing the door to start opening again. SWE 313 - SOFTWARE PROCESS MODELING - AMAN QUADRI