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

  Definitions and discussion on best-average-worst case

Definitions and discussion (0-complexity of algorithms discussed: best-average-worst case, doubly linked list, trees, binary trees, binary search trees, AVL, and b-tree.

  Discuss fault tolerance approaches that systems managers use

Discuss fault tolerance approaches that systems managers use to assure continuity of operations

  Write a flowchart to solve any linear equation ax+b=01.

Write a flowchart to solve any linear equation ax+b=01. W Write a flowchart to solve any linear equation ax^2+bx+C=0

  Algorithm to keep track of sufficient information

Your algorithm must keep track of sufficient information so that, for any computer Cb it is possible to retrieve in O(n) time a sequence of communications by which Cb could have become infected.

  What role will cryptography play during the election process

2016 is an election year in the United States. What role will cryptography play during the election process? Think about secure one-to-one communication, multi-party communication, multiparty computation etc. All posts must be at least 125 words l..

  Create the shoutbox class for your virtual world

Create the ShoutBox class for your Virtual World. Your ShoutBox class will have two methods - initialize your data structures with words or have the user enter the words

  Order statistic tree to count number of inversions in array

Demonstrate how to use an order-statistic tree to count the number of inversions in an array of size n in time O(n lg n).

  B-tree might be an elegant solution for the sorting

As you are working on finalizing the code for your solution, you are thinking that a B-Tree might be an elegant solution for the sorting and search algorithms. In order though to implement the solution in the most elegant fashion the use of recurs..

  Modify the stack example

Modify the stack example so that it stores characters instead of integers.

  What is complexity of the gnome sort for the average case

What is the complexity of the gnome sort for the average case? Justify your answer. The justification can be based on approximate calculations.

  Describe ways to generalize a simple sorting algorithm

Describe ways to generalize a simple sorting algorithm (such as insertion sort, or any other sort you are familiar with) to support this generalization

  Graph in which every node is pivotal for at least two nodes

Give an example of a graph in which every node is pivotal for at least two di fferent pairs of nodes. Explain your answer.

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