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

  The greatest common divisor of the fibonacci number

what is the greatest common divisor of the fibonacci numbers f100 and f101 by Euclid algorithm

  Data structures and algorithms

Provides learners with an understanding of how data structures are used in algorithms and enables them to design and implement data structures

  Create the entity relationship diagram

Create the entity relationship diagram for your project database based on the initial data requirements.

  Compare the array-based and link-based implementations

Compare the array-based and link-based implementations of the ADT bag operation

  Create a data flow diagram

Create a data flow diagram for Online library management system. It should include search, hold, add items, issue, recall, and add user. It should support books, dvds, and cds. The flows should include each data element, the levels must be balance..

  What is the time complexity

Design an algorithm for finding the closest two numbers in the input list - What is the time complexity? Is it probable to improve the algorithm if the input is a sorted list?

  Please be sure to detail specific relationships of muscle

Please read this articles both are critical for the discussion on the topic on Effects of Pronation on Knee Injury Risk.

  Describe main tenets of theory and how they affect behavior

Describe the main tenets of the theory and how they affect behavior.

  B+-tree

For the B+-tree where M=3 and L=5 shown below, show how an insert of value 80 is handled.

  Draw a red-black tree

Draw a red-black tree for the following values inserted in this order. Illustrate each operation that occurs: w k o s y t p r

  Write algorithm to calculate the median using queries

Calculate the median using as few queries as possible. Provide an algorithm which determines the median value using at most O(lg n) queries.

  Algorithm to find maximum sum of contiguous sublist

Using dynamic programming, write an algorithm to find the maximum sum of contiguous sublist of a given list of n real values.

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