Tuesday, October 20, 2015

Question:

Imagine that you are running a case study of a multi-user game management system called ARENA. For each of the following objects in the ARENA object design model, indicate if it is an application object or a solution object:

Answer:

  • LeagueOwner solution object
  • TournamentStore solution object
  • Game application objects
  • Player application objects 
  • Move application objects
  • ResultDisplay solution object 
  • Statistics application objects


Guide:
(a) (i) Application objects also called domain object represent concept of the domain that are relevant to the system. (ii) Solution object represent components that do not have a counterpart in the application domain, such as persistent data stores, user interface object. Or middle ware.

(b) (i) Most entity object are application objects that are independent of any specific system. (ii) During analysis we identify solution object that are visible to the user, such as boundary and control objects representing forms and transaction defined as the system. During system design, we identify more solution objects in terms of software and hardware platforms
Question:

Indicate which occurrences of the following inheritance relationships are specification inheritance and which are implementation inheritance.

Answer:

  • A Rectangle class inherits from a Triangle class (Implementation inheritance)
  • A Vector class inherits from an Array class (Implementation inheritance)
  • A Circle class inherits from a Sphere class (specification inheritance)
  • A Arc class inherits from a Circle class (Implementation inheritance)
  • A Student class inherits from a Person class (specification inheritance) 


Guide:
A) Implementation inheritance refers to the use of inheritance for the sole  purpose of reusing code. Developers reuse code quickly by sub classing an existing class  and refining tis behavior. Implementation inheritance represent refuse among  conceptually unrelated classes.

B) Specification inheritance refers to inheritance used as a means of subtyping. The classification of concept into type hierarchies is called specification inheritance (also called interface inheritance’)
Question

Assuming the same file system as before, consider a scenario consisting of selecting a File in a folder, right clicking on the mouse, and renaming the file. Identify and define at least one control object associated with this scenario.

Answer

The purpose of a control object is to encapsulate the behavior associated with a user level transaction. In this example, we identify a CopyFile control object, which is responsible for remembering the path of the original file, the path of the destination folder, checking if the file can be copied (access control and disk space), and to initiate the file Copying.
Question 

Consider a file system with a graphical user interface, such as Macintosh’s Finder, Microsoft’s Windows Explorer, or Linux’s KDE. The following objects were identified from a use case describing how to rename a file: File, Icon, TrashCan, Folder, Disc, Pointer. Specify which are entity objects, which are boundary objects, and which are control objects. 


Answer

Entity object represent the persistent information( or long lived information) tracked by the system. .g year, month, day. 

 Boundary object represent the interaction between the actor and the system e.g button, and lcdddisplay. 

Control object are in charge of realizing use cases. E.g changedatecontrol is a control object that represent the activity of changing the date by pressin combination of buttons. 

 Entity objects: File, Folder, Disk 
 Boundary objects: Icon, Pointer, TrashCan 
 Control objects: none in this example

Sunday, October 12, 2014


Simple example of Movie Booking System use Java Application . Database use is MySQL .
Have 5 table which is : Customer , Movie , Admin , Hall , Booking .

Role for Customer/User:
  • Login
  • Register
  • Choose Movie
  • Choose Date and Time
  • Choose Seats
  • View Booking Details
  • View Movie Details
Role for Admin:
  • Login
  • Add New Movie
  • View Movie Details

Incoming Search:

Wednesday, October 1, 2014

Hide Your Name at Blogspot


1st Step : Go to Your Dashboard and click your Blog name

2nd Step : Go to Layout

3rd Step : Find a blog post box like a picture below . and click EDIT



4th Step : Unchecked the Posted by check box like the picture below



5th Step : Click Save button . DONE 


IF the author name still show up .. GO TO TEMPLATE , then EDIT HTML ..

Search for  <data:post.author/> at the code line ... Remove all the <data:post.author/>


How To Remove the Powered by Blogger text from your blogspot .



First Step : Go to Your Blog Dashboard. then click your blog name

2nd Step : Go to Template

3rd Step : Click a Button Name Edit HTML

4th Step : Search For </head> at the code line 

5th: Add this code above the </head>

<style type="text/css">

    #Attribution1{display:none;}

</style>

6th Step : Refresh your Blog . DONE


Zul Ameen Blog © 2013 | Powered by Blogger | Blogger Template by DesignCart.org