Kuliah #7: Command and Natural Languages

Slides:



Advertisements
Similar presentations
Chapter 11 user support. Issues –different types of support at different times –implementation and presentation both important –all need careful design.
Advertisements

Tutorial 12: Enhancing Excel with Visual Basic for Applications
SYSTEM PROGRAMMING & SYSTEM ADMINISTRATION
COMP 3715 Spring 05. Computer Interface Interaction between human and computer Has to deal with two things  User’s mental model Different user has different.
Command and Natural Languages
User Interface Design Notes p7 T120B pavasario sem.
Interaction Styles Course 6, CMC, 07/10/03 Direct Manipulation
Dialog Styles. The Five Primary Styles of Interaction 4 Menu selection 4 Form fill-in 4 Command language 4 Natural language 4 Direct manipulation.
Copyright © 2005, Pearson Education, Inc. Chapter 8 Command and Natural Languages.
Dialog Styles. The Six Primary Styles of Interaction n Q & A n Menu selection n Form fill-in n Command language n Natural language n Direct manipulation.
Copyright © 2005, Pearson Education, Inc. An Instructor’s Outline of Designing the User Interface 4th Edition by Ben Shneiderman & Catherine Plaisant Slides.
User Interface Design: Methods of Interaction. Accepted design principles Interface design needs to consider the following issues: 1. Visual clarity 2.
Today’s class Group Presentation More about principles, guidelines, style guides and standards In-class exercises More about usability Norman’s model of.
These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 6/e and are provided with permission by.
Help and Documentation CSCI324, IACT403, IACT 931, MCS9324 Human Computer Interfaces.
User interface design Designing effective interfaces for software systems Objectives To suggest some general design principles for user interface design.
1 User Interface Design CIS 375 Bruce R. Maxim UM-Dearborn.
Performing User Interface Design
Design, goal of design, design process in SE context, Process of design – Quality guidelines and attributes Evolution of software design process – Procedural,
Chapter 11: Interaction Styles. Interaction Styles Introduction: Interaction styles are primarily different ways in which a user and computer system can.
Copyright © 2005, Pearson Education, Inc. Chapter 8 Command and Natural Languages.
1 Command and Natural Languages Lecture 9. CS774 – Spring The Basic Goals of Language Design Precision Compactness Ease in writing and reading Speed.
Graphical User Interfaces CS 5389 Lecture 7. The Basic Goals of Language Design Precision Precision Compactness Compactness Ease in writing and reading.
PHP meets MySQL.
Automating Database Processing Chapter 6. Chapter Introduction Design and implement user-friendly menu – Called navigation form Macros – Automate repetitive.
1 Chapter 15 User Interface Design. 2 Interface Design Easy to use? Easy to understand? Easy to learn?
SEG3120 User Interfaces Design and Implementation
© 2010 Pearson Addison-Wesley. All rights reserved. Addison Wesley is an imprint of Designing the User Interface: Strategies for Effective Human-Computer.
Fall 2002CS/PSY Dialog Design 1 Command languages and WIMP Command languages  Advantages, disadvantages  Design guidelines WIMP  Advantages, disadvantages.
Evaluating a UI Design Expert inspection methods Cognitive Walkthrough
Chapter Three The UNIX Editors.
Importance of user interface design – Useful, useable, used Three golden rules – Place the user in control – Reduce the user’s memory load – Make the.
© 2010 Pearson Addison-Wesley. All rights reserved. Addison Wesley is an imprint of 1-1 HCI Human Computer Interaction Week 7.
Database Design, Application Development, and Administration, 6 th Edition Copyright © 2015 by Michael V. Mannino. All rights reserved. Chapter 5 Understanding.
McGraw-Hill/Irwin The Interactive Computing Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. Microsoft Excel 2002 Using Macros Lesson.
Chapter 11 user support. Overview Users require different types of support at different times. There are four main types of assistance that users require:
Human Computer Interaction Lecture 21 User Support
CIS 376 Bruce R. Maxim UM-Dearborn
UNIT-3 Command and Natural Languages
Working in the Forms Developer Environment
SQL and SQL*Plus Interaction
1. Command and Natural Languages
Chapter 2 Hix & Hartson Guidelines.
11.10 Human Computer Interface
Objectives State the reasons for the complexity involved in the development of software Define the following terms Objects Classes Messages Methods Explain.
Guide To UNIX Using Linux Third Edition
User Interface Design PPT By :Dr. R. Mall.
Software Engineering: A Practitioner’s Approach, 6/e Chapter 12 User Interface Design copyright © 1996, 2001, 2005 R.S. Pressman & Associates, Inc.
Microsoft Access Illustrated
OPERATE A WORD PROCESSING APPLICATION (BASIC)
Search Techniques and Advanced tools for Researchers
Tools of Software Development
Copyright Catherine M. Burns
Chapter 6 System and Application Software
Guide To UNIX Using Linux Third Edition
Dialog Design 1 Command languages and WIMP
Introduction into Knowledge and information
Heuristic Evaluation Jon Kolko Professor, Austin Center for Design.
Unified Modelling Language
Systems Analysis and Design in a Changing World, 6th Edition
Chapter 11 user support.
Proper functionality Good human computer interface Easy to maintain
Cognitive models linguistic physical and device architectural
Nilesen 10 hueristics.
Chapter 6 System and Application Software
CIS 375 Bruce R. Maxim UM-Dearborn
Chapter 12 cognitive models.
CHAPTER 7: Command and Natural Languages
What is Interaction? Communication User  System
Presentation transcript:

Kuliah #7: Command and Natural Languages Iwan Sonjaya,MT

The Basic Goals of Language Design Precision Compactness Ease in writing and reading Speed in learning Simplicity to reduce errors Ease of retention over time

Higher-Level Goals of Language Design Close correspondence between reality and the notation Convenience in carrying out manipulations relevant to user's tasks Compatibility with existing notations Flexibility to accommodate novice and expert users Expressiveness to encourage creativity Visual appeal

Functionality to Support User’s Tasks Users do wide range of work: text editing electronic mail financial management airline or hotel reservations inventory manufacturing process control gaming

Functionality to Support User’s Tasks (cont.) Designers should determine functionality of the system by studying users' task domain create a list of task actions and objects abstract this list into a set of interface actions and objects represent low-level interface syntax create a table of user communities and tasks, with expected use frequency determine hierarchy of importance of user communities (i.e. prime users) evaluate destructive actions (e.g. deleting objects) to ensure reversibility identify error conditions and prepare error messages allow shortcuts for expert users, such as macros and customizing system parameters

Command-Organization Strategies A unifying interface concept or metaphor aids learning problem solving retention Designers often err by choosing a metaphor closer to machine domain than to the user's task domain. Simple command set Each command is chosen to carry out a single task. The number of commands match the number of tasks. For small number of tasks, this can produce a system easy to learn and use. E.g. the vi editor of Unix.

Command plus arguments/options Follow each command by one or more arguments that indicate objects to be manipulated, e.g. COPY FILEA, FILEB DELETE FILEA PRINT FILEA, FILEB, FILEC Keyword labels for arguments are helpful for some users, e.g. COPY FROM=FILEA TO=FILEB. Commands may also have options to indicate special cases, e.g.: PRINT/3,HQ FILEA PRINT (3, HQ) FILEA PRINT FILEA -3, HQ to produce 3 copies of FILEA on the printer in the headquarters building. Error rates and the need for extensive training increase with the number of possible options.

The Benefits of Structure Human learning, problem solving, and memory are greatly facilitated by meaningful structure. Beneficial for task concepts computer concepts syntactic details of command languages Consistent Argument Ordering Inconsistent order of arguments Consistent order of arguments SEARCH file no, message id SEARCH message id, file no TRIM message id, segment size TRIM message id, segment size REPLACE message id, code no REPLACE message id, code no INVERT group size, message id INVERT message id, group size

Hierarchical command structure The full set of commands is organized into a tree structure 5x3x4 = 60 tasks with 5 command names and 1 rule of formation Action Object Destination CREATE File DISPLAY Process Local printer REMOVE Directory Screen COPY Remote printer MOVE

Symbols versus Keywords Command structure affects performance Symbol Editor Keyword Editor FIND:/TOOTH/;-1 BACKWARD TO "TOOTH" LIST;10 LIST 10 LINES RS:/KO/,/OK/;* CHANGE ALL "KO" TO "OK"

Naming and Abbreviations There is often a lack of consistency or obvious strategy for construction of command abbreviations. Specificity Versus Generality Infrequent, discriminating words insert delete Frequent, discriminating words add remove Infrequent, nondiscriminating words amble perceive Frequent, nondiscriminating words walk view General words (frequent, nondiscriminating) alter correct Nondiscriminating nonwords (nonsense) GAC MIK Discriminating nonwords (icons) abc-adbc abc-ab

Six Potential Abbreviation Strategies Simple truncation: The first, second, third, etc. letters of each command. Vowel drop with simple truncation: Eliminate vowels and use some of what remains. First and last letter: Since the first and last letters are highly visible, use them. First letter of each word in a phrase: Use with a hierarchical design plan. Standard abbreviations from other contexts: Use familiar abbreviations. Phonics: Focus attention on the sound.

Guidelines for using abbreviations Ehrenreich and Porcu (1982) offer this set of guidelines: A simple primary rule should be used to generate abbreviations for most items; a simple secondary rule should be used for those items where there is a conflict. Abbreviations generated by the secondary rule should have a marker (for example, an asterisk) incorporated in them. The number of words abbreviated by the secondary rule should be kept to a minimum. Users should be familiar with the rules used to generate abbreviations. Truncation should be used because it is an easy rule for users to comprehend and remember. However, when it produces a large number of identical abbreviations for different words, adjustments must be found. Fixed-length abbreviations should be used in preference to variable-length ones. Abbreviations should not be designed to incorporate endings (ING, ED, S). Unless there is a critical space problem, abbreviations should not be used in messages generated by the computer and read by the user.

Command-language guidelines

Natural Language in Computing Natural-language interaction Natural-language queries and question answering Text-database searching Natural-language text generation Adventure games and instructional systems

Natural Language in Education CognitiveTutor traces student progress in mastering skills and concepts, then assigns individually tuned problems Communicating with students via Natural Language