首页 » html辅导 » HTML辅导 | Prac 9 Instructions #eng1003/week9

HTML辅导 | Prac 9 Instructions #eng1003/week9

Prac 9 Instructions

#eng1003/week9

Objectives

The objectives of this prac class are to:

  • gain experience doing black box testing
  • draft the first version of the design document for assignment two

This prac class involves the following parts.

  • Assignment 2 Stand up meeting (~25 minutes) [ in parallel with ]
  • Black Box Testing Exercise (~40 minutes)
  • Usability Evaluation Exercise (~40 minutes)
  • Assignment 2 Prototyping Phase Milestone (~90 minutes)

Part 1. Team Assignment 2 stand-up

Your demonstrator will visit your team during the first hour of the prac class and have a stand-up meeting with your team. The stand-up will discuss the progress on the assignment and last at most 5 minutes. Each team member should speak briefly (for at most 1 minute), addressing the following three questions:

  1. What have I done towards the assignment in the last week?
  2. What will I do towards the assignment this week?
  3. What problems might I or the team have this week? (Save discussion of these for later.)

The purpose of this meeting is for the team and your demonstrator to gain a clearer view of assignment progress and understand what everyone is doing.


Part 2. Black Box Testing Exercise

Together with your team you will write a thorough set of black box acceptance tests and then discuss your experience from the testing exercise.

In this activity you are testing a JavaScript function that parses names and turns them into a structured name object consisting of a prefix, suffix, first, middle and last names. You are required to read and understand the informal requirements for this function, given below. You will then write a set of acceptance tests to confirm whether the code works as expected. You are provided with a testing harness which calls the function for each test case and reports the results.

You should start by preparing a table such as the one below and creating a set of test cases based on the specifications of the function given.

Youmustdocument your reason for each test case.

You will run test cases by working with the following code in the JavaScript Playground . You should start by copying and pasting this code into the Playground. This code reads and executes each test defined in the tests array. You should replace/extend this array with your own tests.

Your team should discuss your findings from the testing. You should consider whether the function satisfies the specification, as well as reflecting on your experience of writing black box acceptance tests in the exercise.

parseName function

  • Arguments:
    • A string containing a formatted name.
  • Returns:
    • A JavaScript object containing the following properties:
      • prefix: The person’s title
      • first: The person’s first name
      • middle: The person’s middle name(s), separated by spaces
      • last: The person’s last name
      • suffix: The person’s name suffix

These properties will all be strings, although they may be an empty string if the person’s name doesn’t include this. Periods and commas are treated as formatting and are removed. All words in the output strings will have the same capitalisation as in the original input name string.

This function checks for common prefixes at the beginning of the given name string. The prefixes it recognises are “prof”, “mr”, “mrs”, “ms”, “dr”, “miss”, “sir”, “madam”, and “hon”. These are recognised regardless of capitalisation and regardless of whether they have a period ending the abbreviation, e.g., “Prof.”.

Common suffixes are checked for are the end of the name string. The recognised suffixes are “jr”, “sr”, “i”, “ii”, “iii”, “iv”, and “v”. Again these are recognised regardless of capitalisation.

The usual form of recognised names is [PREFIX] FIRST [MIDDLE]+] [LAST[, SUFFIX] where things in square brackets are optional, i.e., with the prefix and suffix subtracted, if there is just one word this will be recognised as the first name. If there is two the second will be recognised as the last name. Any additional names in the middle will be recognised as middle names. One exception to this is if there is a valid prefix and only one name, then this is recognised as the last name, e.g., “Mrs Smith” will be assumed to contain a prefix and a last name.

A reversed form of name is also recognised: LAST, [PREFIX] FIRST [[[MIDDLE]+][, SUFFIX]. For example, “Wybrow, Dr. Michael”


Part 3. Usability evaluation exercise

This activity is to be done as a team. It requires you to critically evaluate the interface of a mobile app with respect to the principles suggested by Norman and Shneiderman in this week’s pre-workshop Alexandria material.

  1. We suggest you evaluate theTimely Alarm Clockapp, but you coulddiscuss and evaluate any app, even one you are very familiar with.
  2. On your team smartphone, open the Google Play store and search for “Timely Alarm Clock” (or your chosen app). Make sure you are connected to WiFi before you download and install it.
  3. Next, create a Google Doc in your team directory called “Usability and interaction design” and spend some time writing down your initial impressions/thoughts of the app as a team.
  4. Once you have a few things written down, take a few minutes to read through and discuss Norman’s principles as per the pre-workshop reading. In your Google Doc, comment on the chosen app with respect to Norman’s principles.
  5. Finally, discuss and document the application’s conformance to (or violations of) Shneiderman’s 8 Golden Rules (8GR) in your Google Doc.

Part 4. Assignment 2 Checkpoint – Prototyping

In the final hour of the practical class, we will be spending some time implementing an MDL prototype for the app.

You should work as a team in pairs (using pair programming) to implement an MDL prototype for your app, based on your wireframe and storyboard designs from the previous week. You are welcome to modify the wireframe and/or the storyboard if necessary. You should use mocked up data where needed in order to show how the elements will look like. You should not write any JavaScript code at this time.

Your team will be assessed for this checkpoint (worth 1%) towards the end of class (~:40).

At this point, your demonstrator will also come to have a chat with you about the features that you will have to implement by the checkpoints in Week 10 and Week 11 (worth 0.5% each).



程序辅导定制C/C++/JAVA/安卓/PYTHON/留学生/PHP/APP开发/MATLAB


blank

本网站支持 Alipay WeChatPay PayPal等支付方式

E-mail: vipdue@outlook.com  微信号:vipnxx


如果您使用手机请先保存二维码,微信识别。如果用电脑,直接掏出手机果断扫描。

blank

发表评论

您的电子邮箱地址不会被公开。