CS_2984_19921_201601
Classwork 17
Skip To Content
Dashboard
  • Login
  • Dashboard
  • Calendar
  • Inbox
  • History
  • Help
Close
  • My Dashboard
  • CS_2984_19921_201601
  • Assignments
  • Classwork 17
2016 Spring
  • Home
  • Modules
  • Pages
  • Assignments
  • Syllabus
  • Smart Search
  • Facebook Group
  • Class Notebook
  • Portfolium
  • Google Drive
  • Microsoft OneDrive
  • Top Hat
  • VT Library Help
  • Zoom
  • Course Gallery
  • Gradescope
  • Course Evaluations

Classwork 17

  • Due Mar 22, 2016 by 11am
  • Points 10
  • Submitting a file upload
  • File Types py
  • Available until Apr 19, 2016 at 9:30am
This assignment was locked Apr 19, 2016 at 9:30am.

For the following exercises, and those from the next few days, we have provided you with some starting code in python. Download the .py files and put them in your computational thinking folder (the one we created on installation). Open the files in spyder, add your name at the top next to the "Author" field and write the code for the exercise in it. Upload all the appropriate files to each question as your response to this assignment.

Problem #1

File: cw-17-q1.py Download cw-17-q1.py

Use the weather.get_forecasted_reports block to answer this question:
What is the average wind speed in Blacksburg for the forecasted days?

Problem #2

File: cw-17-q2.py Download cw-17-q2.py

Use the weather.get_forecasted_reports block to answer this question:
What is the average forecasted "feels like" temperature in Blacksburg?
To calculate the "feels like" temperature you need to use this formula:
feels_like = temperature - wind**0.7
You can reuse your code from question 2 on the previous day's homework.

Problem #3

File: cw-17-q3.py Download cw-17-q3.py

The weather.get_all_forecasted_temperatures returns a list of forecasted temperatures for each city in the database. Use the data to answer the following question:
What is the average temperature for each city?
Fill in the blanks to answer the question.

1458658800 03/22/2016 11:00am
Please include a description
Additional Comments:
Rating max score to > pts
Please include a rating title

Rubric

Find Rubric
Please include a title
Find a Rubric
Title
You've already rated students with this rubric. Any major changes could affect their assessment results.
 
 
 
 
 
 
 
     
Can't change a rubric once you've started using it.  
Title
Criteria Ratings Pts
This criterion is linked to a Learning Outcome Description of criterion
threshold: 5 pts
Edit criterion description Delete criterion row
5 to >0 pts Full Marks blank
0 to >0 pts No Marks blank_2
This area will be used by the assessor to leave comments related to this criterion.
pts
  / 5 pts
--
Additional Comments
This criterion is linked to a Learning Outcome Description of criterion
threshold: 5 pts
Edit criterion description Delete criterion row
5 to >0 pts Full Marks blank
0 to >0 pts No Marks blank_2
This area will be used by the assessor to leave comments related to this criterion.
pts
  / 5 pts
--
Additional Comments
Total Points: 5 out of 5
Previous
Next

Data-Structures-Abstraction-2.pptx Homework 17