Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

R AND RSTUDIO 4 Data Structure #1 Instructions: Complete each of the questions below based on the dataset provided in Question #1. 1) (4 points):

R AND RSTUDIO

image text in transcribedimage text in transcribed

4 Data Structure #1 Instructions: Complete each of the questions below based on the dataset provided in Question #1. 1) (4 points): The director for the RSOB BBA program has asked you to enter data into R and RStudio. The dataset is shown below: 1 2 3 4 CourseNumber CourseTitle BA-4991 Capstone BA-4992 Capstone II BA-999 independent study Credits 0-10-3 0-10-3 3-0-3 D TotalCredits 3 3 3 E Prep Time 10.25 15 2.5 What data structure should be used for storing this data? Why? Answer: 2) (13 points) Using RStudio, create the data structure you identified in question #1. Provide a screenshot of the command(s) used and the output (the new data structure) Answer: 3) (6 points) To the data structure created in question #2, add another column that includes the last name of the primary instructor for each course. Jones is the primary instructor for BA-4991. Smith is the primary instructor for BA-4992. Barker is the primary instructor for BA-999. Provide a screenshot of the command(s) used and the output (the changed data structure). Answer: 4) (3 points) From the data structure in question #3, remove the independent study course information. Provide a screenshot of the command(s) used and the output (the changed data structure). Answer: 5) (4 points) We determine that the prep time values include the 3 hours per week the instructor spends in class, which is not considered prep time. As a result, we need to reduce all the prep time values by 3 hours. Update the data structure from question #4 to show this change. Provide a screenshot of the command(s) used and the output (the changed data structure. Answer: Data Structure #2 Instructions: Complete each of the questions below based on the dataset provided in Question #6. 6) (4 points): The RSOB chairperson has asked you to enter data into R and RStudio. Three students who have taken five courses together have been asked to track the amount of hours they spend on each course per week. The dataset is shown below: D 1 2 3 4 A MI-15010 6.75 4 B MI-15020 7.25 6.5 5 C MI-15030 3 5.25 4.25 E MI-16020 10 MI-16010 8.25 9.75 11 8 9.25 3.25 What data structure should be used for storing this data? Why? Answer: 7) (8 points. Using RStudio, create the data structure you identified in question #6. Make sure all the columns are labeled appropriately. Provide a screenshot of the command(s) used and the output (the new data structure). Answer: 8) (3 points) When the students tracked their hours per week, they forgot to include the two hours a week they spent in class, which need to be added. Add these 2 hours to all the hours stored in the data structure created in question #7. Provide a screenshot of the command(s) used and the output (the changed data structure. Answer: 9) 6 points) For the five courses, the professor was Jones and the courses were offered in the 2016-2017 academic year. Create a list that includes the professor, academic year, and hours that were tracked in the data structure in question #8. Provide a screenshot of the command(s) used and the output (the new data structure)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Graph Database Modeling With Neo4j

Authors: Ajit Singh

2nd Edition

B0BDWT2XLR, 979-8351798783

More Books

Students also viewed these Databases questions