Thursday, July 17, 2014

Question 5

The following are the attributes and methods for the Employee class:
·        Attributes:
1.      Empcode of the integer type
2.      Name of the string type
3.      BirthDate of the data type
4.      Address of the Address class type
·        Methods:
1.      GetEmployeeDetails()
2.      SetEmployeeDetails()
The following are the attributes and methods for the Address class:
·        Attributes:
1.      HouseNumber of the integer type
2.      StreetNumber of the string type
3.      City of the string type
4.      Zipcode of the integer type
·        Methods:
1.      GetAddress()
2.      SetAddress()

Address
-HouseNumber : int
-StreetNumber : string
-City : string
-Zipcode : int
+GetAddress()
+SetAddress()
 
Employee
-Empcode : int
-Name : string
-Address : Address
-BirthDate : object
+GetEmployeeDetails()
+SetEmployeeDetails()
 
Composition relationship exists between the Employee and Address classes

Question 2

The Spiral Approach will be appropriate in this scenario. The following points can considered for justification :
·        Computer needs to be created to provide the simulation environment.
·        Requirements can evolve during the development phase of the project.

·        System needs to be updated time-to-time as extensions in the Java language needs to run on the operating system.

Question 1

According to the scenario, the Incremental approach should be used to develop the software. The following points can be considered for the justification:
·        Software requirements are not fixed and they will be evolving during software development.
·        The following modules need to be created :
1.     Authentication module
2.     E-bill payment module

3.     Mobile Service module