Nutrition Project 2 Practice Exam with Answers (49 Solved Questions)
Study smarter with Nutrition Project 2 Practice Exam with Answers, using real past exam questions for effective revision.
Sophia Lee
Contributor
4.9
104
4 months ago
Preview (12 of 39)
Sign in to access the full document!
project02
March 17, 2019
1 Project 2: Diet and Disease. Due at 11:59pm on Sunday, 3/17.
In this project, you will investigate the major causes of death in the world, as well as how one of
these causes, heart disease, might be linked to diet!
1.0.1 Logistics
Deadline. This project is due at 11:59pm on Sunday, 3/17. It’s much better to be early than late,
so start working now.
Free Response Questions: The free response questions and plots for the project are optional
and ungraded, meaning you do not need to submit a PDF of this notebook to Gradescope. These
questions tend to be open-ended. However, these questions will be very good practice for the
free-response exam questions, so do give them a good effort. Solutions will be posted after the
project late submission deadline.
Partners. You may work with one other partner. Your partner must be enrolled in the same
lab as you are. Only one of you is required to submit the project. On okpy.org, the person who
submits should also designate their partner so that both of you receive credit.
Rules. Don’t share your code with anybody but your partner. You are welcome to discuss
questions with other students, but don’t share the answers. The experience of solving the prob-
lems in this project will prepare you for exams (and life). If someone asks you for the answer,
resist! Instead, you can demonstrate how you would solve a similar problem.
Support. You are not alone! Come to office hours, post on Piazza, and talk to your classmates.
If you want to ask about the details of your solution to a problem, make a private Piazza post and
the staff will respond.
Tests. Passing the tests for a question does not mean that you answered the question correctly.
Tests usually only check that your table has the correct column labels. However, more tests will
be applied to verify the correctness of your submission in order to assign your final score, so be
careful and check your work!
Advice. Develop your answers incrementally. To perform a complicated table manipulation,
break it up into steps, perform each step on a different line, give a new name to each result, and
check that each intermediate result is what you expect. You can add any additional names or
functions you want to the provided cells.
All of the concepts necessary for this project are found in the textbook. If you are stuck on
a particular problem, reading through the relevant textbook section often will help clarify the
concept.
To get started, load datascience, numpy, pyplot, and ok.
1
March 17, 2019
1 Project 2: Diet and Disease. Due at 11:59pm on Sunday, 3/17.
In this project, you will investigate the major causes of death in the world, as well as how one of
these causes, heart disease, might be linked to diet!
1.0.1 Logistics
Deadline. This project is due at 11:59pm on Sunday, 3/17. It’s much better to be early than late,
so start working now.
Free Response Questions: The free response questions and plots for the project are optional
and ungraded, meaning you do not need to submit a PDF of this notebook to Gradescope. These
questions tend to be open-ended. However, these questions will be very good practice for the
free-response exam questions, so do give them a good effort. Solutions will be posted after the
project late submission deadline.
Partners. You may work with one other partner. Your partner must be enrolled in the same
lab as you are. Only one of you is required to submit the project. On okpy.org, the person who
submits should also designate their partner so that both of you receive credit.
Rules. Don’t share your code with anybody but your partner. You are welcome to discuss
questions with other students, but don’t share the answers. The experience of solving the prob-
lems in this project will prepare you for exams (and life). If someone asks you for the answer,
resist! Instead, you can demonstrate how you would solve a similar problem.
Support. You are not alone! Come to office hours, post on Piazza, and talk to your classmates.
If you want to ask about the details of your solution to a problem, make a private Piazza post and
the staff will respond.
Tests. Passing the tests for a question does not mean that you answered the question correctly.
Tests usually only check that your table has the correct column labels. However, more tests will
be applied to verify the correctness of your submission in order to assign your final score, so be
careful and check your work!
Advice. Develop your answers incrementally. To perform a complicated table manipulation,
break it up into steps, perform each step on a different line, give a new name to each result, and
check that each intermediate result is what you expect. You can add any additional names or
functions you want to the provided cells.
All of the concepts necessary for this project are found in the textbook. If you are stuck on
a particular problem, reading through the relevant textbook section often will help clarify the
concept.
To get started, load datascience, numpy, pyplot, and ok.
1
In [1]: from datascience import *
import numpy as np
%matplotlib inline
import matplotlib.pyplot as plots
plots.style.use('fivethirtyeight')
from client.api.notebook import Notebook
ok = Notebook('project02.ok')
_ = ok.auth(inline=True)
=====================================================================
Assignment: Project 2: Diet and Disease
OK, version v1.13.11
=====================================================================
Successfully logged in as cat028@ucsd.edu
2 Diet and Cardiovascular Disease
Death and its many causes are often a disconcerting topic for polite conversation. However, the
more we know about it, the better equipped we are to prevent our early demise. As the acclaimed
Professor Albus Dumbledore once said, “After all, to the well-organized mind, death is but the
next great adventure.”
In the following analysis, we will investigate the world’s most dangerous killer: Cardiovascu-
lar Disease. Your investigation will take you across decades of medical research, and you’ll look
at multiple causes and effects across two different studies.
Here is a roadmap for this project:
• In Part 1, we’ll investigate the major causes of death in the world during the past century
(from 1900 to 2015).
• In Part 2, we’ll look at data from the Framingham Heart Study, an observational study into
cardiovascular health.
• In Part 3, we’ll examine the clinical trials from the Minnesota Coronary Experiment and
introduce our second dataset.
• In Part 4, we’ll run a hypothesis test on our observed data from the Minnesota Coronary
Experiment.
• In Part 5, we’ll conclude the experiment and reflect on what we’ve learned about the rela-
tionship between diet and cardiovascular disease.
2.1 Part 1: Causes of Death
In order to get a better idea of how we can most effectively prevent deaths, we need to first
figure out what the major causes of death are. Run the following cell to read in and view the
causes_of_death table, which documents the death rate for major causes of deaths over the last
century (1900 until 2015).
2
import numpy as np
%matplotlib inline
import matplotlib.pyplot as plots
plots.style.use('fivethirtyeight')
from client.api.notebook import Notebook
ok = Notebook('project02.ok')
_ = ok.auth(inline=True)
=====================================================================
Assignment: Project 2: Diet and Disease
OK, version v1.13.11
=====================================================================
Successfully logged in as cat028@ucsd.edu
2 Diet and Cardiovascular Disease
Death and its many causes are often a disconcerting topic for polite conversation. However, the
more we know about it, the better equipped we are to prevent our early demise. As the acclaimed
Professor Albus Dumbledore once said, “After all, to the well-organized mind, death is but the
next great adventure.”
In the following analysis, we will investigate the world’s most dangerous killer: Cardiovascu-
lar Disease. Your investigation will take you across decades of medical research, and you’ll look
at multiple causes and effects across two different studies.
Here is a roadmap for this project:
• In Part 1, we’ll investigate the major causes of death in the world during the past century
(from 1900 to 2015).
• In Part 2, we’ll look at data from the Framingham Heart Study, an observational study into
cardiovascular health.
• In Part 3, we’ll examine the clinical trials from the Minnesota Coronary Experiment and
introduce our second dataset.
• In Part 4, we’ll run a hypothesis test on our observed data from the Minnesota Coronary
Experiment.
• In Part 5, we’ll conclude the experiment and reflect on what we’ve learned about the rela-
tionship between diet and cardiovascular disease.
2.1 Part 1: Causes of Death
In order to get a better idea of how we can most effectively prevent deaths, we need to first
figure out what the major causes of death are. Run the following cell to read in and view the
causes_of_death table, which documents the death rate for major causes of deaths over the last
century (1900 until 2015).
2
Loading page 6...
Loading page 7...
Loading page 8...
Loading page 9...
Loading page 10...
Loading page 11...
Loading page 12...
9 more pages available. Scroll down to load them.
Preview Mode
Sign in to access the full document!
100%
Study Now!
XY-Copilot AI
Unlimited Access
Secure Payment
Instant Access
24/7 Support
Document Chat
Document Details
Subject
Nutrition