Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

JAVA PROGRAMMING LANGUAGE!!!!!! Before coding you have to create a design document. Here is a short excerpt from your book regarding design documentation: Example 1:

JAVA PROGRAMMING LANGUAGE!!!!!!

Before coding you have to create a design document. Here is a short excerpt from your book regarding design documentation:

Example 1: : image text in transcribed

you need to create a diagram like this for this coding.

The attached WorldSeriesWinners.txt file contains the name of the winner of the World Series (duh) and the year in which they won.1904 and 1994 did not have World Series played, so "No Winner" is displayed for those years. Your job is to write a python program that lets the user enter the name of a team (or "No Winner") and then display the number of times the team won and a list of the years in which they won

Write a program that lets the user enter the name of a team, and then displays the number of times that the team has won the world series in the time period from 1903 through 2009.

TIP: Read the contents of the worldserieswinner.txt file into an array, or an Arraylist. When the users enters the name of a team, the program should step through the array or

ArrayList, counting the numbers of times the selected team appears.

DO NOT FORGET THE DIAGRAM! I REPEAT DO NOT FORGET THE DIAGRAM!

The coding itself is less important I would rather you be more focused on the diagram then the coding. Thank you.

Boston Americans 1903 No Winner 1904 tipNew York Giants 1905 Chicago White Sox 1906 Chicago Cubs 1907 Chicago Cubs 1908 Pittsburgh Pirates 1909 Philadelphia Athletics 1910 Philadelphia Athletics 1911 Boston Red Sox 1912 Philadelphia Athletics 1913 Boston Braves 1914 Boston Red Sox 1915 Boston Red Sox 1916 Chicago White Sox 1917 Boston Red Sox 1918 Cincinnati Reds 1919 Cleveland Indians 1920 New York Giants 1921 New York Giants 1922 New York Yankees 1923 Washington Senators 1924 Pittsburgh Pirates 1925 St. Louis Cardinals 1926 New York Yankees 1927 New York Yankees 1928 Philadelphia Athletics 1929 Philadelphia Athletics 1930 St. Louis Cardinals 1931 New York Yankees 1932 New York Giants 1933 St. Louis Cardinals 1934 Detroit Tigers 1935 New York Yankees 1936 New York Yankees 1937 New York Yankees 1938 New York Yankees 1939 Cincinnati Reds 1940 New York Yankees 1941 St. Louis Cardinals 1942 New York Yankees 1943 St. Louis Cardinals 1944 Detroit Tigers 1945 St. Louis Cardinals 1946 New York Yankees 1947 Cleveland Indians 1948 New York Yankees 1949 New York Yankees 1950 New York Yankees 1951 New York Yankees 1952 New York Yankees 1953 New York Giants 1954 Brooklyn Dodgers 1955 New York Yankees 1956 Milwaukee Braves 1957 New York Yankees 1958 Los Angeles Dodgers 1959 Pittsburgh Pirates 1960 New York Yankees 1961 New York Yankees 1962 Los Angeles Dodgers 1963 St. Louis Cardinals 1964 Los Angeles Dodgers 1965 Baltimore Orioles 1966 St. Louis Cardinals 1967 Detroit Tigers 1968 New York Mets 1969 Baltimore Orioles 1970 Pittsburgh Pirates 1971 Oakland Athletics 1972 Oakland Athletics 1973 Oakland Athletics 1974 Cincinnati Reds 1975 Cincinnati Reds 1976 New York Yankees 1977 New York Yankees 1978 Pittsburgh Pirates 1979 Philadelphia Phillies 1980 Los Angeles Dodgers 1981 St. Louis Cardinals 1982 Baltimore Orioles 1983 Detroit Tigers 1984 Kansas City Royals 1985 New York Mets 1986 Minnesota Twins 1987 Los Angeles Dodgers 1988 Oakland Athletics 1989 Cincinnati Reds 1990 Minnesota Twins 1991 Toronto Blue Jays 1992 Toronto Blue Jays 1993 No Winner 1994 Atlanta Braves 1995 New York Yankees 1996 Florida Marlins 1997 New York Yankees 1998 New York Yankees 1999 New York Yankees 2000 Arizona Diamondbacks 2001 Anaheim Angels 2002 Florida Marlins 2003 Boston Red Sox 2004 Chicago White Sox 2005 St. Louis Cardinals 2006 Boston Red Sox 2007 Philadelphia Phillies 2008 New York Yankees 2009 San Francisco Giants 2010 St. Louis Cardinals 2011 San Francisco Giants 2012 Boston Red Sox 2013 San Francisco Giants 2014 Kansas City Royals 2015 Chicago Cubs 2016
While planning a program, the programmer uses one or more design tools to create a model of the program. Three common design tools are hierarchy charts, flowcharts, and pseudocode. A hierarchy chart is a diagram that graphically depicts the structure of a pro- gram. It has boxes that represent each step in the program. The boxes are connected in a way that illustrates their relationship to one another. Figure 1-10 shows a hierarchy chart| for the pay-calculating program. Calculate Gross Pay Get Payroll Data from User Multiply Hours Worked by Pay Rate Display Gross Pay Read Number of Hours Worked Read Hourly Pay Rate A hierarchy chart begins with the overall task, and then refines it into smaller subtasks. Each of the subtasks is then refined into even smaller sets of subtasks, until each is small

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Big Data With Hadoop MapReduce A Classroom Approach

Authors: Rathinaraja Jeyaraj ,Ganeshkumar Pugalendhi ,Anand Paul

1st Edition

1774634848, 978-1774634844

More Books

Students also viewed these Databases questions

Question

Prepare a short profile of Henry words worth Longfellow?

Answered: 1 week ago

Question

What is RAM as far as telecommunication is concerned?

Answered: 1 week ago

Question

Question 1: What is reproductive system? Question 2: What is Semen?

Answered: 1 week ago

Question

Describe the sources of long term financing.

Answered: 1 week ago