user interface final

Upload: debarati-saha

Post on 06-Apr-2018

219 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/3/2019 User Interface Final

    1/20

    PRESENTED BY-

    Debarati SahaDeepak Mahanty

    USER INTERFACE

  • 8/3/2019 User Interface Final

    2/20

    February 7, 2011

    OVERVIEW

    >USER INTERFACE

    >TYPES OF UI

    >VERIFICATION & VALIDATION

    >AESTHETICS

    >C++ STREAMS

  • 8/3/2019 User Interface Final

    3/20

    February 7, 2011

    WHAT IS INTERFACE

    >>Interactions between humans and machines

    >>User Interface involves both hardware andsoftware components that provide means of :

    Input

    Output

  • 8/3/2019 User Interface Final

    4/20

    February 7, 2011

    NEED FOR GOOD INTERFACE

    >> First impression/look

    >> User-friendliness

    >>Less error

  • 8/3/2019 User Interface Final

    5/20

    February 7, 2011

    TYPES OF INTERFACE

    >>The most common types of User Interfaces arelisted below:

    Command-line User Interface (CUI)

    Graphical User Interface (GUI)

    Web User Interface (WUI)

  • 8/3/2019 User Interface Final

    6/20

    February 7, 2011

    COMMAND USER INTERFACE(CUI):

    In a CUI:

    >> The user provides the input bytyping a command string with the

    computer keyboard

    >> The system provides output byprinting text on the computer

    monitor.

    Eg. DOS,UNIX

  • 8/3/2019 User Interface Final

    7/20

    February 7, 2011

    Advantage & disadvantages of CUI:

    >>ADVANTAGE:

    ->complicated operations can be completed using a shortsequence

    >>DISADVANTAGE:

    ->not user friendly

    ->hard to memorise all commands

    ->poor aesthetic value

  • 8/3/2019 User Interface Final

    8/20

    February 7, 2011

    GRAPHICAL USER INTERFACE(GUI):

    >>Using visual elementsrather than textcommands

    >>Eg. M.S. Word,Windows, Android

    >>Basic Components of aGUI:1.Pointer2.Pointing device3.Icon

    4.Windows5.Menus6.Toolbar

  • 8/3/2019 User Interface Final

    9/20

    February 7, 2011

    ADVANTAGE & DISADVANTAGES OF GUI:

    >>ADVANTAGE:

    -> Decrease in training cost and support line cost

    -> Increase in customer satisfaction

    >>DISADVANTAGE:

    ->Need of proper hardware support(RAM,Hard disk

    space,processing power)

  • 8/3/2019 User Interface Final

    10/20

    February 7, 2011

    WEB USER INTERFACE(WUI):

    >>Accepts input and

    provide output bygenerating webpages which aretransmitted via theInternet

    >>Viewed by the userusing a web browserprogram

    Eg. Google, Ultimatix

  • 8/3/2019 User Interface Final

    11/20

    February 7, 2011

    ADVANTAGE & DISADVANTAGES OF WUI:

    >>Benefits and Attributes that apply to GUI also apply to a WUI

    >>Disadvantages:

    ->Browser dependancy

    ->Performance depends on internet speed

  • 8/3/2019 User Interface Final

    12/20

    February 7, 2011

    VERIFICATION & VALIDATION

    >> VALIDATION:Quality assurance process

    Are you building the right thing?

    >> VERIFICATION: Quality control process

    Are you building it right?

  • 8/3/2019 User Interface Final

    13/20

    February 7, 2011

    TYPES OF VALIDATION:

    >>Client side

    eg.To ensure all the mandatory fields have been filled on ascreen.

    >>Server side

    eg.Mismatch in username & password

  • 8/3/2019 User Interface Final

    14/20

    February 7, 2011

    AESTHETICS:

    >>look and feel aspect of the application.

    >>easy interaction

    >>end user comfort level.

  • 8/3/2019 User Interface Final

    15/20

    February 7, 2011

    Elements of Aesthetics

    Aesthetics

    Color

    Visual WeightTexture

    Line

    Pattern

    Shape

    Contrast GraphicsPhotos

    Sharpness

    Movement

    Scale

    Balance

  • 8/3/2019 User Interface Final

    16/20

    February 7, 2011

    C++ STREAMS:

    1.The Standard Output Stream

    ->cout

    2.The Standard Error Stream

    ->cerr

    3.The Standard Input Stream

    ->cin

    4.The Standard Output Stream for logging

    ->clog

  • 8/3/2019 User Interface Final

    17/20

    February 7, 2011

    USE OF cin& cout :

    Input

    OUTPUT

    input

  • 8/3/2019 User Interface Final

    18/20

    February 7, 2011TCS Internal 1

    VALIDATION:Handling Invalid input to cin

    What happens if you supply invalid value to cin?

    Example:

    #include

    using namespace std;

    main()

    {

    int x,y;

    coutx;

    couty;

    cout

  • 8/3/2019 User Interface Final

    19/20

    February 7, 2011TCS Internal 1

    Handling Invalid input to cin - Solution

    #include #include using namespace std;main(){

    int x,y;cout x)){

    cout

  • 8/3/2019 User Interface Final

    20/20

    THANK YOU!