Search
You can find the results of your search below.
Fulltext results:
- asmt2
- s-keyword">add</span><span class="bash">-one(n :: Number) -> 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
- , ''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
- 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's <c
- lab2
- 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... Write a function ''saffir-simpson(wind-speed :: Number) -> String'', that takes in the average recorded
- lab7
- ="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
- 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.html
- 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
- Make sure nothing else is output (no sub-images, numbers, strings, or otherwise). ===== Grading criteri
- lab4
- ss="hljs-type">String</span>)</span></span> -> Number: doc: <span class="hljs-string">"returns the pe
- schedule
- rresponds to a week of the semester, and the week numbers in the first column are clickable links that con
- top
- ions of the world. These observations -- of text, numbers, images, video, or anything else -- become the d
- week3
- -- Thank you, Prof Gordon!! Note that the lecture number and date on the title page refer to Prof Gordon's
- week5
- . Expressions may involve: * values of type Number, String, Boolean (no Image values) * functi
- week11
- of a non-recursive function that takes a list of numbers, and uses an anonymous function and a built-in l