Hi,
I am a programming novice and I am attempting to do the
following:
in VB.NET 2008 I want to create a simple program for
school children to name world flags. It needs the child to type in their
name at the start and then they get to try to name 10 flag (based upon a
possible list of 30 and chosen randomly). They need to type in the name
of the country correctly next to each flag (so its a spelling test
too!) and at the end to be told the score (out of 10). The application
will need to save the score to the name.
An admin account needs
to be embedded into the application which can be accessed via a password
which will display all the names with scores.
I am thinking that
storing the questions and names in an array would be best? If anyone
could offer any advice (backed up with snippets or a basic framework) I
would be very grateful.
Loading
TGPPosted May 4, 2010, 6:11 PM
So you'll be looking at a Windows Forms application here. On startup you can have it run a random number generator ten times to get you your ten random questions. Then present the kid with a dialog asking for their name, (which it will save to a database or text file, I don't know how you want to do this.) At which point, it will begin by asking for the first country name, with an input box. They type in the name, hit enter, VB.Net will compare the answer, and save that particular score. Then it can multiply the final score by 10 to give them their percentage, which it can also save to whatever data storage method you want to use.
Hope that helps.