Levels Tought:
Elementary,Middle School,High School,College,University,PHD
Teaching Since: | Apr 2017 |
Last Sign in: | 9 Weeks Ago, 5 Days Ago |
Questions Answered: | 4870 |
Tutorials Posted: | 4863 |
MBA IT, Mater in Science and Technology
Devry
Jul-1996 - Jul-2000
Professor
Devry University
Mar-2010 - Oct-2016
Write a JSP that prompts the user to enter a capital for a state, as shown in Figure a. Upon
receiving the user input, the program reports whether the answer is correct, as shown in Figure
b. You can click the Next button to display another question. You can use a two-dimensional
array to store the states and capitals. Create a list from the array and apply the shuffle method
to reorder the list so the questions will appear in random order.
Â
CS532 Homework - Simple QuizzesQuestionWrite a JSP that prompts the user to enter a capital for a state, as shown in Figure a. Uponreceiving the user input, the program reports whether the answer is correct, as shown in Figureb.You can click the Next button to display another question. You can use a two-dimensionalarray to store the states and capitals. Create a list from the array and apply the shuf±e methodto reorder the list so the questions will appear in random order.Page of11
-----------