16-20
16. Which python function in the json package allows you to save a JSON object to a file? A. dumps B. dumpfo C. dumpfileO D. dumpO E. None of the above 17. Which of the following statements regarding Twitter Streaming API is INCORRECT? A. We use the Twitter Streaming API to get real-time tweets. B. If you want to find tweets by one or more Twitter users, you should use the follow parameter with the statuses/filter API endpoint. C. If you want to find tweets originating from a certain geographical location, you should use the locations' parameter with the statuses/filter API endpoint. D. If you want to find tweets based on a set of terms/keywords, usually referred to as a query, you should use the 'track' parameter with the statuses/filter API endpoint. E. The syntax you use to specify the query is the same as the syntax you use for the Search API 18. Which of the following statements regarding the Small World Phenomenon is INCORRECT? A. The Small World Phenomenon is commonly known as six degrees of separation, B. The first experimental study on this phenomenon was performed by Stanley Milgram C. Stanley Milgram a collection of 296 randomly chosen starters in Wichita, KS & D. Both the Erdos numbers and the Bacon numbers were used to demonstrate the Small E. Recent research into online social media sites, such as Facebook and Twitter, shows which means, on average, each person on this planet is connected with any other person by 6 intermediaries. and his colleagues in the 1960s. Omaha, NE to try forwarding a letter to a target person, a stockbroker who lived in a suburb of Boston. World Phenomenon. that the online social media world is 'smaller' than the real world. 19. What gets printed? sorted(a, reverse-True) print bl:-3 C. [3, 3, 6 D. [6, 3, 3) 20. Python 2.7 has a module, called which provides a class that makes frequency analysis rather trivial