Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1.b) Create a Java application Lab3Part1b . Make sure you create a NEW project with the specific name just given. You need to make sure

1.b) Create a Java application Lab3Part1b. Make sure you create a NEW project with the specific name just given. You need to make sure the projects you create and submit have the correct names and the name of the file and name of the class are the same. The names are case sensitive. In this new project, set up your program to read in the data from the file SciFiDataBMTClean.txt using a Scanner. {file/Scanner setup 2 points} Declare the variables with the names you used in your pseudocode. {2 pts} Then implement the pseudocode you wrote in 1.a) to read in a line of the file. {4 pts} After you have read in the line of the file, print out all the data that was read in for that line. {2 pts} Put the reading and printing pseudocode in a while loop that runs until there is no more data to read from the file. {2 pts} Submit Lab3Part1b.java for this question.

*the file SciFiDataBMTClean.txt includes:

S Back To The Future 1 Back To The Future : Book 1985 P 63.9 Movie 1985 F Soul Music 2 Discworld (Death series) : Book 1994 P 11.8 TV 1997 F Hogfather 2 Discworld (Death series) : Book 1996 H 11.71 F Mort 2 Discworld (Death series) : Book 1287 H 42.28 F Reaper Man 2 Discworld (Death series) : Book 1991 H 81.37 F Guards, Guards 3 Discworld (Watchmen series) : Book 1989 P 4.01 F Men At Arms 3 Discworld (Watchmen series) : Book 1993 P 4.99 F Jingo 3 Discworld (Watchmen series) : Book 1997 H 5.92 F Snuff 3 Discworld (Watchmen series) : Book 2011 H 8.18 F Night Watch 3 Discworld (Watchmen series) : Book 2002 S 12 F Thud! 3 Discworld (Watchmen series) : Book 2005 H 16.19 F Feet of Clay 3 Discworld (Watchmen series) : Book 1996 H 40.6 F The Fifth Elephant 3 Discworld (Watchmen series) : Book 1999 H 54.14 E Dr. Who 4 Dr. Who : Book 1964 P 9.99 Movie 1966 TV 1963 S Firefly 5 Firefly : Movie 2005 TV 2002 F The Sorcerer's Stone 6 Harry Potter : Book 1997 H 1.99 Movie 2001 F The Chamber of Secrets 6 Harry Potter : Book 1998 H 27.99 Movie 2002 F The Prisoner of Azkaban 6 Harry Potter : Book 1999 S 8.65 Movie 2004 F The Goblet of Fire 6 Harry Potter : Book 2000 P 7.6 Movie 2005 F The Order of the Phoenix 6 Harry Potter : Book 2003 H 20.99 Movie 2007 F The Half-Blood Prince 6 Harry Potter : Book 2005 H 20.99 Movie 2009 F The Deathly Hallows 6 Harry Potter : Book 2007 H 29.77 Movie 2010 S Blue Mars 7 Mars Trilogy : Book 1996 H 11.87 S Green Mars 7 Mars Trilogy : Book 1993 E 19.99 S Red Mars 7 Mars Trilogy : Book 1992 H 10.37 S The Original Series 8 Star Trek : Book 1967 P 7.88 Movie 1979 TV 1966 S The Animated Series 8 Star Trek : TV 1973 S Star Trek 8 Star Trek : Book 1967 P 3.99 S Spock Must Die 8 Star Trek : Book 1970 P 3.49 S Mudd's Angels 8 Star Trek : Book 1978 H 42.04 S Deep Space Nine 9 Star Trek Deep Space Nine : TV 1993 S Warchild 9 Star Trek Deep Space Nine : Book 1994 H 27.03 S Discovery 10 Star Trek Discovery : TV 2017 S Desperate Hours 10 Star Trek Discovery : Book 2017 P 14.95 S Enterprise 11 Star Trek Enterprise : TV 2001 S Kobayashi Maru 11 Star Trek Enterprise : Book 2008 S 36.5 S The Next Generation 12 Star Trek The Next Generation : TV 1987 S The Genesis Wave 12 Star Trek The Next Generation : Book 2000 P 4.19 S The Peacekeepers 12 Star Trek The Next Generation : Book 1998 P 7.9 S I, Q 12 Star Trek The Next Generation : Book 1999 P 8.99 S Voyager 13 Star Trek Voyager : TV 1995 S Captain Proton: Defender of the Earth 13 Star Trek Voyager : Book 1999 S 10.66 S Architects of Infinity 13 Star Trek Voyager : Book 2018 P 14.95 S Mosaic 13 Star Trek Voyager : Book 1996 P 8.99 S Star Wars 14 Star Wars : Book 1976 H 14.4 S Episode I The Phantom Menace 15 Star Wars Episode I The Phantom Menace : Book 1999 P 0 Movie 1999 S Episode II Attack of the Clones 16 Star Wars Episode II Attack of the Clones : Movie 2002 S The Clone Wars 17 Star Wars Episode II Attack of the Clones : Book 2008 H 5.35 S Episode III Revenge of the Sith 18 Star Wars Episode III Revenge of the Sith : Movie 2005 S Labyrinth of Evil 19 Star Wars Episode III Revenge of the Sith : Book 2005 P 3.79 S Episode V Empire Strikes Back 20 Star Wars Episode V Empire Strikes Back : Movie 1980 S Episode IV A New Hope 21 Star Wars Episode VI Return of the Jedi : Book 1976 P 4.19 Movie 1977 S Episode VI Return of the Jedi 21 Star Wars Episode VI Return of the Jedi : Movie 1983 S Han Solo at Stars' End 21 Star Wars Episode VI Return of the Jedi : Book 1979 S 8.98 S Escape from Jabba's Palace 21 Star Wars Episode VI Return of the Jedi : Book 1988 P 3.73 S Episode VII The Force Awakens 22 Star Wars Episode VII The Force Awakens : Movie 2015 S Episode VIII The Last Jedi 23 Star Wars Episode VIII The Last Jedi : Movie 2017 S Rogue One 24 Star Wars Rogue One : Movie 2016 F The Hobbit 25 The Lord Of The Rings : Book 1937 H 13.95 Movie 1977 F The Fellowship of the Ring 25 The Lord Of The Rings : Book 1955 H 12.79 Movie 2001 TV 2021 F The Two Towers 25 The Lord Of The Rings : Book 1955 H 19.27 Movie 2002 F The Return of the King 25 The Lord Of The Rings : Book 1955 H 11.86 Movie 2003 F The Phantom Tollbooth 26 The Phantom Tollbooth : Book 1961 S 7.99 Movie 2019 F The Princess Bride 27 The Princess Bride : Book 1973 S 18.64 Movie 1987 F Magic Bites 28 Kate Daniels : Book 2007 P 7.08 F The Neverending Story 29 The Neverending Story : Book 1987 H 20.98 Movie 1986 F Magic Strikes 28 Kate Daniels : Book 2009 P 7.86 F Magic Triumphs 28 Kate Daniels : Book 2018 E 13 F Magic Binds 28 Kate Daniels : Book 2016 H 7

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

Students also viewed these Databases questions

Question

What does Processing of an OLAP Cube accomplish?

Answered: 1 week ago