Organize and manage the genealogical tree

Assignment Help Data Structure & Algorithms
Reference no: EM131110367

Exercise 3

Suppose you are asked to develop a program that creates and develops thepedigree of a family. Asked to define the main structures (structures or classes) thatwill organize and manage the genealogical tree so that the program be able to answer at least the following issues.

For a random person's genealogical tree to return:
1. What is called the grandfather of his father's side
2. How many grandchildren have the same name
3. How many older sisters has
4. How many half-siblings (boys or girls) have. Called half-siblings who have onlyone from the same two parents

After defining the main structures of organization and management of genealogicaltree write routines that give answers to these questions.

Reference no: EM131110367

Questions Cloud

Presented below are four independent situations : On January 1, 2011, Durocher Co. sold equipment with an estimated useful life of 5 years. At the same time, Durocher leased back the equipment for 2 years under a lease classified as an operating lease.
What is balance of current assets on the firms balance sheet : What is the balance of current assets on the firm's balance sheet? What is the balance of current liabilities on the firm's balance sheet? What is the amount of accounts payable and accruals on its balance sheet?
The lease agreement requires equal rental payments : The incremental borrowing rate for Elmer is 12%. Elmer is aware that Liquidity Finance Co. set the annual rental to ensure a rate of return of 10%.
Describes the purchasing power of payday palace : On January 1, Sam took out a $1,000 personal loan from Payday Palace, a hypothetical short-term cash advance company, that charged him a fixed monthly interest rate. On January 31, Sam repaid this loan with interest, for a total repayment of $1,100. ..
Organize and manage the genealogical tree : Suppose you are asked to develop a program that creates and develops thepedigree of a family. Asked to define the main structures (structures or classes) thatwill organize and manage the genealogical tree so that the program be able to answer at leas..
Compare with the values of the estimator : Compute the estimators Gu and  for the freestyle times of Table 16.2. Compare with the values of the estimator  . Explain the differences, if any.
Engage in bertrand price competition : Two firms, A and B, engage in Bertrand price competition in a market with inverse demand given by P = 12 - Q. Firm A has a higher marginal cost: cA > cB . Whenever a firm undercuts the rival’s price, it has all the market. If a firm charges the same ..
Prepare the bank reconciliation at june for golden image : Financial Accounting: Prepare the bank reconciliation at June 30 for Golden Image, Inc. Prepare the necessary journal entries by Golden Image, Inc., at June 30.
What income or loss before income taxes : What income or loss before income taxes should Hooke record as a result of the facts above for the year ended December 31, 2011? (Hint: Amortize commissions over the life of the lease.)(AICPA adapted)

Reviews

Write a Review

Data Structure & Algorithms Questions & Answers

  Linear-time algorithm for computing the strong component

Describe a linear-time algorithm for computing the strong component containing a given vertex v - On the basis of that algorithm, explain a simple quadratic-time algorithm for computing the strong components of a digraph.

  Java program to assign passengers seats in airplane

Prepare a Java program to assign passengers seats in an airplane. Suppose a small airplane with seats numbered as follows:

  Discuss and define complex data binding

Discuss and define complex data binding and what benefits can this capability lend to a multiple table database application?

  Questionm about distributed database

Explain what a distributed database is and how replication works with respect to managing the information in these databases.

  Computing entropy of plaintext message

Compute the entropy of the plaintext message?

  Sort array of elements using the quick sort algorithm

"sort an array of 10,000 elements using quick sort algorithm as follows: sort the array using pivot as middle element of the array

  Draw a structured flowchart or write pseudocode

Draw a structured flowchart or write pseudocode that describes the process of looking up a word in a dictionary. Pick a word at random and have a fellow student attempt to carry out your instructions

  Find a popular story and write it into an array

Find a popular children's story and write it into an array.

  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?

  Create algorithm-smallest element-set of combined elements

Assume that X and Y are two sorted sequences, comprising m and n elements respectively. Create the algorithm to nd kth smallest element in set of m + n combined elements.

  Describe the need for complex data structures

Describe the need for complex data structures and how they are used. Describe the design and application of arrays and how the array simplifies program development.

  Describe the jsp life cycle

Draw a diagram of the various events and transformations. Describe how you might implement logging in as used in the workshops using the session mechanism explaining what Java classes are involved and using code snippets.

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