This document might help you prepare for the final exam on December 15.
I have still not received working copies of Assignment 6 from everyone in the course, and I decided not to
assign a PHP project for Assignment 8. So the final exam will test your JavaScript skills and will include
only conceptual questions on PHP.
Disclaimer: the following is a list of topics you can expect to be tested on, but I cannot guarantee
that it is complete.
-
JavaScript data structures: objects and arrays.
-
JavaScript regular expressions: be able to write code that tests the value a user has typed into an
input element.
-
Types of event listeners: keyup, change, and submit in particular.
-
Using the Core.start() function to set up an init()
method. Remember: you are supposed to be able to reproduce the Core.start() function’s code, found on page 385 of the
text.
-
Setting up application-global variables and accessing them from within event listener functions (including
init(), which is an event listener for the
window.onload event).
-
Using JavaScript to change the value of an element’t text content.
-
Using the element.setAttribute() function and CSS to change the appearance of
XHTML elements.
-
Using Core.addClass() and Core.removeClass()
with appropriate CSS rules to change the appearance of elements.
-
How to use Core.preventDefault() and what it does. (Note:
it can be used in other event listeners besides submit listeners.)
-
Use of the console.log() function for debugging.
-
Explain how form data is transmitted to the server using the GET and POST methods.
-
Explain how the server passes HTTP requests to the PHP processor if approptiate.
-
Explain the role of the $_GET and $_POST arrays in PHP programs that receive form data, including the use of strings
as subscripts into PHP arrays.
-
Explain what PHP scripts do with the code between <?php and
?> tags, including the role of the echo statement.