Application of Fundamental Data Structures

Disaster Recovery and Business Continuity Plan
May 21, 2020
Information Security
May 21, 2020

For the first submission, you are to take the provided Titanic data set and start by creating an example of the application of the Python dictionary data structure (also known as an associative array). In your example you are to take one attribute of the data set and assign it as a key to another attribute. (i.e. where one could create an associate array of males and females as keys with each of them pointing to a list containing all of the names of the passengers that are exist in each category). Submit your source code in a plain text file.

Note that each example should include the activity of reading the data set, parsing out the columns of interest, initializing the dictionary, and assigning the attributes in an appropriate key/value relationship.

Note that other key/value relationships may require aggregation of keys by creating categories such as age groups (e.g. passengers who were adults and passengers who were not adults).

For your second submission, you are to take the same Titanic data set and use the R programming language to create two short programs that will demonstrate the use of frames. Submit your source code in a plain text file.

The first will read in the Titanic data set and load a specific attribute (column) into an R vector from which you will print to the screen specific values.

The second will reference two separate frames in a conditional and output the results to the screen ( i.e. leverage frames to print out all names of women on the Titanic that were under the age of 40).

All results must be documented with screenshots.


"Are you looking for this answer? We can Help click Order Now"

Law Writers