Thanks for your suggestions, for entire day today I was scratching my mind in order to learn the methodologies involved, and was in trouble as I was seeing these lines for first time.Though I managed to make a simple looking prompt as you can see in above posts.
With the various suggestions from your side, I think I can try to learn it a more.
And also thanks to @NeoFax , for providing the meaning of the lines.