Chapter 16 dialogue notations and design. Dialogue Notations and Design Dialogue Notations –Diagrammatic state transition networks, JSD diagrams, flow.

Slides:



Advertisements
Similar presentations
Interaction Design: Visio
Advertisements

Chapter 11 Designing the User Interface
Chapter 16 dialogue notations and design. Dialogue Notations and Design Dialogue Notations –Diagrammatic state transition networks, JSD diagrams, flow.
Based on: Petri Nets and Industrial Applications: A Tutorial
CS0004: Introduction to Programming Visual Studio 2010 and Controls.
Chapter 16 (continued) dialogue notations and design.
Dialogue Notations and Design zDialogue Notations yDiagrammatic xstate transition networks, JSD diagrams, flow charts yTextual xformal grammars, production.
1 textual notations grammars production rules CSP and event algebras.
local structure – single screen global structure – whole site
Heim, Chapters and Dix et al, Chapter 15 Lecture 3 Modeling and Documenting Requirements.
Intro to Microsoft PowerPoint 2010 Public Computer Center, Moore Memorial Library, Greene, NY.
GUI Testing. High level System Testing Test only those scenarios and outputs that are observable by the user Event-driven Interactive Two parts to test.
Chapter 1 - An Introduction to Computers and Problem Solving
Chapter 2- Visual Basic Schneider1 Chapter 2 Problem Solving.
Discrete Interaction Design Specification Prof. Dr. Matthias Rauterberg Faculty Industrial Design Technical University of Eindhoven
Practical Object-Oriented Design with UML 2e Slide 1/1 ©The McGraw-Hill Companies, 2004 PRACTICAL OBJECT-ORIENTED DESIGN WITH UML 2e Chapter 5: Restaurant.
How to Make a Web Page: A Crash Course in HTML programming.
Chapter 2: Developing a Program Extended and Concise Prelude to Programming Concepts and Design Copyright © 2003 Scott/Jones, Inc.. All rights reserved.
Chapter 13: Designing the User Interface
Microsoft Office © Copyright William Rowan Objective By the end of this you will have being given a brief introduction to: Microsoft Word Microsoft.
Graphical User Interfaces A Quick Outlook. Interface Many methods to create and “interface” with the user 2 most common interface methods: – Console –
User Interface Theory & Design
02/06/05 “Investigating a Finite–State Machine Notation for Discrete–Event Systems” Nikolay Stoimenov.
Chapter Seven Advanced Shell Programming. 2 Lesson A Developing a Fully Featured Program.
Computer Programming 12 Lesson 2 - Organizing the Problem By Dan Lunney.
The Scratch Calculator You are all going to be real computer programmers!!!
Visual Basic Chapter 1 Mr. Wangler.
Introduction to Visual Basic (VB)
Chapter 3 Working with Symbols and Interactivity.
CST-092 © Delta College CST FacultyIntroduction to Windows Operating System Lecture 2.
©Ian Sommerville 2000Software Engineering, 6th edition. Chapter 9 Slide 1 Formal Specification l Techniques for the unambiguous specification of software.
COMPUTER PROGRAMMING Source: Computing Concepts (the I-series) by Haag, Cummings, and Rhea, McGraw-Hill/Irwin, 2002.
14 Chapter 11: Designing the User Interface. 14 Systems Analysis and Design in a Changing World, 3rd Edition 2 Identifying and Classifying Inputs and.
المحاضرة الثالثة. Software Requirements Topics covered Functional and non-functional requirements User requirements System requirements Interface specification.
Introduction to Visual Basic. Quick Links Windows Application Programming Event-Driven Application Becoming familiar with VB Control Objects Saving and.
1 Datamatics Global Services Limited Demo for QScript QScript is a tool that reduces the time consumed by Survey Programming by approximately 40%.
11.10 Human Computer Interface www. ICT-Teacher.com.
One-by-one – WIMPish Elements  widgets - the bits that make the GUI  what do they do, what are they good for  little things matter.
© 2011 Delmar, Cengage Learning Chapter 3 Working with Symbols and Interactivity.
Chapter Three The UNIX Editors. 2 Lesson A The vi Editor.
Database Applications – Microsoft Access Lesson 6A Designing Custom Forms Updated F13 24 slides in presentation 1.
ISP666 MVC & Design Patterns. Outline Review Event Programming Model Model-View-Controller Revisit Simple Calculator Break Design Patterns Exercise.
Interaction Design Interaction Design - Joan Cahill - Visio Interaction Design: Visio.
This tutorial teaches Microsoft Word basics. Although knowledge of how to navigate in a Windows environment is helpful, this tutorial was created for.
WXGE6103 Software Engineering Process and Practice Formal Specification.
1 Implementation support chapter 8 programming tools –levels of services for programmers windowing systems –core support for separate and simultaneous.
The BIG picture navigation and dialogue goal start the systems info and helpmanagementmessages add userremove user main screen remove user confirm add.
Chapter Two Designing Applications Programming with Microsoft Visual Basic th Edition.
University of Sunderland CIF 102/FIF102 Fundamentals of DatabasesUnit 15 Programming in Microsoft Access using VBA Using VBA to add functionality.
Chapter Two Creating a First Project in Visual Basic.
User Interface Theory & Design Lecture 6a 1.  User interface is everything the end user comes into contact with while using the system  To the user,
1 Data Manipulation (with SQL) HRP223 – 2010 October 13, 2010 Copyright © Leland Stanford Junior University. All rights reserved. Warning: This.
1 chapter 16 dialogue notations and design (pt 1).
Dialogue notation focus on STNs extract from chap 8 slides for Human Computer Interaction
Sequence Diagrams And Collaboration Diagrams HungNM.
14 Chapter 11: Designing the User Interface. 14 Systems Analysis and Design in a Changing World, 3rd Edition 2 Identifying and Classifying Inputs and.
Slide 1 Project 1 Task 2 T&N3311 PJ1 Information & Communications Technology HD in Telecommunications and Networking Task 2 Briefing The Design of a Computer.
Chapter Three The UNIX Editors.
McGraw-Hill/Irwin The Interactive Computing Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. Microsoft Excel 2002 Working with Data Lists.
Dialogue Notations and Design zDialogue Notations yDiagrammatic xstate transition networks, JSD diagrams, flow charts yTextual xformal grammars, production.
Task Analysis Lecture # 8 Gabriel Spitz 1. Key Points  Task Analysis is a critical element of UI Design  It describes what is a user doing or will.
Task Analysis Lecture # 8 Gabriel Spitz 1. Key Points  Task Analysis is a critical element of UI Design  It specifies what functions the user will need.
Software Interfaces. Learning Objectives Describe the characteristics of different types of user interfaces. Discuss the types of user interfaces which.
G042 - Lecture 15 Excel Macros Mr C Johnston ICT Teacher
Université Toulouse I 1 CADUI' June FUNDP Namur Implementation Techniques for Petri Net Based Specifications of Human-Computer Dialogues.
Key Applications Module Lesson 12 — Word Essentials Computer Literacy BASICS.
from one screen looking out
dialogue notations and design
Dialogue Notations and Design
Boardmaker Dynamic Boards
Presentation transcript:

chapter 16 dialogue notations and design

Dialogue Notations and Design Dialogue Notations –Diagrammatic state transition networks, JSD diagrams, flow charts –Textual formal grammars, production rules, CSP Dialogue linked to –the semantics of the system – what it does –the presentation of the system – how it looks Formal descriptions can be analysed –for inconsistent actions –for difficult to reverse actions –for missing actions –for potential miskeying errors

what is dialogue? conversation between two or more parties –usually cooperative in user interfaces –refers to the structure of the interaction –syntactic level of human–computer ‘conversation’ levels –lexical – shape of icons, actual keys pressed –syntactic – order of inputs and outputs –semantic – effect on internal application/data

structured human dialogue human-computer dialogue very constrained some human-human dialogue formal too … Minister: do you man’s name take this woman … Man: I do Minister: do you woman’s name take this man … Woman: I do Man: With this ring I thee wed (places ring on womans finger) Woman: With this ring I thee wed (places ring..) Minister: I now pronounce you man and wife

lessons about dialogue wedding service –sort of script for three parties –specifies order –some contributions fixed – “I do” –others variable – “do you man’s name …” –instructions for ring concurrent with saying words “with this ring …” if you say these words are you married? –only if in the right place, with marriage licence –syntax not semantics

… and more what if woman says “I don’t”? real dialogues often have alternatives: –the process of the trial depends on the defendants response focus on normative responses –doesn’t cope with judge saying “off with her head” –or in computer dialogue user standing on keyboard! Judge: How do you plead guilty or not guilty? Defendant: either Guilty or Not guilty

dialogue design notations dialogue gets buried in the program in a big system can we: –analyse the dialogue: can the user always get to see current shopping basket –change platforms (e.g. Windows/Mac) –dialogue notations helps us to analyse systems separate lexical from semantoc … and before the system is built –notations help us understand proposed designs

graphical notations state-transition nets (STN) Petri nets, state charts flow charts, JSD diagrams

State transition networks (STN) circles - states arcs - actions/events

State transition networks - events arc labels a bit cramped because: –notation is `state heavy‘ –the events require most detail

State transition networks - states labels in circles a bit uninformative: –states are hard to name –but easier to visualise

Hierarchical STNs managing complex dialogues named sub-dialogues Graphics Submenu Text Submenu Paint Submenu Main Menu select ‘graphics’ select ‘paint’ select ‘text’

Concurrent dialogues - I simple dialogue box Text Style bold italic underline example

Concurrent dialogues - II three toggles - individual STNs bolditalicunderline NO bold click on ‘bold’ NO italic click on ‘italic’ NO u’line click on ‘underline’

Concurrent dialogues - III bold and italic combined Text Style bold italic underline example NO style bold only click on ‘bold’ click on ‘italic’ italic only bold italic click on ‘bold’ click on ‘italic’

Concurrent dialogues - IV all together - combinatorial explosion ‘italic’ NO style bold only ‘bold’ italic only bold italic ‘bold’ ‘italic’ u’line only bold u’line ‘bold’ italic u’line bold italic u’line ‘bold’ ‘italic’ ‘underline’ Text Style bold italic underline example

escapes ‘back’ in web, escape/cancel keys –similar behaviour everywhere –end up with spaghetti of identical behaviours try to avoid this e.g. on high level diagram ‘normal’ exit for each submenu plus separate escape arc active ‘everywhere’ in submenu Graphics Submenu Text Submenu Paint Submenu Main Menu select ‘graphics’ select ‘paint’ select ‘text’ normal finish ESC normal finish ESC normal finish ESC

help menus similar problems –nearly the same everywhere –but return to same point in dialogue –could specify on STN … but very messy –usually best added at a ‘meta’ level Finish Help Subsystem Circle 1 click on circumference Circle 2 from Menu press HELP button draw circlerubber band click on centre Help Subsystem press HELP button

Petri nets one of the oldest notations in computing! flow graph: –places– a bit like STN states –transitions– a bit like STN arcs –counters– sit on places (current state) several counters allowed –concurrent dialogue states used for UI specification (ICO at Toulouse) –tool support – Petshop

Petri net example Bold On Italic On Bold Off Italic Off user presses ‘Italic’ user presses ‘Bold’ T1T2 T3 T4 user actions represented as a new counter transition ‘fires’ when all input places have counters

State charts used in UML extension to STN –hierarchy –concurrent sub-nets –escapes OFF always active –history link marked H goes back to last state on re-entering subdialogue On Off Sound Channel H SEL MUTE Standby OFFON RESET

Flowcharts familiar to programmers boxes - process/event - not state use for dialogue (not internal algorithm) Delete D1 Please enter employee no.: ____ Delete D3 Name: Alan Dix Dept: Computing delete? (Y/N): _ Please enter Y or N Delete D2 Name: Alan Dix Dept: Computing delete? (Y/N): _ answer? C2 Finish read record C1 delete record C3 other NY

it works! formal notations – too much work? COBOL transaction processing –event-driven – like web interfaces –programs structure ≠ dialogue structure used dialogue flow charts –discuss with clients –transform to code –systematic testing –1000% productivity gain formalism saves time!! Delete D1 Please enter employee no.: ____ Delete D3 delete? (Y/N): _ Please enter Y or N Delete D2 Name: Alan Dix Dept: Computing delete? (Y/N): _ answer? C2 Finish read record C1 other NY delete record C3

JSD diagrams for tree structured dialogues –less expressive –greater clarity transactionlogin add employee record change employee record display employee record logout Personnel Record System delete employee record *