
Try to reason through these problems without making the blocks in snap But if you'd like them, clicking on the images below will open a project containing these variables.
Use the list of squares:
Which of these expressions will report a list?
Choose all that apply.
combine with
will report a number.
join
(1,4) will report 14.
The expressions in this problem are the same as you saw in question 1.
Which of these statements are true?
Choose all that apply.
combine with
will report a number, whereas map
will report a list.
Use the list of words and numbers:
Which of these expressions produce the list with just the numbers: {5, 34, 2, 305, 61}?
Choose all that apply.
Is a number?
block is a predicate, so it returns a Boolean.
This question refers to these two lists:
Which of these statements are true?
Choose all that apply.
map
puts a single item from words and numbers
into that slot.
Which of the following expressions will report:
Choose all that apply.
join
are each filled with a list, not just a word.