Lab Manual Updated PDF
Lab Manual Updated PDF
Lab Manual
Final Year Semester-VIII
Subject: Human Machine Interaction
Even Semester
Institutional Vision, Mission and Quality Policy
Our Vision
To foster and permeate higher and quality education with value added engineering, technology
programs, providing all facilities in terms of technology and platforms for all round development with
societal awareness and nurture the youth with international competencies and exemplary level of
employability even under highly competitive environment so that they are innovative adaptable and
capable of handling problems faced by our country and world at large.
RAIT’s firm belief in new form of engineering education that lays equal stress on academics and
leadership building extracurricular skills has been a major contribution to the success of RAIT as one
of the most reputed institution of higher learning. The challenges faced by our country and world in
the 21 Century needs a whole new range of thought and action leaders, which a conventional
educational system in engineering disciplines are ill equipped to produce. Our reputation in providing
good engineering education with additional life skills ensure that high grade and highly motivated
students join us. Our laboratories and practical sessions reflect the latest that is being followed in the
Industry. The project works and summer projects make our students adept at handling the real life
problems and be Industry ready. Our students are well placed in the Industry and their performance
makes reputed companies visit us with renewed demands and vigour.
Our Mission
The Institution is committed to mobilize the resources and equip itself with men and materials of
excellence thereby ensuring that the Institution becomes pivotal center of service to Industry,
academia, and society with the latest technology. RAIT engages different platforms such as
technology enhancing Student Technical Societies, Cultural platforms, Sports excellence centers,
Entrepreneurial Development Center and Societal Interaction Cell. To develop the college to become
an autonomous Institution & deemed university at the earliest with facilities for advanced research
and development programs on par with international standards. To invite international and reputed
national Institutions and Universities to collaborate with our institution on the issues of common
interest of teaching and learning sophistication.
RAIT’s Mission is to produce engineering and technology professionals who are innovative and
inspiring thought leaders, adept at solving problems faced by our nation and world by providing
quality education.
The Institute is working closely with all stake holders like industry, academia to foster knowledge
generation, acquisition, dissemination using best available resources to address the great challenges
being faced by our country and World. RAIT is fully dedicated to provide its students skills that make
them leaders and solution providers and are Industry ready when they graduate from the Institution.
We at RAIT assure our main stakeholders of students 100% quality for the programmes we deliver.
This quality assurance stems from the teaching and learning processes we have at work at our campus
and the teachers who are handpicked from reputed institutions IIT/NIT/MU, etc. and they inspire the
students to be innovative in thinking and practical in approach. We have installed internal procedures
to better skills set of instructors by sending them to training courses, workshops, seminars and
conferences. We have also a full fledged course curriculum and deliveries planned in advance for a
structured semester long programme. We have well developed feedback system employers, alumni,
students and parents from to fine tune Learning and Teaching processes. These tools help us to ensure
same quality of teaching independent of any individual instructor. Each classroom is equipped with
Internet and other digital learning resources.
The effective learning process in the campus comprises a clean and stimulating classroom
environment and availability of lecture notes and digital resources prepared by instructor from the
comfort of home. In addition student is provided with good number of assignments that would trigger
his thinking process. The testing process involves an objective test paper that would gauge the
understanding of concepts by the students. The quality assurance process also ensures that the
learning process is effective. The summer internships and project work based training ensure learning
process to include practical and industry relevant aspects. Various technical events, seminars and
conferences make the student learning complete.
It is our earnest endeavour to produce high quality engineering professionals who are
innovative and inspiring, thought and action leaders, competent to solve problems
faced by society, nation and world at large by striving towards very high standards in
learning, teaching and training methodologies.
Vision
To impart higher and quality education in computer science with value added engineering and
technology programs to prepare technically sound, ethically strong engineers with social awareness.
To extend the facilities, to meet the fast changing requirements and nurture the youths with
international competencies and exemplary level of employability and research under highly
competitive environments.
Mission
To mobilize the resources and equip the institution with men and materials of excellence to provide
knowledge and develop technologies in the thrust areas of computer science and Engineering. To
provide the diverse platforms of sports, technical, cocurricular and extracurricular activities for the
overall development of student with ethical attitude. To prepare the students to sustain the impact of
computer education for social needs encompassing industry, educational institutions and public
service. To collaborate with IITs, reputed universities and industries for the technical and overall
upliftment of students for continuing learning and entrepreneurship.
Departmental Program Educational Objectives
(PEOs)
1. Learn and Integrate
To provide Computer Engineering students with a strong foundation in the mathematical,
scientific and engineering fundamentals necessary to formulate, solve and analyze
engineering problems and to prepare them for graduate studies.
3. Broad Base
To provide broad education necessary to understand the science of computer engineering and
the impact of it in a global and social context.
4. Techno-leader
To provide exposure to emerging cutting edge technologies, adequate training &
opportunities to work as teams on multidisciplinary projects with effective communication
skills and leadership qualities.
5. Practice citizenship
To provide knowledge of professional and ethical responsibility and to contribute to society
through active engagement with professional societies, schools, civic organizations or other
community activities.
1
Experiment Plan, Course Objectives &
Course Outcome
Course Objectives:
Course Outcomes:
2
W10, Implementation of Different Kinds of Windows CO5 03
7
W11
Design a system with proper guidelines for
8 W12 CO5 03
icons
3
Mapping Course Outcomes (CO) -
Program Outcomes (PO)
Subject Course Outcomes Contribution to Program outcomes
Weight
Pa Pb Pc Pd Pe Pf Pg Ph Pi Pj Pk Pl
CO1: To apply HMI in their
1 2 2 1 2 1 1
day-to-day activities.
CO2: To analyze user models
and develop user centric 2 3 1 1 1 1 1
interfaces
CO3: To understand and
apply principles of a good 2 2 2 1 1 1 1
PR interface design.
40% CO4: To analyzes human
responses and develop
2 2 1 1 2 1 1
guidelines for the best user
experience.
CO5: To design interface and
apply the core concepts of
2 2 1 1 2 1 1
Human Computer Interaction to
improve them.
4
Study and Evaluation Scheme
Course
Course Name Teaching Scheme Credits Assigned
Code
Human Theory Practical Tutorial Theory Practical Tutorial Total
CPC802 Machine
Interaction 05
04 02 -- 04 01 --
Term Work:
1. Term work assessment must be based on the overall performance of the student with
every experiment graded from time to time. The grades should be converted into
marks as per the Credit and Grading System manual and should be added and
averaged.
2. The final certification and acceptance of term work ensures satisfactory performance
of laboratory work and minimum passing marks in term work.
1. Oral exam will be based on the entire syllabus of Human Machine Interaction.
5
Human Machine Interaction
Experiment No. : 1
6
Experiment No. 1
1. Aim: To understand the trouble of interacting with machines - Redesign interfaces of
home appliances like microwave oven, land-line phone, fully automatic washing
machine.
5. Theory:
Two of the most important characteristics of good design are discoverability and
understanding.
- Discoverability: Is it possible to even figure out what actions are possible and
where and how to perform them?
- Understanding: What does it all mean? How is the product supposed to be
used? What do all the different controls and settings mean?
7
With complex devices, discoverability and understanding require the aid of manuals
or personal instruction. We accept this if the device is indeed complex, but it should
be unnecessary for simple things.
1. Affordances: Convey the rules by leaving visual clues. To make sure that the
appropriate actions are perceivable, and non-accessible ones are not invisible. By just
the appearance of any object, its functionality must be clear to the user.
Example: by looking at the handles, we should know how the door opens.
3. Feedback: The effect of every action. A feedback in any form is very critical
to the user.
Example: washing machine example, the user did not get any kind of feedback from
the system. That made the user assume the system is faulty. Every single user action
has to be acknowledged immediately.
5. Mapping: Mapping gives the set of possible relations between objects. There
should be Control-display compatibility between the objects visible. Mapping gives
the natural relationship between controls and displays. Example: mapping of stove
controls to elements.
Conceptual Model
8
user by just appearance of it. These models are very critical for a good user
experience. If the end product does not map to the mental images of the user, the
product is not a success.
User
Designer
System
System
image
6. Procedure:
Select any home appliances like microwave oven, land-line phone, fully automatic
washing machine and understand the trouble of interacting with that machine.
Comment on design of that machine as good or bad design based on whether
interaction principles are matching with users mental model or not. Redesign the
interface for mention the change in design and reason.
7. Conclusion:
People have “mental models” of how things work, built from different interaction
principles. It is responsibility of the designers to first understand the mental model
and then try to make a product that will agree to it.
8. Viva Questions:
9
What are characteristics of good design?
Which are different fundamental principles of Interaction?
What is conceptual model and mental model>
9. References:
10
Human Machine Interaction
Experiment No. : 2
11
Experiment No. 2
1. Aim: To design a system based on user-centered approach
5. Theory:
12
Fig. Difference between User- Centered and System-Centered Approach
The success of any product or digital design is totally dependent on how it meets the
requirements of stakeholders and the product itself. The designer should always
understand the user. It is not the case that the designer should understand who the
user is but the experience level of the user should be totally accommodated. The
deep knowledge of the user can not only be achieved by analyzing the numbers
obtained in quantitative study during market research but also the deep knowledge
(behavior, attitude, and aptitude) about the user will be obtained in various
qualitative research techniques.
6. Procedure:
Know your client: Select anyone category of user and develop application
understanding the user who will be using your system. Comment on the category of
user selected and specific features given for the users and identify what kinds of
interfaces will they like and why?. Compare with existing system analyze and rate
them.
13
b. Teenagers: Design a digital diary for young teens to help them overcome
various social pressures they deal with during their teen years. The diary should also
be like a self help tool which would help them deal with incidents like bullying, peer
pressure, etc.. This is an open project and you can think in any direction to make the
children sail through their teen years while trying to discover life around them.
c. Older generation: Folks from the older generation has been very wary of
using their credit card on the Internet. They have various concerns when it comes to
paying their bills. Also because of their old age, it will be beneficial for them to use
the internet and pay their phone, electricity, gas, etc. bills
Perform analysis of rural people e.g. their problems, interests, needs, language
etc
7. Conclusion:
8. Viva Questions:
14
9. References:
15
Human Machine Interaction
Experiment No. : 3
16
Experiment No. 3
1. Aim: To understand the principles of good screen design by heuristic evaluation.
5. Theory:
17
- Interface words and text should be simple, unambiguous, and free of
computer jargon.
3. Compatibility: Provide compatibility with the following:
- The User: Design must be appropriate and compatible with the needs of the
user or client. “Know the user” is the fundamental principle in interface
design.
- The task and job: The organization of a system should match the tasks a
person must do to perform the job. The structure and flow of functions
should permit easy transition between tasks. The user must never be forced
to navigate between applications or many screens to complete routine daily
tasks.
- The product: Compatibility across products must always be considered in
relation to improving interfaces, making new systems compatible with
existing systems. As a result it reduces the necessity for new learning as user
is aware of the system.
6. Consistency: A system should look, act, and operate the same throughout.
- Similar components should:
Have a similar look.
Have similar uses.
Operate similarly.
- The same action should always yield the same result.
- The function of elements should not change.
- The position of standard elements should not change.
7. Control: The user must control the interaction.
- Actions should result from explicit user requests.
- Actions should be performed quickly.
- Actions should be capable of interruption or termination.
- The user should never be interrupted for errors.
18
8. Directness: Provide direct ways to accomplish tasks.
- Available alternatives should be visible.
- The effect of actions on objects should be visible.
9. Efficiency: Minimize eye and hand movements, and other control actions.
- Transitions between various system controls should flow easily and freely.
- Navigation paths should be as short as possible.
- Eye movement through a screen should be obvious and sequential.
10. Familiarity:
- Employ familiar concepts and use a language that is familiar to the user.
- Keep the interface natural, mimicking the user’s behavior patterns.
- Use real-world metaphors.
11. Flexibility: A system must be sensitive to the differing needs of its users,
enabling a level and type of performance based upon:
- Each user’s knowledge and skills.
- Each user’s experience.
- Each user’s personal preference.
- Each user’s habits.
- The conditions at that moment.
12. Forgiveness:
- Tolerate and forgive common and unavoidable human errors.
- Prevent errors from occurring whenever possible.
- Protect against possible catastrophic errors.
- When an error does occur, provide constructive messages.
13. Predictability
- The user should be able to anticipate the natural progression of each task.
Provide distinct and recognizable screen elements.
Provide cues to the result of an action to be performed.
- All expectations should be fulfilled uniformly and completely.
14. Recovery
19
An error on their part.
Hardware, software, or communication problems.
15. Transparency
- Permit the user to focus on the task or job, without concern for the mechanics
of the interface.
6. Procedure:
Identify 5 different websites catering to one specific goal (eg. Goal – on-line shopping
and 5 different websites – ebay, amazon, flipkart, zovi, myntra) and perform a
competitive analysis on them to understand how each one caters to the goal, the
interactions and flow of the payment system and prepare a report on the same.
Consider any 8 HCI principles and prepare the following table evaluating the
websites.
1 Aesthetically pleasing
2 ..
7. Conclusion:
The design goals in creating user interface are fundamental to the implementation of
all effective interfaces including GUI and Web ones. These principles are general
characteristics of the interface and they apply to all aspects.
8. Viva Questions:
9. References:
20
Human Machine Interaction
Experiment No. : 4
21
Experiment No. 4
1. Aim: To calculate screen complexity of existing Graphical User Interface and
redesign the interface to minimize the screen complexity.
5. Theory:
22
Method for Measuring Complexity:
pn, probability of occurrence of the nth event class (based on the frequency
of events within that class)
23
6. Procedure:
7. Conclusion:
Good alignment is related to shorter screen search times and higher viewer
preferences for a screen. Misalignments and uneven spacing, no matter how slight,
can create bothersome unconscious disruptions to our perceptual systems.
8. Viva Questions:
9. References:
24
Human Machine Interaction
Experiment No. : 5
25
Experiment No. 5
1. Aim: To design web user interface based on Gestalt Theory
To analyzes human responses and develop guidelines for the best user
experience.
To understand, identify, analyze and design the problem, implement using
current techniques and skills.
To engage in continuing professional development and higher studies.
5. Theory:
1. Proximity: Proximity is similar to common regions but uses space as the enclosure.
When elements are positioned close to one another, they are seen as part of a group
rather than as individual elements. This is especially true when the elements in the
group are closer to each other than they are to any elements outside the group. The
picture below represents arrangement of boxes on the left are not close
26
enough to have proximity, while the group on the right is perceived as a
single whole element
2. Similarity: From the name of this principle it is easy to understand that this will be
used in the case of those items that are alike. These objects will be perceived as
making part of a group and their similarity could consist of the size, color, form,
length, and so on. People find it easy to navigate web page thanks to the similarity
principle, which could be used either to make the most important elements stand out
or maybe to direct the attention of your audience towards certain links, icons or
images. In the picture below, we quickly perceive rows of circles and X's rather than
the individual letters.
3. Closure: Closure refers to the tendency to perceive the whole in objects, filling in
the necessary missing bits of information. For example, the below picture is
perceived as two faces or a vase rather than two symmetrical lines.
27
4. Continuity: Continuity refers to the inclination to see objects as continuous, a
smooth progression rather than parts. For example, in the below picture, we see two
lines intersecting rather than a series of small dots.
6. Procedure:
Design/Redesign web user interface based on Gestalt theories and comment on the
principle applied and justify. Also analyze one image in which Gestalt principle is
applied and comment.
Example:
Take a look at old IBM logo:
You recognize the letters as an I, a B, and an M, no problem there. But they aren’t
letters at all; the whole thing is a compilation of bright blue horizontal lines arranged
to create the perception of a set of letters.
Gestalt Property used here is Closure.
Closure means that we "close" objects that are themselves not complete; not only
completing the figure in our perception, but perceiving the figure as having an extra
element of aesthetic design; we look for a simple, recognizable pattern.
28
7. Conclusion:
At its simplest, gestalt theory describes how the mind organizes visual data. The
stronger the clarity of form, the more effective the design will be.
8. Viva Questions:
Define Perception.
Discuss how perception is biased by experience, goals and current context.
Which are different Gestalt Principles?
9. References:
1. Jeff Johnson, “Designing with the mind in mind”, Morgan Kaufmann Publications
2. http://nptel.ac.in/courses/106103115/module8/3.pdf
29
Human Machine Interaction
Experiment No. : 6
30
Experiment No. 6
1. Aim: Implementation of Menus for Graphical System
5. Theory:
Providing the proper kinds of graphical menus to perform system tasks is also critical
to system success. The best kind of menu to use in each situation depends on several
factors. The following must be considered:
31
a. Menu Bar
- A menu bar consists of a collection of descriptions that serve as headings or
titles for a series of actions on an associated pull-down menu.
- The menu is typically arrayed in a horizontal row at the top of a window.
Occasionally a menu bar is referred to as a collection of menu titles. In reality
it is a menu in itself, and it is appropriate to simply refer to it as a menu. A
menu bar is the starting point for many dialogs. Menu bars often consist of a
series of textual words, as represented in fig.
32
Cover the entire choice, including one blank space before and
after the choice word.
b. Pull-Down Menu
- Selection of an alternative from the menu bar results in the display of the exact
actions available to the user.
- These choices are displayed in a vertically arrayed listing that appears to pull
down from the bar.
- Hence, these listings, as illustrated in fig, are typically referred to as pull-
downs. Other identification terms may be used, such as drop-downs.
33
- Physically, the pull-down menu must be wide enough to accommodate the
longest menu item description and its cascade or accelerator indicator.
- Align the first character of the pull-down descriptions under the second
character of the applicable menu bar choice.
c. Cascading Menu
- A cascading menu is a submenu derived from a higher-level menu, most
typically a pull-down.
- Cascading menus are located to the right of the menu item on the previous
menu to which they are related, as illustrated in fig.
34
Fig: Pop-up Menu
e. Tear-off Menus
- A tear-off menu is a pull-down menu that can be positioned anywhere on the
screen for constant referral.
- As such, it possesses all the characteristics of a pull-down. It may also be
called a pushpin, detachable, or roll-up menu.
- Its purpose is to present alternatives or choices to the screen user that are
needed infrequently at some times and heavily at other times.
6. Procedure:
Design an application which consists of different types of menus. Apply and explain
general menu design guidelines applied for formatting, ordering, phrasing, selecting
choices, and navigating menus for application which is designed.
7. Conclusion:
Menus are effective because they utilize the more powerful human capability of
recognition rather than the weaker capability of recall. Working with menus reminds
people of available options and information that they may not be aware of or have
forgotten.
8. Viva Questions:
35
9. References:
1. Wilbert O. Galitz, “The Essential Guide to User Interface Design”, Wiley publication.
2. http://www.nptel.ac.in/courses/106105087/pdf/m09L21.pdf
36
Human Machine Interaction
Experiment No. : 7
37
Experiment No. 7
1. Aim: Implementation of Different Kinds of Windows.
5. Theory:
People’s tasks must be structured into a series of windows. The type of window used
will depend on the nature and flow of the task. There are two types of windows:
Primary Window and Secondary Windows.
Primary Window: The primary window is the first one that appears on a screen
when an activity or action is started. A primary window should contain constantly
used window components such as frequently used menu bar items and controls (for
example, control bars) used by dependent windows
38
Secondary Windows
1. Dialog Boxes: Dialog boxes are used to extend and complete an interaction
within a limited context. Dialog boxes are always displayed from another window,
either primary or secondary, or another dialog box. They may appear as a result of a
command button being activated or a menu choice being selected, or they may be
presented automatically by the system when a condition exists that requires the user’s
attention or additional input.
39
Fig: Microsoft Windows Dialog Box
2. Property Sheets and Property Inspectors: The properties of an object in an
interface can be displayed in a variety of ways, for example, the image and name of
an icon on the desktop. Secondary windows provide two other techniques for
displaying properties, property sheets and property inspectors.
Fig: Microsoft Windows Property Sheet Fig: Microsoft Windows Property Inspector
40
4. Palette Windows: Palette windows are modeless secondary windows that
present a set of controls. Palette windows are distinguished by their visual appearance,
a collection of images, colors or patterns. The title bar for a palette window is shorter
and includes only a close button.
6. Procedure:
7. Conclusion:
Using windows it is much easier to switch between tasks and to maintain one’s
context, since one does not have to reestablish one’s place continually. In addition,
41
Windows provide access to more information than would normally be available on a
single display of the same size. Overwriting, or placing more important information
on top of that of less importance at that moment.
8. Viva Questions:
9. References:
1. Wilbert O. Galitz, “The Essential Guide to User Interface Design”, Wiley publication.
2. http://www.nptel.ac.in/courses/106105087/pdf/m09L21.pdf
42
Human Machine Interaction
Experiment No. : 8
43
Experiment No. 8
1. Aim: To understand how to design appropriate icons.
5. Theory:
Icons are most often used to represent objects and actions with which users can
interact with or that they can manipulate. These types of icons may stand alone on a
desktop or in a window, or be grouped together in a toolbar. A secondary use of an
icon is to reinforce important information, a warning icon in a dialog message box, for
example.
Categories of Icon
- Icon: Something that looks like what it means
- Index: A sign that was caused by the thing to which it refers
- Symbol: A sign that may be completely arbitrary in appearance
Kinds of Icon
- Resemblance: An image that looks like what it means
- Symbolic: An abstract image representing something
- Exemplar: An image illustrating an example or characteristic of something
44
- Arbitrary: An image completely arbitrary in appearance whose meaning must be
learned
- Analogy: An image physically or semantically associated with something
Characteristics of Icons
Icons should be:
- familiar
- clear and legible
- simple
- consistent
- direct
- efficient
- discriminable
Choosing Icons
Icon design is an important process. Meaningful and recognizable icons will speed
learning and recall and yield a much more effective system. Poor design will lead to
errors, delays, and confusion. Looks different from all other icons.
- 16 × 16 pixels.
16- and 256-color versions.
- 32 × 32 pixels
16- and 256-color versions.
- 48 × 48 pixels
16- and 256-color versions.
- Use colors from the system palette.
- Use an odd number of pixels along each side.
Provides center pixel around which to focus design.
- Minimum sizes for easy selection:
With stylus or pen: 15 pixels square.
45
With mouse: 20 pixels square.
With finger: 40 pixels square.
- Provide as large a hot zone as possible.
Choosing Images
- Define purpose: To begin the design process, first define the icon’s purpose and use.
Have the design team brainstorm about possible ideas, considering real-world
metaphors.
- Collect, evaluate, and sketch ideas: Start by designing on paper, not on the
computer. Ask everyone to sketch his or her ideas.
- Draw in black and white: Many icons will be displayed in monochrome. Color is an
enhancing property; consider it as such.
- Test for expectation, recognition, and learning. Choosing the objects and actions,
and the icons to represent them, is not a precise process, and will not be easy. So, as in
any screen design activity, adequate testing and possible refinement of developed
images must be built into the design process. Icon recognition and learning should
both be measured as part of the normal testing process.
- Test for legibility. Verify the legibility and clarity of the icons in general. Also,
verify the legibility of the icons on the screen backgrounds chosen. White or gray
backgrounds may create difficulties. An icon mapped in color, then displayed on a
monochrome screen, may not present itself satisfactorily. Be prepared to redraw it in
black and white, if necessary.
- Register new icons in the system’s registry. Create and maintain a registry of all
system icons. Provide a detailed and distinctive description of all new icons.
46
6. Procedure:
Identify separate lines of business, e.g., medical, greeting cards, law etc. Design an
application using proper guidelines for icons. Comment on design of icons and their
relevance in the system.
7. Conclusion:
Icons are the most often used to represent objects and actions with which users can
interact with or that they can manipulate.
8. Viva Questions:
9. References:
1. Wilbert O. Galitz, “The Essential Guide to User Interface Design”, Wiley publication.
2. http://www.nptel.ac.in/courses/106105087/pdf/m09L21.pdf
47