Search

You can find the results of your search below.

03 @courses:cs101-2022b:labs
10 Hits, Last modified:
to work in a pair, you’ll make a single code file which you’ll upload to Gradescope with both your names.... yEight">FiveThirtyEight</a> conducted a survey in which tens of thousands of people were asked to choose ... “The Ultimate Halloween Candy Power Ranking”</a>, which is worth a read after the lab.</p> <p>In this lab... >Exercise 1.1: Sugar rush</h3> <p>We want to know which candies have the most sugar!</p> <p><strong>Task<
07 @courses:cs101-2022b:labs
8 Hits, Last modified:
to work in a pair, you’ll make a single code file which you’ll upload to Gradescope with both your names.... </a>!</p> <p>A pipeline has</p> <ul> <li>faucets, which can be opened or closed,</li> </ul> <table> <thea... </tr> </tbody> </table> <ul> <li>straight pipes, which can be copper or lead,</li> </ul> <table> <thead>... ement the function <code>is-water-running</code>, which takes a <code>Pipeline</code> and determines whet
06 @courses:cs101-2022b:assignments
6 Hits, Last modified:
h2> <p>This week we learned about <em>trees</em>, which can be used to represent data such as ancestry (a... ction/itn.html">insecticide-treated bed nets</a>, which help prevent the spread of the disease. Since the... divided into two sheets: <code>train-data</code>, which we’ll use in order to learn who to give bed nets to, and <code>test-data</code>, which we’ll use to evaluate how well the resulting syst
04 @courses:cs101-2022b:labs
6 Hits, Last modified:
values that Pyret will not allow you to read in, which you will have to correct by hand directly in the ... table called <code>student-data-sanitized</code>, which is the same as <code>student-data</code> but usin... it?usp=sharing">this copy of the spreadsheet</a>, which contains our edits to the table. Do you agree wit... use"</code> column, students were asked to select which one of the nine houses they live in. For students
05 @courses:cs101-2022b:labs
6 Hits, Last modified:
o give you practice working to analyze real data, which will require working with both tables and lists. ... ll practice breaking problems into smaller tasks, which you can complete by writing functions and express... to work in a pair, you’ll make a single code file which you’ll upload to Gradescope with both your names.... : Table) -&gt; Image</code>,</p> </blockquote> <p>which takes in a table and, for each row, plots a dot o
02 @courses:cs101-2022b:assignments
5 Hits, Last modified:
se definitions are for <em>global variables</em>, which are variables (names) created outside of a function, which are accessible to all functions throughout the pr... li><p>Pick two pieces of ad-matching information, which can be the same or different from what you used i... For each, describe</p> <ul> <li>one possible use which is beneficial or benign, and</li> <li>one which y
05 @courses:cs101-2022b:assignments
5 Hits, Last modified:
with <code>book-text</code>, a long text string, which you may recognize as Act I of William Shakespeare... the names of characters are in ALL CAPS. To find which of the words in <code>split-text</code> are chara... >"I"</code>, and <code class="string">"O"</code>, which are ALL CAPS, but aren’t actually names.</li> </u... you have to break it into separate tasks, each of which can be done with a built-in list operator or expr
03 @courses:cs101-2022b:assignments
4 Hits, Last modified:
indly astronomers have shared a data set with us, which they’ve made available as a <a href="https://docs... in the documentation produce a <code>List</code>, which is a data type we haven’t worked with yet. You <e... ed-mins</code>. Let’s leave our original version (which works for sunlight) and define a new one:</p> <p>... e the minutes from the start time until midnight (which you just wrote a function to do) and add them to
04 @courses:cs101-2022b:assignments
2 Hits, Last modified:
a</a>. These are represented as negative numbers, which is accurate, but confusing to see!</p> <p class=... of the entries in this column are proper numbers, which is why it's loaded as strings!</p> <h2 id="assi
02 @courses:cs101-2022b:labs
1 Hits, Last modified:
d (in miles per hour) and returns the category to which that wind speed belongs:</p> <pre><code><span cl
06 @courses:cs101-2022b:labs
1 Hits, Last modified:
to work in a pair, you’ll make a single code file which you’ll upload to Gradescope with both your names.