1. What is Map ? Junior A. a routine that returns a boolean indicating whether its input meets some condition B. applying a routine to every element of a collection to produce a new collection of the same length C. collapsing a collection into a single accumulated value by repeatedly combining elements with an accumulator D. the general operation that walks a structure carrying an accumulator, of which left and right variants differ in association order Reveal the answer + AI explanation — free account
2. Which term means: "applying a routine to every element of a collection to produce a new collection of the same length"? Junior A. Reduce B. Filter C. Fold D. Map Reveal the answer + AI explanation — free account
3. Which statement is correct? Junior A. Map — a routine that returns a boolean indicating whether its input meets some condition B. Map — applying a routine to every element of a collection to produce a new collection of the same length C. Map — collapsing a collection into a single accumulated value by repeatedly combining elements with an accumulator D. Map — selecting the elements of a collection that satisfy a predicate to produce a shorter new collection Reveal the answer + AI explanation — free account
4. What is Filter ? Junior A. selecting the elements of a collection that satisfy a predicate to produce a shorter new collection B. collapsing a collection into a single accumulated value by repeatedly combining elements with an accumulator C. applying a routine to every element of a collection to produce a new collection of the same length D. the general operation that walks a structure carrying an accumulator, of which left and right variants differ in association order Reveal the answer + AI explanation — free account
5. Which term means: "selecting the elements of a collection that satisfy a predicate to produce a shorter new collection"? Junior A. Reduce B. Filter C. Map D. Fold Reveal the answer + AI explanation — free account
6. Which statement is correct? Junior A. Filter — collapsing a collection into a single accumulated value by repeatedly combining elements with an accumulator B. Filter — selecting the elements of a collection that satisfy a predicate to produce a shorter new collection C. Filter — applying a routine to every element of a collection to produce a new collection of the same length D. Filter — a routine that returns a boolean indicating whether its input meets some condition Reveal the answer + AI explanation — free account
7. What is Reduce ? Mid A. applying a routine to every element of a collection to produce a new collection of the same length B. selecting the elements of a collection that satisfy a predicate to produce a shorter new collection C. a routine that returns a boolean indicating whether its input meets some condition D. collapsing a collection into a single accumulated value by repeatedly combining elements with an accumulator Reveal the answer + AI explanation — free account
8. Which term means: "collapsing a collection into a single accumulated value by repeatedly combining elements with an accumulator"? Mid A. Reduce B. Filter C. Fold D. Map Reveal the answer + AI explanation — free account
9. Which statement is correct? Mid A. Reduce — applying a routine to every element of a collection to produce a new collection of the same length B. Reduce — the general operation that walks a structure carrying an accumulator, of which left and right variants differ in association order C. Reduce — selecting the elements of a collection that satisfy a predicate to produce a shorter new collection D. Reduce — collapsing a collection into a single accumulated value by repeatedly combining elements with an accumulator Reveal the answer + AI explanation — free account
10. What is Fold ? Mid A. collapsing a collection into a single accumulated value by repeatedly combining elements with an accumulator B. selecting the elements of a collection that satisfy a predicate to produce a shorter new collection C. the general operation that walks a structure carrying an accumulator, of which left and right variants differ in association order D. a routine that returns a boolean indicating whether its input meets some condition Reveal the answer + AI explanation — free account
11. Which term means: "the general operation that walks a structure carrying an accumulator, of which left and right variants differ in association order"? Mid A. Fold B. Filter C. Predicate D. Map Reveal the answer + AI explanation — free account
12. Which statement is correct? Mid A. Fold — selecting the elements of a collection that satisfy a predicate to produce a shorter new collection B. Fold — the general operation that walks a structure carrying an accumulator, of which left and right variants differ in association order C. Fold — a routine that returns a boolean indicating whether its input meets some condition D. Fold — collapsing a collection into a single accumulated value by repeatedly combining elements with an accumulator Reveal the answer + AI explanation — free account
13. What is Predicate ? Junior A. the general operation that walks a structure carrying an accumulator, of which left and right variants differ in association order B. a routine that returns a boolean indicating whether its input meets some condition C. selecting the elements of a collection that satisfy a predicate to produce a shorter new collection D. collapsing a collection into a single accumulated value by repeatedly combining elements with an accumulator Reveal the answer + AI explanation — free account
14. Which term means: "a routine that returns a boolean indicating whether its input meets some condition"? Junior A. Filter B. Predicate C. Reduce D. Fold Reveal the answer + AI explanation — free account
15. Which statement is correct? Junior A. Predicate — collapsing a collection into a single accumulated value by repeatedly combining elements with an accumulator B. Predicate — a routine that returns a boolean indicating whether its input meets some condition C. Predicate — applying a routine to every element of a collection to produce a new collection of the same length D. Predicate — the general operation that walks a structure carrying an accumulator, of which left and right variants differ in association order Reveal the answer + AI explanation — free account