Search

You can find the results of your search below.

asmt2
23 Hits, Last modified:
s-keyword">add</span><span class="bash">-one(n :: Number) -&gt; Number: </span> n + <span class="hljs-number">1</span> where: <span class="hljs-keyword">add</span><span clas... "hljs-attr">TARGET-AGE</span> = <span class="hljs-number">25</span> <span class="hljs-attr">TARGET-TOWN</s
lab6
18 Hits, Last modified:
, ''my-sum''). <code> fun my-product(lst :: List<Number>) -> Number: doc: ```returns the product of the numbers in list lst``` cases (List) lst: | empty => 1 | l... parts to write a function that takes in a list of Numbers and returns the sum of the cubes of the numbers:
asmt3
13 Hits, Last modified:
Copy the unique ID -- the long string of letters, numbers, and hyphens -- in the spreadsheet URL and use i... (like those in the table) and converts it to the number of minutes since midnight.</p> <p><strong>Note</s... cs/latest/strings.html#%28part._strings_string-to-number%29"><code>string-to-number</code></a>. Despite its name, the output is <em>not</em> a number! It&#39;s <c
lab2
11 Hits, Last modified:
ur_clock|military time]], e.g., 9:00 a.m. is the number ''0900'' and 6:00 p.m. is ''1800''. If the time ... 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 a... ite a function <code>saffir-simpson(wind-speed :: Number) -> String</code> that takes in the average recor
lab7
6 Hits, Last modified:
="hljs-comment">#|</span> CMPU<span class="hljs-number">-101</span> Fall <span class="hljs-number">2021</span> Lab <span class="hljs-number">7</span> Name: your <span class="hljs-built_in">name</span... cise.</p> <pre><code># Exercise <span class="hljs-number">1</span> <span class="hljs-function"><span clas
lab1
5 Hits, Last modified:
ed and -- fascinatingly -- the result is also the number 1! - Let's be slightly more interesting and try... ou a head start! The lines below that start with number signs (''#'') are not evaluated by the computer -... ferent types of data expressions # <YOUR NAME> # Numbers are a type of data. # - The following expression adds numbers. # - Add expressions that subtract, multiply, an
lab3
5 Hits, Last modified:
candy. Then, they compiled a data-set with <code>Number</code> attributes like the winning percentage, re... ssion in the definitions window that outputs this number in the interactions window. You can get the lengt... the chocolate attribute. This function returns a number which is the proportion of candies that have the attribute specified to the total number of chocolate candies.</p> <p>The function declara
asmt1
1 Hits, Last modified:
Make sure nothing else is output (no sub-images, numbers, strings, or otherwise). ===== Grading criteri
schedule
1 Hits, Last modified:
rresponds to a week of the semester, and the week numbers in the first column are clickable links that con
top
1 Hits, Last modified:
ions of the world. These observations -- of text, numbers, images, video, or anything else -- become the d
week5
1 Hits, Last modified:
. Expressions may involve: * values of type Number, String, Boolean (no Image values) * functi
week11
1 Hits, Last modified:
of a non-recursive function that takes a list of numbers, and uses an anonymous function and a built-in l