List all students id first and last name got less than 50 on their third

List all students id first and last name got less

This preview shows page 3 - 5 out of 8 pages.

List all students (id, first and last name) got less than 50% on their third attempt. Delete all attempts for a particular student (given a student id). Change the score for a quiz attempt (given a student id). Create a php script called manage.php (and other appropriately named pages if necessary) to implemented access to the supervisor page and its queries. So we can test that server-side validation works correctly, we need to disable client- side HTML5 and JavaScript data checking. 1. Place the novalidate=”novalidate” attribute into your forms. 2. You will need to temporarily disable any validate function(s) within your JavaScript. Hint: You can do this by making any call to the validate functions conditional. Put them in an if statement that evaluates a global Boolean variable you create and initialize. e.g. ... if (!debug) {validate()}; ... Set the flag variable debug to true or false depending on what mode you want to run the code in (or have a check box on the page to set the variable ).
Image of page 3
COS10011/60004 Creating Web Applications Assignment Part 3 – S1 2018 Page 4 of 8 B: Enhancements You should complete the Specified Requirements before you attempt this part. See the marking Guide below. Marks will be allocated to enhancements of your choice that go beyond the specified requirements. In this assignment we will consider PHP and MySQL enhancements. You are encouraged to be creative in thinking up possible enhancements. Examples of PHP / MySQL enhancements you might make that will contribute a higher mark include: Store quiz questions in a database table and have the HTML dynamically created by PHP. Use this table to also store correct answers so responses can be marked without hard-coding. Normalise the structure of the data tables by, for example, creating separate student and attempt tables. Creating a primary-foreign key link between these tables. Create a table that stores unique user-ids and passwords for quiz supervisors. Access to the supervisor web page should only be granted if a correct user name and password are entered. Provide more secure access to the supervisor page. Have access to the website disabled for user a period of time on, say, three or more invalid login attempts. Create a log out page with a link from the manage web page. Ensure the supervisor’s webpage cannot be entered directly using a URL after logging out. Provide the quiz supervisor with the ability to select the field on which to sort the order in which the quiz attempt records are displayed. One or more enhancements of your own devising. If you plan such enhancements it would be worthwhile checking with your tutor first to ensure they are appropriate and non-trivial. You must have a PHP Enhancements page that lists the enhancements you have implemented. For each extension briefly explain: how it goes beyond the specified requirements of the assignment what does a programmer have to do to implement the feature. Any enhancements that are not listed on the PHP enhancements page will not be assessed.
Image of page 4
Image of page 5

You've reached the end of your free preview.

Want to read all 8 pages?

  • Three '19
  • Web server

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture