reports the list {r, 5, b, i, 3, k, 2, 3, t, 6}.
Map Block (Teacher's Choice)
The
block takes two inputs: a function (with a blank input slot) and a list, and it reports a new list, in which each item is the result of running an item of the input list through the function. For example:



You write the function that describes the change, and map applies that function to each item in the input list and reports the list of values reported by the function.
The gray ring in
means that the input should be a function. The function can be numeric as in algebra, for example:
(as we'll explore later) or
(as shown above), but you can also use other operators like
: the map function above joins each word with the letter 's'. The blank input slot in the function is filled with each list item to make the new list. In algebraic functions, that's the variable, for instance: that's the x in the function f defined by f(x) =3x + 7.
map does in this script: 
transpose by block with several different shift numbers so that you can hear the impact of map.transpose by block to hear the impact of map on each of the two scales and the song. For example, try:
Now, you'll transpose songs, which have lists of lists of note pitches and beats.
map will be helpful here.
| C | D | E | F | G | A | B |
| 60 | 62 | 64 | 65 | 67 | 69 | 71 |
noun phrase block so that half of the time it uses a plural noun.You can use map to translate coordinates on a plane.
shape zoo block that uses your draw shape block together with map to draw the shape (given as an input list) at random places on the stage.shape zoo block so that it dilates (re-scales) each shape by a random factor (for example, from .5 to 3).shape zoo block so that it sometimes reflects (flips) the shape vertically and/or horizontally.draw 3D shape block that takes a list of points as input and does the following:
draw shape block
For Each Block.move that moves the letter A 37 units left and 23 units up.move more general, so that you can input how much you want to change each coordinate of the elements of A.Map for Algebraic Functionsmap to compute some function of every item of a list:plural with words. But let's try to put the function f in there. First I need to build f. Here you go:

join.
map that would report the list 3, 1, 8. map that would report the list 4, 0, 14. map that would report the list 4, 0, 49. {4,3,2,7}

3.png)




map is putting in the blank spaces here:
compose that takes two functions and a list as input and reports the the result of mapping the first function over the result of mapping the second function over the list:
. Here's how it starts:
nouns:

lookup items () from (), go to the file menu
and choose "Export blocks...". This opens a window with all the imported tools and all your custom blocks. Uncheck all the blocks except your new lookup block. Choose "ok."lookup block again later in Unit 3 Lab 4.
This question refers to these two lists:


Which of these statements are true?
Choose all that apply.
reports the list {r, 5, b, i, 3, k, 2, 3, t, 6}.
reports the list {rabbit}.
map puts a single item from words and numbers into that slot.
reports the list {Augusta, Boise, Columbia, Des Moines}.
reports the list {A, B, C, D}.
reports the list {Maine, Idaho, South Carolina, Iowa}.