The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | Apr 2017 |
| Last Sign in: | 103 Weeks Ago, 3 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
[10 Pts] Create a JSP that will display a multiplication chart back to the user (i.e., similar to the Factorial JSPexample given in the class). You should provide the followings:
•A HTML page that asks the user to enter the number to multiply and up to what number in separatetext boxes/fields
• When the user clicks on the submit button, the request is sent to the Multiply.jsp to generate theresults.
• For example, if the user enters Number to Multiply = 12 and Up to Number = 10, then the responsepage should display the followings:Multiplication Table for 12:12 x 0 = 012 x 1 = 12. . . [the results for 12 x 2 to 12 x 9] . . .12 x 10 = 120
2.[20 Pts] Create a JSP called Register.jsp that will use a Java Bean called ComputeTuition to compute thetotal tuition fees, based on the courses that the student registers. You should provide the followings:
• A HTML page that asks the user to select the courses that he/she wishes to register in separate dropdownmenus (choice selection boxes). There should be 4 of these menu boxes, each one containsthese 5 selection choices: Chemistry, Physics, Algorithms, Java, and Capstone.
• After the user makes the selections and clicks on the submit button, the request is sent to theRegister.jsp to generate the results. This JSP uses the ComputeTuition bean (with a “session” scope)to compute the total tuition fees.
• If the student selects Chemistry or Physics, the tuition fees would be $900 per course.
• If the student selects Algorithms, Java, or Capstone, the tuition fees would be $1,000 per course.
• The student can choose 1, 2, 3, or 4 courses to register (no need to select all 4 choices every time).
• The response page should show the list of courses that the student selected and the total tuitionamount to be paid, as shown below:You selected: Physics + Algorithms + Java CoursesYour tuition fees would be $2,900. Thank you.
3. [20 Pts] Convert the FindGradeUsingPreparedStatement program into a JSP called FindGrade.
• Use the commands in the attached Registration_DB file to create and populate the student, course,and enrollment tables in a registration database.
• Create a form in HTML so that the user can enter the student’s ID and course ID through the Webbrowser
• There should be a Submit and a Reset buttons
• The Submit button would send a request to the server and invoke the FindGrade JSP
• The FindGrade JSP would return the student’s first name, last name, subject ID, course number, andcourse grade to the user
• When the user submits both the student’s ID and course ID, then there is just 1 result that matchesboth (i.e., 1 student, 1 course, and 1 grade)
• When the user submits just the student’s ID and left the course ID blank, then the result should listALL courses taken by that student and the grades he/she received
• When the user submits just the course ID and left the student’s ID blank, then the result should listALL the students who take the specified course and the grades they received
• Turn in screen captures of the inputs and outputs from your tests with your homework