Creating an object oriented data model

Assignment Help Data Structure & Algorithms
Reference no: EM1380143

Create an object oriented data model, including all appropriate notation, to represent the following situation. In a particular region there are a number of gardens. One attribute of GARDEN is its LOCATION. A method must be included in GARDEN to calculate its acreage (CalculateAcreage). Each garden is a collection (or assembly) of plants. Attributes of PLANT include NAME and DATE PLANTED. There must be a method to calculate the age of a plant (CalculateAge). At the present time, there are two subtypes of plants: FLOWER, and VEGETABLE. This list is not exhaustive, since other subtypes may be added at a later date. COLOR is an attribute of FLOWER, while YIELD is an attribute of VEGETABLE. There are two (and only two) subtypes of FLOWER: ANNUAL and PERENNIAL. DATE TRANSPLANTED is an attribute of PERENNIAL.

Reference no: EM1380143

Questions Cloud

Why internet need http : Discuss why does the Internet need HTTP, TCP, IP and DNS? Explain why is not the Internet Protocol enough to do the job? Please reply to these specific points of confusion.
Discuss normal function of gene : Choose one germline mutation as your topic focus. Discuss the normal function of the gene as well as the role of the mutated gene in cancer development and/or progression and discuss the nature of the virus, the type of cancers.
Design a representation of display screen : Create a form that lists possible potatoes and toppings in a manner that is easy for counter servers and kitchen crew to scan, and can also be used as input for the inventory reorder system.
Communication diary : Choose two of these communications that you feel were poorly constructed or did not get the message across and analyse why this was the case.
Creating an object oriented data model : Create an object oriented data model, including all appropriate notations, to represent the given situation. In a particular region there are a number of gardens.
Sql statements : Suppose that the tables T1 and T2 have a 1:1 relationship. Suppose that T2 has the foreign key. Demonstrate the SQL statements necessary to move the foreign key to T1.
Spreadsheet to compute projected total costs and profits : Prepare a spreadsheet to compute your projected total costs, total revenues, and total profits for giving seminar on cost estimating.
Identifying flaws in the design : Identify flaws in design of the Report of Consumers that follows. What assumptions about users and tasks did you make in order to assess this design?
Formula to compute number of address bus conductors : If an address bus needs to be able to address 8-devices, how many conductors will be needed? What if each of those devices also requires to be able to talk back to the I/O control device?

Reviews

Write a Review

Data Structure & Algorithms Questions & Answers

  What would ultimate result of algorithm

Single grain of wheat was to be placed on the first square of chess board, two on second, four on third, eight on the fourth, and so on, until all 64 squares had been filled. What would ultimate result of this algorithm have been?

  Find the weight range of normal onion bags

A packaging equipment is used to put onions into five pound bags. In fact the weights vary according to the normal distribution with expected price of average µ = 5.01 lb and standard deviation s = 0.05 lb.

  Describe algorithm that finds maximum feasible flow in graph

Describe an algorithm that finds a maximum feasible flow in G. Denote by MF(|V|, |E|) the worst-case running time of an ordinary maximum flow algorithm.

  Find maximum possible amount of money by optimal strategy

Removes it from row permanently, and receives value of coin. Find out the maximum possible amount of money we can definitely win if we move first.

  Simplify rsa cryptosystem using prime number

Assume we tried to simplify RSA cryptosystem using just prime p instead of composite modulus N = pq. As in RSA, we would have encryption exponent.

  Function to swap all the left-right subtrees of binary tree

Write a function, swapSubTrees, that swaps all of the left and right subtrees of a binary tree. write a method singleParent, that returns the number of nodes in a binary tree that have only one child.

  What is minimum number of nodes expanded for bfs and dfs

Consider the following graph representing the state space and operators of a navigation problem: What is the minimum number of nodes expanded and the storage needed for BFS and DFS?

  Finding equation has no solutions mod m

Let the equation ax = b mod m, where x is unknown and a, b and m are given. Illustrate that this equation has either no solutions mod m, or d solutions mod m.

  Program development cycle for algorithm using pseudocode

Illustrate all your work. Use modular approach to solving this problem. Give the following submodule. Calculations - module to compute gross pay. Using the Program Development Cycle, develop an algorithm using pseudocode for the following task.

  Evaluate the average complexity of an enqueue operation

Evaluate the average complexity of an enqueue operation. Determine the average complexity of the dequeue (remove) operation.

  Determine computational complexity of algorithm

Describe the algorithm in psuedo-code. You should give thought to what data structures(s) make sense for e client implementation. Determine computational complexity of your algorithm.

  Creating dataflow diagram

Think about the level of detail involved with creating a dataflow diagram, why should the narrative be prepared? Explain why do we need the questionnaire?

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