Question: Perhaps the reason that so many movie titles start with the letter A is that their first word is A or An? Count how many

Perhaps the reason that so many movie titles start with the letter A is that their first word is “A” or “An”? Count how many movies in the data set of Worked Example 19.2 start with these words.

Data from worked example 19.2.

WORKED EXAMPLE 19.2 A Movie Database In this worked Example, we analyze

a large database of movies and use streams to obtain interesting statistics

from the data. To follow along, locate the companion code for Worked

Example 19.2. Problem Statement The file movies.txt in the book's companion code

has information about 23,000 movies, taken from the database of facts at

http://freebase.com. Each movie has a year, title, and lists of directors, producers,

and actors. What interesting facts can you find? CINEMAS Ivan Cholakov/iStockphoto.

WORKED EXAMPLE 19.2 A Movie Database In this worked Example, we analyze a large database of movies and use streams to obtain interesting statistics from the data. To follow along, locate the companion code for Worked Example 19.2. Problem Statement The file movies.txt in the book's companion code has information about 23,000 movies, taken from the database of facts at http://freebase.com. Each movie has a year, title, and lists of directors, producers, and actors. What interesting facts can you find? CINEMAS Ivan Cholakov/iStockphoto.

Step by Step Solution

3.36 Rating (152 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

To answer the question we will use the data and code examples provided in Worked Example 192 to coun... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Java Programming Questions!