Assignment#9 Solution

$30.00

Description

  1. Implement the attached UML diagram. DO NOT change the method names and parameters.
  2. Run the attached driver with the attached data file. Do not modify the driver. Your program should work with other data files.
  3. Do not submit the driver.
  4. Run your program with the attached data9.txt file and compare your output to the sample output.
  5. One submission per team and one report per team member.
  6. Zip all files of the project and attach via BlazeView. Individual report can be attached individually.

 

 

Sample Input:

CS 1301

10/20/2015

Fares

Java Software Solutions teaches a foundation of programming techniques to foster

well-designed object-oriented software. Heralded for its integration of small

and large realistic examples, this worldwide best-selling text emphasizes

building solid problem-solving and design skills to write high-quality programs.

CS1301AB Fall-2015

Test3 is scheduled for Thursday, 11/12/2015

Have a good day.

10 20 2015

Sample output:

allLines:

1 CS 1301

2 10/20/2015

3 Fares

4

5 Java Software Solutions teaches a foundation of programming techniques to foster

6 well-designed object-oriented software. Heralded for its integration of small

7 and large realistic examples, this worldwide best-selling text emphasizes

8 building solid problem-solving and design skills to write high-quality programs.

9

10 CS1301AB Fall-2015

11 Test3 is scheduled for Thursday, 11/12/2015

12 Have a good day.

13

14 10 20 2015

alpha:

1 CS

2 Fares

3 Java

4 Software

5 Solutions

6 teaches

7 a

8 foundation

9 of

10 programming

11 techniques

12 to

13 foster

14 software

15 Heralded

16 for

17 its

18 integration

19 of

20 small

21 and

22 large

23 realistic

24 examples

25 this

26 worldwide

27 text

28 emphasizes

29 building

30 solid

31 and

32 design

33 skills

34 to

35 write

36 programs

37 is

38 scheduled

39 for

40 Thursday

41 Have

42 a

43 good

44 day

others:

1 10/20/2015

2 well-designed

3 object-oriented

4 best-selling

5 problem-solving

6 high-quality

7 CS1301AB

8 Fall-2015

9 Test3

10 11/12/2015

numeric:

1 1301

2 10

3 20

4 2015

Longest token: object-oriented

Number of Lines: 14

Number of Tokens: 58

Number of Characters: 425

Number of Letters: 320

Number of Digits: 37

Number of Alpha Tokens: 44

Number of Numeric Values: 4

Number of Other Tokens: 10

Average of Numeric Values: 836.5