Search

You can find the results of your search below.

06 @courses:cs101-2022b:assignments
15 Hits, Last modified:
eek we learned about <em>trees</em>, which can be used to represent data such as ancestry (a family tre... n through a social network. But trees can also be used for designing programs that classify other data ... t</em>, 2021</p> </blockquote> <p>This assignment uses very simple notions of what machine learning doe... ave data on what has happened in the past, and we use statistics about it to make decisions about new s
05 @courses:cs101-2022b:labs
10 Hits, Last modified:
YC Open Data</a> website, and in this lab we will use what we know about tables, lists, and functions t... a pruned version removing the columns that aren’t used for this lab.</p> <p>Load the pruned sheet into ... de class="string">"color"</code> columns. You can use <code>table-to-map</code> just as you’ve used Pyret’s built-in functions in previous labs.</p> </block
02 @courses:cs101-2022b:assignments
9 Hits, Last modified:
pre> <p>This is very common, especially if you’ve used other programming languages before. However, the... p the code and the programming operations that we used: What are the limitations of our current code/op... formation that advertisers are able to access and use when targeting ads to users. (You have free access to the New York Times as a Vassar student. Follow <
03 @courses:cs101-2022b:assignments
9 Hits, Last modified:
light begin to dwindle. In this assignment, we’ll use our experience working with tables (in class and ... ers, and underscores – in the spreadsheet URL and use it to load it into a Pyret table named <code>cele... >To ensure the autograder works for your program, use the column names</p> <pre><code>year, month, day,... e, moon-culm, moon-set </code></pre> <p>We won’t use <em>all</em> of the columns in this spreadsheet.
04 @courses:cs101-2022b:labs
9 Hits, Last modified:
here exists data that either isn’t valid or isn’t useful, and you need to find ways to effectively sort... t your <code>ssid</code> will be different; don’t use this one!</p> <p>To make sure the spreadsheet lo... ng</code>, <code>Number</code>, etc. – we need to use the <code>sanitize</code> functions when we load ... rs.</p> <p><strong>Hint</strong>: You’ll want to use at least <code>num-sanitizer</code> and <code>str
03 @courses:cs101-2022b:labs
8 Hits, Last modified:
part-1-filtering">Part 1: Filtering</h2> <p>Let’s use the power of filtering to learn more from our can... this lab, the data set is frozen and it’s okay to use it for testing your functions.</p> <p><strong>Tas... Write an expression in the definitions pane that uses this new column to compute how many candies meet... .</p> <p><strong>Hint</strong>: This requires the use of the <a href="https://www.cs.vassar.edu/~cs101/
05 @courses:cs101-2022b:assignments
6 Hits, Last modified:
me of these problems, we will tell you whether to use the built-in list operations (like <code>map</cod... s occur in the first input.</p> </div> <p>Do not use the built-in Table function <code>count</code>; t... e want you to practice programming with lists, so use <code>add-col</code> instead. You may use any combination of built-in operators and recursion to creat
01 @courses:cs101-2022b:labs
6 Hits, Last modified:
<h2 id="opening-cpo">Opening CPO</h2> <ol> <li><p>Use our CS account to log in to one of the Linux work... ons">Interactions and definitions</h2> <p>Getting used to the Pyret Editor can be a bit tricky. Let us ... djust the font size or change the colors CPO will use. You can make yourself comfortable or stick with ... y clicking the <em>Run</em> button at the top (or use the shortcut <code>Ctrl</code>-<code>enter</code>
02 @courses:cs101-2022b:labs
4 Hits, Last modified:
ode> expressions,</li> <li>writing functions that use <code>if</code> expressions, and</li> <li>writing... >Consider making a simple weather app that alerts users of severe weather based on wind speed using the... 73.880</li> </ul> <p>For testing, you may want to use the coordinates</p> <ul> <li>(41.686804, -73.8956... vere-alert</code>. Can you think of a way you can use the <code>saffir-simpson</code> function you’ve a
04 @courses:cs101-2022b:assignments
2 Hits, Last modified:
de for loading a table from a Google spreadsheet. Use the same column names that are in the spreadsheet... tes or other places that are divided into states. Use <code>transform-column</code> to change missing v
01 @courses:cs101-2022b:assignments
1 Hits, Last modified:
color shades.</li> </ul> <p>For instance, you can use <code>"green"</code> as the color name even thoug
06 @courses:cs101-2022b:labs
1 Hits, Last modified:
e code for <code>long-strings</code>, show how to use <code>filter</code> to accomplish the same thing
07 @courses:cs101-2022b:labs
1 Hits, Last modified:
de>), it’s a good idea to write a template we can use for functions that take that data as input.</p> <