# Refactoring and Design Patterns in Aviation and Robotics

1 Pages610 Words364 Views
|
|
|
1.An Aircrafts engines are turned on and it then accelerates to a reasonably slow speed In order to align itself to the takeoff area.It then stops and waits for a moment and then accelerates once more to a high speed ,raises its nose to some reasonable degree and takesoff.It then continues to fly up until it reaches some height .The aircraft continues to fly at this height for a little while and then increases its height once more.It continues to fly at this new height until it is close to its destination ,at which time it lowers its nose to some reasonable degree and beging the landing process.once it lands the plane deaccelertes to a lower and constant speed and continues at this speed until it decelerates once more ,stops and turns of its engine.Refactor the program using notes from lecture in order to support the abovefunctionality.Test your program by running it as described above and by providing reasonable detailed output.2.Sudy the Proxy and Fridge design pattern from the provided course notes.Study the spacebook,openbook and coolbook program and make the appropriate modifications to the coolbook program such that a user is able to send his or her friend a virtual gift .such virtual gifts would normally be in the form of small graphis but in this case let us simplify and make them textual eg. If Tom sends Judith a ‘heart’ virtual gift then the textual output on Tom’s screen would br;Tom:sent virtual heart.3.In a team of two ,choose five refactoring patterns that was not presented in lecture ,prepare a slide set on these patterns and then present it in class to your peers.propose your chosen patterns to your instructor prior to starting your work in order to ensure that every group in the course has chosen different patterns .The fifteen minute presentation will ocuur during class time on the week of the due of this assignment and each presentation will be collectively graded by the lecturer and the students enrolled in the class.4.RIG vessel is a planned portable ,small surface vessel by robotics InnovationGroup the vessel will include a global positioning system and an onboard laboratory and will be controlled using a mobile device such as a smartphone or a tablet computer.The onboard laboratory will allow the operator.In addition to controlling the vessel ,to acquire real time data such as water temperature and quality and see pictures of the underwater.Using the weather monitoring station example from lecture we may say that in lieu of the weather data object,we will have a water data object as a part of an application for RIGvessel and along the same lines,instead of tracking current weather conditions ,we will track current weather conditions etc..we may also wish to realize an API such that students may write their own data acquisition displays and use our solution as a pluggable component.Propose an object –oriented solution that contains a water data class and couples of mobile displays that make use of appropriate design patterns and be supported by an implementation written in c#.write XML documentation as part of your implementation and export that documentation in a self contained PDF file5.Continuing with the third task from the previous assignment ,create the scouts case study entity/relationship model using a database package of your choice and export your schema to an SQL file .The resulting file should be self contained and have commands to create the database ,tables AND SOMe test data.

## End of preview

Want to access all the pages? Upload your documents or become a member.

### Support

#### +1 306 205-2269

Chat with our experts. we are online and ready to help.