ITEC 120
HW1: Wacky Story (25 pts)

Academic Integrity

Be reminded that this homework assignment must be your own work.

Objectives

After successfully completing this assignment you will be able to prompt users for input, manage many variables, and create methods with many parameters. You will also have a fun program to share with friends and family.

Assignment

Enter your Radford email address to learn which wacky story you will be using:

tell me my story title

 

Go to this website and click on the link for your story.

http://www.eduplace.com/tales/ 

The story link will take you to a page with prompts for several words with particular parts of speech. Fill in the words according to the instructions and click the button to see your wacky web tale.

Your assignment is to write a program for your story. Your driver will prompt the user for the inputs to your story. You will store each input word into a variable. When the user has entered all of the input for the story the driver will will fill the words into the story and print the story exactly as it appears on the website. Be sure to format the output nicely to the screen. The user's words will not be in bold.

Create a driver class named StoryDriver, with a main method. All your code will be in your main method.

A sample run of a program for the story "An Ode" could look like this: (user input in red).

An Ode

Please enter a word to fit each description.

city or town : Radford
famous person : Dr. Pittges
singular noun : computer
adjective : sticky
singular noun : bicycle
plural noun : shoes
verb ending with -ing : jumping
adjective : green
adjective : clammy
adjective : frozen
verb ending with -ing : frolicking
present tense verb : sit
verb ending with -ing : cooking

Read your tale.

An Ode

Radio Announcer: Thank you for tuning in today. We are here in Radford to celebrate 
National Poetry Month. In just a moment, the nation's poet laureate, Dr. Pittges, will read 
a poem about a(n) computer. And here is Dr. Pittges.

Dr. Pittges: Thank you, everyone. This is a very sticky poem I wrote about a(n) 
computer.

An Ode to a(n) computer

The computer is as big as a(n) bicycle.
It reminds me of small shoes jumping.
O, the computer. O, the computer!
What do green people think when they see you for the first time? 
Perhaps they know there are happy days ahead. 
O, the computer. O, the computer!
For some, you are clammy, but for others, you are frozen.
If we are frolicking, we pause when we think of you. 
May you always sit.
O, the computer. O, the computer!
The end.

Radio Announcer: On behalf of the poets, thank you for cooking.

Grade Your Assignment

Grade your own assignment! Fill out the grading worksheet (link below) and submit it with your assignment (or turn it in on paper, in person.) You will know exactly what points are awarded for. Feel free to fix your assignment so you can get 100%!

Submit Your Assignment

Submit StoryDriver.java and HW1gradingWorksheet.pdf to the HW1 Assignment dropbox on D2L.