Search

You can find the results of your search below.

02 @courses:cs101-2022b:assignments
12 Hits, Last modified:
riables</em>, which are variables (names) created outside of a function, which are accessible to all functions throughout the program. They are normally defined in the top... es.</p> <p>Next, let’s help the ad agency figure out what customers fit Winifred’s criteria. We want t... n ad.</p> <p>To do this, we first need to figure out more information about them.</p> <h2 id="part-1
05 @courses:cs101-2022b:assignments
5 Hits, Last modified:
5rem; } </style> <h1 id="assignment-5-much-ado-about-lists">Assignment 5: Much Ado About Lists</h1> <p><strong>Assigned</strong>: Thursday, 6 October <br /... than usual; there isn&rsquo;t an assignment going out next week)</p> <h2 id="introduction">Introductio... 2> <p>This assignment draws on some basic ideas about analyzing text. For some of these problems, we wi
01 @courses:cs101-2022b:labs
5 Hits, Last modified:
Gradescope up until the deadline.</p> <h2 id="log-out">Log out</h2> <ol> <li>Log out by clicking the gear icon next to the date in the top panel and selecting <em>Log Out...</em> and follow any remaining prompts.</li> </
03 @courses:cs101-2022b:labs
4 Hits, Last modified:
rite an expression (in the definitions pane) that outputs the number of chocolate candies.</p> <p><stro... Write an expression in the definitions pane that outputs the proportion of chocolate candies with cara... got the right answer, you’ll see that 10/37 or about 27% of the chocolate candies also have caramel.</... od at reading the documentation and trying things out!</p> <p><strong>Task</strong>: Look at the docum
06 @courses:cs101-2022b:assignments
3 Hits, Last modified:
tion">Introduction</h2> <p>This week we learned about <em>trees</em>, which can be used to represent da... re serious examples, such as this decision tree about whether someone should be considered a close cont... ="https://gothamist.com/news/you-have-questions-about-nycs-new-school-quarantine-rules-we-have-answers">You Have Questions About NYC’s New School Quarantine Rules. We Have Answer
04 @courses:cs101-2022b:labs
3 Hits, Last modified:
s, you could expect Pyret to process the data without any extra work.</p> <p>For this lab, we’ll analy... that you and the other students taking 101 filled out earlier this week. Since the data is being gather... s been tidied up, we can start asking questions about it.</p> <h3 id="exercise-21-using-count">Exerci... ong>: Ask and answer at least one more question about the data. Discuss why you wanted to know the answ
01 @courses:cs101-2022b:assignments
2 Hits, Last modified:
> <p>Set up your code so that the three flags are output in the interactions pane (on the right) when w... he <em>Run</em> button. Make sure nothing else is output (no sub-images, numbers, strings, or otherwise... ntations.</li> </ul> <p>We do <em>not</em> care about</p> <ul> <li>exact positioning,</li> <li>exact si
03 @courses:cs101-2022b:assignments
2 Hits, Last modified:
tring-to-number</code></a>. Despite its name, the output is <em>not</em> a number! It’s <code>some</cod... converted to numbers, so you only need to worry about the some case. To get the number out, use <code>.value</code>:</p></li> </ul> <pre><code>››› <kbd>stri
04 @courses:cs101-2022b:assignments
2 Hits, Last modified:
>Pantheon 1.0 data set</a> contains information about 11,340 famous individuals, based on articles in i... andom sample of 1000 rows (that is, information about 1000 people) and have selected a few of the most ... we try to work with this data, we should think about what the valid contents of the fields could be. It turns out, this can be pretty hard, and many programmers an
05 @courses:cs101-2022b:labs
2 Hits, Last modified:
idual squirrel sightings, including information about the appearance of the squirrel, where it was seen... bsite, and in this lab we will use what we know about tables, lists, and functions to visualize these s... oint. After they check your work, you can comment out the expressions for plotting the squirrels as bla... ne helper functions.</p> <p>What do you observe about the distribution of fur color on the map?</p> <