Ask your own question, for FREE!
Computer Science 7 Online
OpenStudy (cloudx):

Please save my life Make a block that finds the acronym of all words not in list: this block takes an input phrase and an input list and gives the acronym of all words in the phrase that do not appear in the list. Must use Higher order function blocks This is to be programmed on http://snap.berkeley.edu/snapsource/snap.html

OpenStudy (rsmith6559):

Okay, so you break the input phrase into individual words, check each word against the list, if the word isn't in the list add it to another list. After you've processed the words in the phrase, Take the first letters of the words in the new list and make a string out of them and you have an acronym. I don't know snap from a hole in the ground.

OpenStudy (cloudx):

do you know how i would be able to do this with higher order function blocks? such as map, keep, and combine blocks

OpenStudy (rsmith6559):

I've never seen keep and combine blocks, so I have no idea. Maps are usually associative arrays, instead of using an index number to access an element, you can use a key (a string) to access an element. I don't see any advantage to using a map in this.

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Latest Questions
Mari103: How to pop out like a Jacc In the box
7 hours ago 0 Replies 0 Medals
Breathless: Spooky witch but cute
14 hours ago 3 Replies 0 Medals
Arriyanalol: help
14 hours ago 10 Replies 2 Medals
Arriyanalol: @tinydinoUwU stop trying to find a argument u blad lil boy
1 day ago 5 Replies 4 Medals
Jaded012023: Please tell me what you all think of this song
17 hours ago 6 Replies 1 Medal
Arriyanalol: bro how
17 hours ago 2 Replies 3 Medals
Arriyanalol: cant wait for the new bluey movie in 2027
1 day ago 12 Replies 2 Medals
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!