user interface design

profilesadqah
hw2_.doc

CS 314 User Interface Design – Homework 2

Fall 2015

Due: 12 noon, Monday, August 31, 2015

Last modified: August 24, 2015

Overview

The purpose of this assignment is to practice plan and build an OOP application and apply generl design principles. This assignment includes two parts (project and exercise) and totals 15 points.

A. Project (12 points)

Build the Carson Carpets application following the requirements specified in

· Lesson A Exercise 2 (p71)

· Lesson B Exercise 2 (p84)

· Lesson C Exercise 4 (p109): read Lesson C Exercises (Note) on p107 first

Change: Text property of the main form to “Carson Carpets - your name”

Be sure to review all requirements stated at those three exercises before getting started. Be aware that there are a couple of more requirements compared to the version we practiced in class. For example you now must include a Print button based on Lesson C Exercise 4.

From the Poject part you need to submit:

· (3 pts) TOE chart

· (2 pts) Pseudocode or flowchart from planning – code step

· (2 pts) VB source code

· (1 pt) Appropriate comments (as shown in Fig 2-49 p104-105): prolog comments (line 1-5), a single line comment in each event describing the purpose of that event (line 14, line 26, line 36)

· (1 pt) coding style (as shown in Fig 2-49 p104-105):

· objects are named following camel case (such as txtDate, lblTotalDiscs, btnCalc)

· code indention: methods are indented in the class of the form window; code inside each method is indented from method heading

· (3 pts) Multiple screenshots of running program (1/2 pts each × 6)

· Startup screen: when program is started (nothing entered yet)

· Screen after calculate button is clicked with 10 as the length and 12 as the width

· Screen after calculate button is clicked with no input data (nothing has been entered into length and width yet)

· Screen after calculate button is clicked with string tt in length and string 9s in width

· Screen after clear button is clicked

· Screen after print button is clicked

B. Exercise (3 points)

1. (1 pt) Answer this question AFTER you’ve completed the project part of this assignment: what’s the hardest part of this assignment for you? Please explain.

2. (2 pts) Read this page on “Principles of Use Interface Design” ( https://en.wikipedia.org/wiki/Principles_of_user_interface_design ). Write one paragraph on each of the following four principles to summarize that principle in your own words and illustrate with one example (good or bad) based on the Carson Carpets project in this assignment or your own experience with software/websites. Again your answer for this exercise should include at least four paragraphs, one for each of the principles below:

· Structure

· Feedback

· Tolerance

· Reuse

From the Exercise part you need to submit:

· answers to exercise 1 and 2

Rubric

See assignment description.

Submission

Put your work in one single document (.doc, .docx, .rtf, or .pdf) and submit the document to HW2 on Canvas. The “Submit Assignment” button is at the top right corner of the page.

If you decide to draw charts/diagrams on paper and then scan, make sure the scanned image is legible by others (not by you, as you already know what it is and that adds the bias). Please paste all scanned images into your homework document instead of submitting them as separate image files.