presnick / RunestoneServer

Interactive books for computer science
http://interactivepython.org
Other
26 stars 46 forks source link

Week 7 problem set #41

Closed nickdotreid closed 10 years ago

nickdotreid commented 10 years ago

In this request/branch are rough versions of the shannon game problems.

Paul I know you are working on them, but since I had already started writing this, I thought I'd send it to you as a pull request. Feel free to do with it as you please.

presnick commented 10 years ago

This will be very helpful. I'm not working on it until tonight.

Sent from my iPhone

On Feb 16, 2014, at 4:22 PM, Nick Reid notifications@github.com wrote:

In this request/branch are rough versions of the shannon game problems.

Paul I know you are working on them, but since I had already started writing this, I thought I'd send it to you as a pull request. Feel free to do with it as you please.

You can merge this Pull Request by running

git pull https://github.com/nickdotreid/runestone shannon Or view, comment on, or merge it at:

https://github.com/presnick/runestone/pull/41

Commit Summary

added code to make shannon game run - of note im using the about programming text file, and not sherlock.txt which crashes browsers made question one use heuristics dictionary added problem 3 added problem 4 added problem 5 added problem 6 added brief attempt at the bonus question fixed build errors in week7 File Changes

M pip/source/Assignments/week7.rst (13398) Patch Links:

https://github.com/presnick/runestone/pull/41.patch https://github.com/presnick/runestone/pull/41.diff — Reply to this email directly or view it on GitHub.

nickdotreid commented 10 years ago

Some quick thoughts when I revisited this...

I don't think problem 3 is worth while because most students understand accumulating - if we keep this problem it should be 1 point.

I think we could make them create a much more complicated version of letter_frequencies by making it a nested structure (like so)

{
  'q':{
    'u':10,
    'a':1,
    },
  '.':{
    ' ':100,
    't':5,
    }
}

Which gets rid of the idea of "priorities" that are entered by hand. If we wanted to keep the idea of 'programmer entered' "books" of knowledge, we might want to give them a full "book" and have them merge it from their mined book. I think part of my objection to priorities is that I don't think most students will have any fun hard coding a "book" of rules, and they might skip that part of the problem.

Perhaps a good question sequence would be:

Total = 11 possible points