TAG Task Action Grammars.

Slides:



Advertisements
Similar presentations
Interaction Design: Visio
Advertisements

Chapter 16 Graphical User Interfaces John Keyser’s Modifications of Slides by Bjarne Stroustrup
 An operating system (OS) is a set of computer programs that allow the user to perform basic tasks like copying, moving, saving and printing files. 
Automating Tasks With Macros
About the Presentations The presentations cover the objectives found in the opening of each chapter. All chapter objectives are listed in the beginning.
Module 3 Productivity Programs Common Features and Commands Microsoft Office 2007.
Microsoft Visual Basic 2012 CHAPTER TWO Program and Graphical User Interface Design.
Chapter 2 Build Your First Project A Step-by-Step Approach 2 Exploring Microsoft Visual Basic 6.0 Copyright © 1999 Prentice-Hall, Inc. By Carlotta Eaton.
1 Integrated Development Environment Building Your First Project (A Step-By-Step Approach)
Introduction to Graphical User Interfaces Spring 2014 Instructor: Wayne Summers Room 453, CCT Building Phone:
Chapter 5 Models and theories 1. Cognitive modeling If we can build a model of how a user works, then we can predict how s/he will interact with the interface.
11.10 Human Computer Interface www. ICT-Teacher.com.
AS Level ICT Selection and use of appropriate software: Interfaces.
Visual Basic 2005 CHAPTER 2 Program and Graphical User Interface Design.
Integrated Development Environment (IDE)
Introduction to Processing. 2 What is processing? A simple programming environment that was created to make it easier to develop visually oriented applications.
Introduction to Windows Created by Mrs. Leverette.
Graphical User Interface You will be used to using programs that have a graphical user interface (GUI). So far you have been writing programs that have.
SD1230 Unit 6 Desktop Applications. Course Objectives During this unit, we will cover the following course objectives: – Identify the characteristics.
XP New Perspectives on Microsoft Office Access 2003 Tutorial 10 1 Microsoft Office Access 2003 Tutorial 10 – Automating Tasks With Macros.
Microsoft Visual Basic 2010 CHAPTER TWO Program and Graphical User Interface Design.
Different Types of HCI CLI Menu Driven GUI NLI
In this activity, we are going to type a simple Chinese sentence with Microsoft Word by Tsang-jei Input Method and Simplified Tsang-jei Input Method. 1Start.
Computer-based Media Language Elements Understanding how we communicate through media Stewart.C. (2007). Media: New Ways and Means. John Wiley & Sons:
Operating System Concepts Three User Interfaces Command-line Job-Control Language (JCL) Graphical User Interface (GUI)
5 Minute Assessment - Chapter Minute Assessment #1 Chapter 11 - Editing Sacramento City College EDT 66 Kenneth Fitzpatrick, P.E.
GCSE ICT User Interfaces. User interfaces The way in which the user of a computer communicates with the machine is called the Human- Computer Interface.
Allows the user and the computer to communicate with each other.
Appendix A Introduction to Windows 7
Computer Fundamentals
Chapter 3 – Describing Syntax
Human Computer Interaction Lecture 23 Cognitive Models
Computer Software: Programming
11.10 Human Computer Interface
Event-driven programming
Introduction to Windows—Operating System
Syntax (1).
Representation, Syntax, Paradigms, Types
Unit 2 User Interface Design.
Program and Graphical User Interface Design
1. Introduction to Visual Basic
Instructor’s Guide to Teaching SolidWorks Software Lesson 1
What is an operating system?
Method of Language Definition
Program and Graphical User Interface Design
Chapter 12 User Interface Design
Drawing Two-Dimensional Shapes with Digital Technology
Programming Language Syntax 2
Exploring the Basics of Windows XP
Representation, Syntax, Paradigms, Types
GRAPHICAL USER INTERFACE
Exploring the Basics of Microsoft Windows 7
Representation, Syntax, Paradigms, Types
Chapter 1:Types and Components of Computer
Chapter 11 Interaction styles
What are the names of the Meta Languages you have used?
What do these things have in common?
GRAPHICAL USER INTERFACE GITAM GADTAULA. OVERVIEW What is Human Computer Interface (User Interface) principles of user interface design What makes a good.
GRAPHICAL USER INTERFACE GITAM GADTAULA KATHMANDU UNIVERSITY CLASS PRESENTATION.
Representation, Syntax, Paradigms, Types
Syntax vs Semantics Backus-Naur Form Extended BNF Derivations
Cognitive models linguistic physical and device architectural
Chapter 12 cognitive models.
Human Computer Interaction Lecture 24 Cognitive Models
Graphical User Interfaces
Social Practice of the language: Describe and share information
Computer Modeling Fundamentals
Chapter 12 cognitive models.
What is Interaction? Communication User  System
Human-computer interaction
Presentation transcript:

TAG Task Action Grammars

TAGs Context-Free Grammar Consists of…. Maps tasks to user actions Dictionary Lists simple tasks Rule Schemata: Grammer for language syntax

TAGs. Generate a consistent interaction language. Can be applied to: Command line interface. GUI.

TAG Example A graphics system has a line-drawing function. To select the function the user must select the ‘line’ menu option and choose the type of line to draw. The line-drawing function allows for several types of lines to be drawn. For example: to draw a polyline which is a sequence of line arcs between points. The user selects the points by clicking the mouse button in the drawing area. The user double clicks to indicate the last point of the polyline. See example to the right of a polyline. The BNF (Backus-Nuer-Form) definition of this process at a high level is presented below. draw-line ::= select-line + choose-point | choose-point + last-point. Assume that the above menu is visible and accessible. From this starting point, develop a TAG which describes a grammar for this process.

DrawALine [LineType] := select-line[LineType]; select-line[Line = Selection of LINETYPE] := MouseMove[location] + Click[1] Trace[]:= TRACE ON SCREEN MouseMove[Location= xy screen position] := move_mouse_to_target xy StartLocation[location=positionOfMouse]:= MouseMove[location] + Click[1] EndLocation[location=positionOfMouse] := MouseMove[location] + Click[2] Click[1 = OneMouseClick] := SingleClickMouse Click[2 = TwoMouseClick] := DoubleClickMouse NormalLine[from = Starting Location, to = Ending Location] := StartLocation[from] + EndLocation[to]; SingleArrow[from = Starting Location, to = Ending Location] := StartLocation[from] + EndLocation[to]; DoubleArrow[from = Starting Location, to = Ending Location] := StartLocation[from] + EndLocation[to];

PolyLine[from = Starting Location, to = Ending Location] := StartLocation[from,1] | StartLocation[location] + EndLocation[to]; ClosedLine[from = Starting Location, to = Ending Location] := StartLocation[from] | StartLocation[location] + EndLocation[to]; FreeForm[from = Starting Location, to = Ending Location] := StartLocation[from] + Trace + EndLocation[to];

Benefits Interaction is consistent. User will use the same set of actions to perform all tasks Known as Action -> Task Same actions for all Tasks.

Problems Physically it is difficult to double click a line ending and have it located at the correct spot. Alternative is to click down for start, and release at end. Problem is polyline which requires several clicks Microsoft's solution is to have different lines drawn different ways. Not consistent but practical given the physical constraints. When do practical constraints override consistency?