Search
You can find the results of your search below.
Fulltext results:
- 02 @courses:cs101-2022b:assignments
- nctions">Criteria functions</h3> <p>To decide if someone is a good potential customer to advertise to, ... ar hobby?</p></li> <li><p>Now we can find out if someone lives in the area, but Winifred knows that peo... s?</p> <pre><code><span class="keyword">if</span> some-question: <span class="constant">true</span> <s... e</code> is redundant; you could just write <code>some-question</code> and get the same result!</p> <p>
- 03 @courses:cs101-2022b:assignments
- e.</p> <h2 id="part-1-data">Part 1: Data</h2> <p>Some kindly astronomers have shared a data set with us... the hours in the string? Just the minutes?</p> <p>Some of the string functions you’ll see in the documen... , the output is <em>not</em> a number! It’s <code>some</code> number if the string can be converted and ... d to numbers, so you only need to worry about the some case. To get the number out, use <code>.value</co
- 05 @courses:cs101-2022b:assignments
- on">Introduction</h2> <p>This assignment draws on some basic ideas about analyzing text. For some of these problems, we will tell you whether to use the built... t wherefore, which means why. --> <p>Alarmingly, someone has defaced the text of <em>Much Ado About Not... ding the word <code class="string">"Waldo"</code> somewhere in it.</p> <div class="task"> <p><strong>Ta
- 06 @courses:cs101-2022b:assignments
- xamples, such as this decision tree about whether someone should be considered a close contact for Covid... of <code class="constant">true</code> indicating someone is pregnant, now it’s <code>1</code>. This wil... e in the specified <code>column</code> compare to some <code>threshold</code>? If it’s less than the thr... rn what distance from a lake is close enough that someone should get a net:</p> <ul> <li><p>We can filte
- 01 @courses:cs101-2022b:labs
- code>).</p></li> <li><p>If there’s a syntax error somewhere in your code, Pyret will generate a syntax e... it a name.</p> <p><strong>Note</strong>: CPO <em>sometimes</em> auto-saves. Do not rely on this! Make s
- 02 @courses:cs101-2022b:labs
- s="keyword">end</span> </code></pre> <p>Here are some examples of the desired behavior of the <code>saf... and <code>false</code> otherwise.</p> <p>Here are some tests you can try (or make your own!):</p> <pre><
- 03 @courses:cs101-2022b:labs
- fortable working with tabular data and practicing some common operators on tables. It also gets you thin... hat filtering, ordering, and summarizing data are some of the key operations. So far we’ve only looked a
- 04 @courses:cs101-2022b:labs
- spreadsheet is yours to tweak manually. There are some values that Pyret will not allow you to read in, ... s in the last two columns are in the format <code>some(x)</code> or <code>none</code>.</p> <p>In order
- 04 @courses:cs101-2022b:assignments
- us individuals lived throughout recorded history, some of the years are BCE – <a href="https://en.wikipe