Search

You can find the results of your search below.

06 @courses:cs101-2022b:labs
111 Hits, Last modified:
earning-objective">Learning objective</h2> <p>In class, we’ve been writing <em>recursive</em> functions,... nsider the following recursive function:</p> <pre class="pyret"><code><span class="keyword">fun</span> <span class="name">product</span>(lst :: List&lt;Number&gt;) -&gt; Number: <span
05 @courses:cs101-2022b:labs
84 Hits, Last modified:
lowing code into the definitions window:</p> <pre class="pyret"><span class="keyword">include</span> gdrive-sheets <span class="keyword">include</span> data-source <span class="keyword">include</span> shared-gdrive(<span class="st
02 @courses:cs101-2022b:assignments
74 Hits, Last modified:
GET-AGE</var> = 25 <var>TARGET-TOWN</var> = <span class="string">&quot;poughkeepsie&quot;</span> <var>TARGET-HOBBIES</var> = <span class="string">&quot;running, biking, walking, swimming... – functions that return the Boolean values <code class="constant">true</code> or <code class="constant">false</code>. Make sure to write examples for each func
05 @courses:cs101-2022b:assignments
72 Hits, Last modified:
<code>cases</code>) like those we’ve designed in class this week.</p> <h2 id="guidelines">Guidelines</h... -endeavor">Set up: A literary endeavor</h2> <div class="task"> <p><strong>Task</strong>: Copy and paste this code into your file:</p> <pre><code><span class="keyword">include</span> shared-gdrive(<span class="string">&quot;dcic-2021&quot;</span>, <span class=
02 @courses:cs101-2022b:labs
65 Hits, Last modified:
ker shows you this solution:</p> <pre><code><span class="keyword">fun</span> <span class="name">grade</span>(percent :: Number) -&gt; String: <span class="keyword">doc</span>: <span class="string">&quot;Return the letter grade for a percent.&quot;</span> <
06 @courses:cs101-2022b:assignments
53 Hits, Last modified:
t new situations. (If you take a machine learning class, you will learn how to handle more complex notion... decide whether to give that person a net.</p> <p class="task"><strong>Task</strong>: Open the <a href="h... he Boolean values into numbers – instead of <code class="constant">true</code> indicating someone is preg... he data definition for a decision tree:</p> <pre class="pyret"><span class="keyword">data</span> <span c
07 @courses:cs101-2022b:labs
50 Hits, Last modified:
-other-name">Lab 7: Call the Plumber, <br> or, <a class="secret" href="https://en.wikipedia.org/wiki/A_ro... opened or closed,</li> </ul> <table> <thead> <tr class="header"> <th>faucet open</th> <th>faucet closed</th> </tr> </thead> <tbody> <tr class="odd"> <td><img src="https://www.cs.vassar.edu/~c... be copper or lead,</li> </ul> <table> <thead> <tr class="header"> <th>one straight pipe leading to a fauc
03 @courses:cs101-2022b:assignments
46 Hits, Last modified:
3: <a href="https://yewtu.be/watch?v=03rzUoyq9K0" class="secret">Sunrise, Sunset</a></h1> <p><strong>Ass... we’ll use our experience working with tables (in class and in lab) to process a table of solar and lunar... e for loading a table from a spreadsheet, seen in class and <a href="https://www.cs.vassar.edu/courses/cs... s:</p> <pre><code><var>test-data</var> = <span class="keyword">table</span>: year, month, day,
04 @courses:cs101-2022b:labs
41 Hits, Last modified:
at the top of your program:</p> <pre><code><span class="keyword">include</span> gdrive-sheets <span class="keyword">include</span> data-source <span class="keyword">include</span> shared-gdrive(<span class="string">&quot;dcic-2021&quot;</span>, <span class=
03 @courses:cs101-2022b:labs
24 Hits, Last modified:
am, in the definitions pane:</p> <pre><code><span class="keyword">include</span> gdrive-sheets <span class="keyword">include</span> shared-gdrive(<span class="string">&quot;dcic-2021&quot;</span>, <span class="string">&quot;1wyQZj_L0qqV9Ekgr9au6RX2iqt2Ga8Ep&qu
04 @courses:cs101-2022b:assignments
12 Hits, Last modified:
ed a few of the most interesting columns.</p> <p class="task"><strong>Task</strong>: Load the table from... 2b/assignments/03">Assignment 3</a> or the recent class slides and labs for the required <code>include</c... and companies get this wrong in practice!</p> <p class="task"><strong>Task</strong>: Read this short art... oods programmers believe about names</a>.</p> <p class="task"><strong>Task</strong>: Read this article o