Search

You can find the results of your search below.

asmt2
123 Hits, Last modified:
3> <ul> <li>Create a new file on <a href="https://code.pyret.org/">Pyret</a>.</li> <li>Unlike with Assig... examples for each function you implement using a <code>where</code> block. Here is a sample:</li> </ul> <pre><code>fun <span class="hljs-keyword">add</span><span class="b
lab3.html
94 Hits, Last modified:
ng helper functions</li> <li>Filtering data with <code>filter-with</code></li> <li>Writing nested functions</li> <li>Adding a column to a table</li> <li>Summa... each candy. Then, they compiled a data-set with <code>Number</code> attributes like the winning percentage, relative price, and sugar percentage, and also <c
lab4
66 Hits, Last modified:
>To import the spreadsheet, include the following code at the top of your program. You will put the <code>ssid</code> of your copy of the spreadsheet in your code below. </p> <p><strong>Note</strong>: The highlighted po
asmt3
25 Hits, Last modified:
ng>Hint</strong>: Be sure you have the necessary <code>include</code> expressions!</p> <h2 id="part-2-convert-times-to-minutes">Part 2: Convert times to minut... </p> <p><strong>Task</strong>: Design a function <code>time-str-to-minutes</code> that takes a time as a string (like those in the table) and converts it to t
lab6
15 Hits, Last modified:
ones that are very similar (e.g., ''my-sum''). <code> fun my-product(lst :: List<Number>) -> Number: ... is ... my-product([list: 5, 2, 3]) is ... end </code> Trace the execution of the ''my-product([list: ... utions as comments in your file in this format: <code> #| my-product([list: 5, 2, 3]): lst is [list: 5,... calls my-product(empty) return value is ... |# </code> ====== Exercise 2: sum-of-cubes ===== Fill in
lab2
14 Hits, Last modified:
====== Lab 2: Conditionals and Reading Code ====== ~~NOTOC~~ 10 September 2021 ===== Today's lab ====... he function is called. For example, this is valid code: <code> number = 111 if number == 111: "Yay" else: "Nay" end </code> ==== Part 2 ==== Your friend came up with an
top
14 Hits, Last modified:
===== Computing environments ===== * [[https://code.pyret.org/|CPO]] -- Pyret * Python /**** ## A... ou are not permitted to look at another student’s code or to talk about assignments in terms of code or pseudocode. In addition, you must cite any books, articles, websites, lectures, etc. that have helpe
lab1
13 Hits, Last modified:
with * your new CS Linux account, * using the code.pyret.org (CPO) programming environment, and * ... efox (or the browser of your choice). * Enter ''code.pyret.org'' in the address bar. * Click "Sign i... xperiment. * In the interactions window, type:<code> ››› 1 </code> and press enter. This gets evaluated and -- fascinatingly -- the result is also the numb
lab7
10 Hits, Last modified:
ul> <h2 id="setup">Setup</h2> <p>Create the file <code>lab07.arr</code> and copy/paste the following header comment into it:</p> <pre><code><span class="hljs-comment">#|</span> CMPU<span ... ame</span> |<span class="hljs-comment">#</span> </code></pre><p>As usual, ask your instructor or a coach
week9
6 Hits, Last modified:
* **//Welcome back!//** * CPO notes: [[https://code.pyret.org/editor#share=1LB4oJC68oWrf7tLFr0BYabhtmdtDHUUk&v=1904b2c | lecture15 code]] * [[https://www.cs.vassar.edu/~cs101/1/class/... te to write functions * CPO notes: [[https://code.pyret.org/editor#share=1oO4o-I8N2NRCzgsy3aNvwWfxB... g gossip (Rumor Mills) * CPO notes: [[https://code.pyret.org/editor#share=17JmkvWVeILmobvyXx5qLM_yU1
asmt1
4 Hits, Last modified:
library ===== Getting started ===== - Open code.pyret.org and ensure it's connected to your Googl... wire.com/c/G916D3D51|Campuswire]]. Don't post any code unless requested by the coaches or instructors, t... of office hours. ===== Assignment ===== Write code to generate four flags: - Madagascar \\ \\ {{m... png?nolink|Flag of Greenland}} \\ \\ Set up your code so that the four flags are output in the interact
week5
4 Hits, Last modified:
B_hmsGzIE_HWnFzL|zoom recording of lecture]] Passcode: L5YZmy6? (possibly useless, since I forgot to sh... ed * sample questions shared in CPO [[https://code.pyret.org/editor#share=1yfp1-6cClELcAkfxSxPIDDDfc... Problem 5** (10 points) Reading and understanding code. Given a function: * indicate which tests p... or fail * briefly describe (in words, not code) what you would need to change to make all of the
sidebar
3 Hits, Last modified:
tps://dcic-world.org/|DCIC (Text)]] * [[https://code.pyret.org/|CPO (Pyret)]] * [[https://hackmd.io/... ers/1-hMLeiP5KMr69vn5sDGbfXgTvnea1YhO?usp=sharing|Code samples from lectures]] * [[week5 | Week 5 summary including midterm review ]] * [[https://code.pyret.org/editor#share=1yfp1-6cClELcAkfxSxPIDDDfc
week1
2 Hits, Last modified:
5sDGbfXgTvnea1YhO?usp=sharing|Table example Pyret code]]. This was just a preview of coming attractions ... to do in a few weeks. Don't try to understand the code now. [[https://docs.google.com/presentation/d/1B
week7
2 Hits, Last modified:
bsFvRWzcAj5cFfmQuu-tzVZvFUrIZ4N/view?usp=sharing| code from lecture]] * Reminders: * [[https://... wgJeTALwSjnPYdhyCtuXgPK6EZWDZm/view?usp=sharing | code from lecture 14]] ==== Friday ==== * [[lab6
week2
1 Hits, Last modified:
week3
1 Hits, Last modified:
week4
1 Hits, Last modified:
week6
1 Hits, Last modified:
schedule
1 Hits, Last modified:
week11
1 Hits, Last modified: