Search
You can find the results of your search below.
Fulltext results:
- 06 @courses:cs101-2022b:labs
- 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<Number>) -> Number: <span
- 05 @courses:cs101-2022b:labs
- 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
- GET-AGE</var> = 25 <var>TARGET-TOWN</var> = <span class="string">"poughkeepsie"</span> <var>TARGET-HOBBIES</var> = <span class="string">"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
- <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">"dcic-2021"</span>, <span class=
- 02 @courses:cs101-2022b:labs
- ker shows you this solution:</p> <pre><code><span class="keyword">fun</span> <span class="name">grade</span>(percent :: Number) -> String: <span class="keyword">doc</span>: <span class="string">"Return the letter grade for a percent."</span> <
- 06 @courses:cs101-2022b:assignments
- 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
- -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
- 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
- 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">"dcic-2021"</span>, <span class=
- 03 @courses:cs101-2022b:labs
- 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">"dcic-2021"</span>, <span class="string">"1wyQZj_L0qqV9Ekgr9au6RX2iqt2Ga8Ep&qu
- 04 @courses:cs101-2022b:assignments
- 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