Saturday, August 27, 2011

Exploratory Research Methodology Example

To understand Hong Kong consumers better, a Singaporean food company plans to do preliminary exploratory research through focus groups. This provides details for a proposal to describe how focus groups can be conducted for the company (e.g. selection criteria for respondents, number of sessions, participants’ profiles, location of study, etc).

The proposed methodology is to combine literature review and a focus group (in-depth) interview process. The purpose of the focus group would be to gather and explore perceptions, thoughts, opinions and preference (i.e. whether Hong Kong consumers would eat Singaporean food, their frequency of eating Singaporean food and its popularity). This would able the company to assess the Hong Kong food and beverage industry with minimum cost and time possible, providing in-depth knowledge about their potential customers and determine if there is a market (opportunity) for the company.

As it is difficult to predict the number of participants that will turn up for the group session, 12 people will be invited. The size of the focus group will consist of 8-12 people, 8 being the minimum and 12 the maximum (i.e. 12 people agree but only 8 people show up). This is to generate the right type of group dynamics/energy necessary for a beneficial group session.

The proposed number of focus group sessions is 4. However, the number of sessions may be continued until the different groups of participants offer no more new ideas, thoughts or feelings. Each session will comprise of 90 minutes, but may be extended to 2 hours. Hence, to encourage participants to attend the scheduled session on time and remind them that their commitment to participate is worth the effort, a $50 incentive will be given to participants... Read more>>

Monday, August 22, 2011

ICT 203 - Q1d (Foundations in Modern System Design)

Three classes should be coded, each with its instance variables (if applicable), constructor, and accessor methods. The question also guides that each subclass should have a computeFee() method, as coded below: Question

For OrdinaryMember class:

public double computeFee() {

double payment = 0;

if (getIsOverseas())

payment = getMembershipFee() * 0.5;

else

payment = getMembershipFee();

return payment;

}


For AssociateMember class:

public double computeFee() {

double payment = 0;

if (getIsOverseas())

payment = getMembershipFee() * 0.5;

else

payment = getMembershipFee();

payment = payment + magazineCharge;

return payment;

}

ICT 203 - Q1c

I would check the location of the associate member within the subscribeMagazine method in the Associate subclass to determine if the Associate Member is eligible to subscribe for the magazine. If the member is eligible to subscribe for the magazine, within the subscribeMagazine method, it will check to see if the member wants to subscribe for the magazine. If the member is eligible and wants to subscribe to the magazine, the value of the variable subscribeMagazine (true) is returned, else false will be returned. The value of the variable subscribeMagazine returned will be used in the computeFee method. If the value of variable subscribeMagazine is true, the additonalFee variable will be added in the calculation of the totalFee, else the additionalFee will not be added to the totalFee.

Question

ICT 203 - Q1b ( Foundations in Modern System Design)










Question

ICT 203 - Q1a ( Foundations in Modern System Design)

Classes involved would be the superclass called Membership, and the subclasses Ordinary and Associate. The superclass Membership would be an abstract class with its common (generic) attributes such as memberName, address and totalFee, and methods such as computeFee(), which would be inherited and reused by the Ordinary and Associate subclasses. Thus, the Ordinary and Associate subclasses have a “is a” relationship with its superclass Membership.

Question

ICT203 - Foundations in Modern System Design Question 1

An employees’ union has two types of membership: ordinary and associate. Ordinary members pay $108 per year and receive a free monthly magazine. Associate members pay $72 per year, but they do not receive the magazine unless they pay an additional charge of $12 per year. Every  member gets a 50% discount off the membership fee, if he is stationed overseas; however, this discount is not applicable to the magazine charge for the associate member as the union does not send the magazine to associate members overseas.
(a) Identify the classes involved and explain the superclass-superclass relationship among  them. (answer)

(b) Draw a UML class diagram to depict the given information, showing the attributes for each  class, and the class hierarchy. (answer)

(c) Explain how you would record the fact that an associate member needs to pay for the  magazine. State also the class or classes concerned, and the attributes and/or methods added. (answer)

(d) Write Java code to define the classes and hierarchy you had identified above. In each class, include the attributes as instance variables of suitable data types, and appropriate  constructor(s) that initialize(s) the instance variables. Note that each subclass should have  its own implementation of the computeFee() method. (answer)

(e) (i) Explain how you might write the computeFee() method for the superclass.

(ii) What is the advantage of having this method in the superclass?


Related Posts:

Saturday, August 20, 2011

Manhwa: Cutie Boy by Hwang Mi-ri


Cutie Boy is another of Hwang Mi-ri’s creations spanning 8 volumes. The story revolves around Lee Han-Ah, a girl who happens to be the leader of her high school gang and her mishaps at her attempts to look for a pretty boyfriend.

When Han-Ah was in grade school, she was bullied by a boy called Yoo-Min. Yoo-Min had made fun of her and commented that she had a “wide and flat” butt; it left a scar in her heart, not knowing that it was actually Yoo-Min’s method of expressing his affection. Now in high school, Han-Ah has become the leader of the gang at her school. Although she is not a talented fighter, she wins fights by using the ‘innocent’ girl act. Although she is not that enthusiastic about her new role, her friends push her to do so as she is seen as their only hope. As her school is an all-girls school, the girls were once bullied by the boys from a nearby boy’s school, until Han-Ah became the captain and started to win fights.

On day, Han-Ah meets Yoo-Min on the streets and starts dating him without knowing that he is the same Yoo-Min that had bullied her in grade school. She soon finds out that his true identity and becomes scared of him. However, after a series of encounters with Yoo Min, she begins to realize that he truly cares for her. During the exams terms Yoo-Min takes her to meet his family, and his grandmother tells him she won’t allow him to be with Han-Ah because her narrow hip is not suitable for bearing children (the root of all the tormenting). They start going out again but due to some misunderstanding, Han-Ah becomes Mi Yoo’s ‘girlfriend’, because he realizes she is his ideal type of woman...Read More>>