Funny sentence program:
Make a program that uses
Create a mix and match sentence that is spoken out loud.
- Drop down lists
- Text fields
Use the ATT
Voice program to create your spoke text.
the display properties to 800x600 dimensions. Display
the program Full Screen. Offer a way to have the user exit. Use an Exit
button. Publish your program as a standalone Windows Projector (EXE)
Form a sentence with a selection of the following:
possessive pronouns) noun verb
Allow the user to select the words for the sentence. Each choice will
have a default of "Please Select". After the sentence is selected a
user will press a "speak" button to have the sentence read aloud. If
the person did not make a selection, produce an error statement telling
the user to please select a word from each menu choice.
the person presses the speak button, set a text field to show the
current sentence that will be played.
"reset" button will be used to have the program reset. Clear the text
field, and reset the drop down lists to be "Please Select". If you can,
also stop the current sentence from being spoken (if it is already
To make the program user friendly, do not label to the drop down lists
by their grammatical names. I only list it for your reference. Just
leave it unlabled.
The following videos will help with the program:
- Shows how to use fields and drop down lists.
Game - Shows how to use sounds.
Screen - Shows how to do a full screen program.
- Stop all the sounds playing, you might have to use a flag to stop the
sentence from going to the next word.
- When one sound is finished, play the next sound. Play all the sounds
in order to complete the sentence.
pronouns (take the place of possessive nouns)
Use all three.
Pick 3 nouns
Pick 3 verbs
of connecting word that connects nouns with objects: Pick 3. Examples are: to,
over, from, by, on. There are other grammatic ones too.
Articles: the Indefinite
(an),some, my, your. Use three, but use a following noun that will
sound grammatically correct for a (or an), depending which one you use.
Pick 3 nouns (different nouns than
the previous noun drop down list).
the cow went to the farm
drove on some road
flew by the house
You are welcome to use more than 3 choices for each listing, if you so