1. How is a password input element different from a text input element? 2. How is a radio button different from a submit button? 3. How is a checkbox button different from a submit button? 4. What is the name of the attribute in a radio group and checkbox group that indicates if the button should be in the checked state when displayed in the browser? 5. How is a reset button different from a submit button? 6. How can two radio buttons be placed in the same radio group? 7. How many buttons can be in the checked state in a radio group? 8. How can two checkbox buttons be placed in the same checkbox group? 9. How many buttons can be in the checked state in a checkbox group? 10. Do the values in a radio group have to be numeric? 11. Do the values in a checkbox group have to be strings? 12. How is a textarea tag different from all the input tags? 13. Where is the initial value placed for a textarea tag? 14. What is the name of the tag that is used to list a choice for a selection list? 15. What is the name of the attribute in a select list that indicates if the button should be in the selected state when displayed in the browser? 16. How many options can be in the selected state in a drop down list? 17. What is the name of the attribute in a select list that indicates that more than one option can be selected? 18. What is the name of the attribute in a select list that indicates how many options to display in the scroll box for a multiple-selection list? 19. How are the single-select list, radio group, password and textarea properties implemented in a bean? 20. How are the checkbox group and multiple-selection list properties implemented in a bean? 21. How is the fillBeanFromRequest method modified so that it can handle multiple-valued properties? 22. Why was the resetNullable method added to the controller helper? 23. What problem can occur if the resetNullable method is not implemented when using a checkbox group? 24. When should resetNullable be called? 25. Why isn't a resetNullable method needed when a page only uses text input elements? 26. How are multiple-valued properties displayed in a JSP? 27. Write the HTML, using JSTL, that will display all the values from a checkbox group named colors. 28. Write the HTML and EL that will initialize a password element with the corresponding value from the bean. 29. Write the HTML and EL that will initialize a textarea element with the corresponding value from the bean. 30. Do you like the idea of embedding if statements in HTML pages in order to initialize radio, checkbox and select groups? 31. What is the syntax for declaring a map of strings, indexed by stings? 32. What is the syntax for declaring a map of maps, indexed by stings? The inner map is a map of strings, indexed by strings. 33. Write the Java code that will instantiate the checked map. 34. How is a new map added to the checked map for a group named 'colors'? 35. How is a new value of checked, with a key of 2, added to the map created in the previous question? 36. How is a previous value, with a key of 2, retrieved from the map created in the previous question? 37. Explain how the addChecked method adds a value to the checked map. 38. What does the setByAttribute annotation indicate? 39. Where is the setByAttribute annotation placed? 40. What does the AttributeType enumeration indicate? 41. Write the Java code that will annotate the getter for a radio group property, so it can be initialized using the checked map. 42. What technique does setByAttribute use in order to initialize the checked and selected maps? 43. When should the setCheckedAndSelected method be called? 44. Write the EL that will access the checked map for a radio group named colors and a value of red. 45. Where are the checked and selected maps placed? Where are the methods that access them placed? 46. Explain how the EL statement ${helper.checked.extra.sprinkles} accesses the maps. 47. What is the name of the method that should be called before fillBeanFromRequest, when using radio, checkbox and multiple-selection lists. 48. What is the name of the method that should be called after fillBeanFromRequest, when initializing radio, checkbox and select lists. 49. Write the HTML and EL that will initialize a checkbox group named color, so that it is sticky. The values in the group are red, green, blue. 50. Write the HTML and EL that will initialize a select list named color, so that it is sticky. The values in the group are red, green, blue. 51. Which annotation is used to test if a multiple-valued property did not have any items selected? 52. Which annotation is used to test the number of items that were selected in a multiple-valued property? 53. Which annotations are used to save multiple-valued properties to a separate, related table? 54. What is the purpose of the IndexColumn attribute when saving a multiple-valued property? 55. The initHibernate method from the complex persistent is much shorter than initHibernate of previous examples. Why? 56. How is a bean saved to a database, when the bean has multiple-valued properties? 57. How is a list of beans retrieved from the database, when the bean has a multiple-valued property? 58. Write the accessor for a multiple-valued property. Annotate it so that it can be initialized as checked and is saved to a database in a related table. 59. Write the HTML that will display all the records from a database. At least one of the elements in the bean should be multiple-valued. Display the multiple-valued in an ordered list inside its table cell.