Demonstrate usage of collection to access data structures

Assignment Help Programming Languages
Reference no: EM132750050

MITS4002 Object-Oriented Software Development - Victorian Institute of Technology

OBJECT-ORIENTED SOFTWARE DEVELOPMENT

Dragging Points on a Circle

Learning outcome 1: Demonstrate understanding of classes, constructors, objects, data types and instantiation; Convert data types using wrapper methods and objects.

Learning outcome 2: Independently analyse customer requirements and design object-oriented programs using scope, inheritance, and other design techniques; Create classes and objects that access variables and modifier keywords. Develop methods using parameters and return values.

Learning outcome 3: Demonstrate adaptability in building control and loop structures in an object-oriented environment; Demonstrate use of user defined data structures and array manipulation.

Learning outcome 4: Create object hierarchies using additional utility methods, application programming interfaces (API) and interfaces, in conjunction with existing classes and objects.

Learning outcome 5: Demonstrate usage of collection to access data structures effectively and compose full-fledged object-oriented applications.

Learning outcome 6: Extend the on object-oriented concepts and design patterns introduced in lectures to carry out further research on a chosen object-oriented design pattern or emerging recent programming languages.

Problem Description
Draw a circle with three random points on the circle. Connect the points to form a triangle. Display the angles in the triangle. Use the mouse to drag a point along the perimeter of the circle. As you drag it, the triangle and angles are redisplayed dynamically as shown in Figure 1.
You will need to create a DrawTriangle class (not main class) which takes some appropriate parameters in one of its methods to draw the triangle within the circle as shown in Figure 1. Your will not get full marks if DrawTriangle class is not created nor used as it as part of Object-Oriented Software Development.

Your code:

1. Can your program display a circle in the centre of the frame, if not, why?

2. Can your program display three points on the circle, if not, why?

3. Can your program draw a triangle using these three points, if not, why?

4. Can your program compute the angles in the triangle, if not, why?

5. Can your program display the angles in the triangle, if not, why?

6. Note that three points are three small circles. Can your program detect which small circle is pressed by the mouse, if not, why?

7. Can your program drag a small circle that has been pressed, if not, why?

8. Can your program drag a small circle along the perimeter of the circle, if not, why? (Hint: Ignore the mouse drag if it is not along the perimeter of the circle.)

Attachment:- Object-Oriented Software Development.rar

Reference no: EM132750050

Questions Cloud

Implement the plan and the procedures : Your organisation has identified a new marketing opportunity.
Prepare Splish entry to record the exchange : The new truck is worth $49,580. Splish also made a cash payment of $48,240. Prepare Splish's entry to record the exchange
Prepare entries that the buyer should record for purchase : Prepare entries that the buyer should record for (a) the purchase, (b) cash payment within the discount period, and (c) cash payment after the discount period
Was the credit column total of the trial balance overstated : Was the credit column total of the trial balance overstated, understated, or correctly stated? If overstated or understated, show by how much
Demonstrate usage of collection to access data structures : Demonstrate usage of collection to access data structures effectively and compose full-fledged object-oriented applications - design patterns introduced
Prepare the journal entries for Cassar Ltd : The rental payments include an amount of $7,500 per half year to cover the cost of insurance arranged. Prepare the journal entries for Cassar Ltd
Differences between physical and protective barriers : Explain the differences between physical and protective barriers. What are the two major categories of protective barriers?
Determine the type of audit opinion which should be given : Evaluate each of the following independent situations and then determine the type of audit opinion which should be given. Justify your conclusions
Mobile commerce technologies : Customers use mobile devices for a wide range of shopping and commercial activities.

Reviews

Write a Review

Programming Languages Questions & Answers

  Write a haskell program to calculates a balanced partition

Write a program in Haskell which calculates a balanced partition of N items where each item has a value between 0 and K such that the difference b/w the sum of the values of first partition,

  Create an application to run in the amazon ec2 service

In this project you will create an application to run in the Amazon EC2 service and you will also create a client that can run on local machine and access your application.

  Explain the process to develop a web page locally

Explain the process to develop a Web page locally

  Write functions

These 14 questions covers java class, Array, link list , generic class.

  Programming assignment

If the user wants to read the input from a file, then the output will also go into a different file . If the user wants to read the input interactively, then the output will go to the screen .

  Write a prolog program using swi proglog

Write a Prolog program using swi proglog

  Create a custom application using eclipse

Create a custom Application Using Eclipse Android Development

  Create a application using the mvc architecture

create a application using the MVC architecture. No scripting elements are allowed in JSP pages.

  Develops bespoke solutions for the rubber industry

Develops bespoke solutions for the rubber industry

  Design a program that models the worms behavior

Design a program that models the worm's behavior.

  Writing a class

Build a class for a type called Fraction

  Design a program that assigns seats on an airplane

Write a program that allows an instructor to keep a grade book and also design and implement a program that assigns seats on an airplane.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd