Exam 1 will take place on Thursday, 23 October 2005, from 6:00-8:00PM in a
room TBA. The exam is
open book. You may bring any of the required course textbooks and you may
bring one page of notes, front side only, 8.5 X 11 inch paper. The weight of the exam will be
on JavaScript programming. All questions will involve writing code, either
html, CSS, or javascript code.
XHTML This topic will not be on the exam.
SSI This topic will not be on the exam.
CSS
Know how to create internal, external, and local style sheets.
Know how and when to use div and span styles.
Be able to apply text formatting using styles.
Be able to apply page layout styles (boxes, positioning elements, wrapping text around
images etc.)
Design
Know how to create goals and a planning chart.
Know how to create specifications from a planning chart.
Be able to create various levels of flowcharts from specifications.
JavaScript. This exam covers the material in Tutorials 1-6 of
the Gosselin book.
How to hide javaScript programs from incompatable browsers.
Use of the pre tags.
Javascript comments and html comments.
Clients and servers. What they are, how they interact.
Writing to a browser using document.writeln().
Creating a web page using document.writeln().
Changing the status line.
Alert boxes, prompt boxes, confirm boxes. Be able to use.
Stop links using confirm boxes.
variables. How to construct variables, variable scope in JavaScript
programs.
arithmetic.
boolean operators (&& and ||).
boolean statements.
strings and string operators.
converting strings to numbers using the Number() and
parseInt() and parseFloat() built-in functions.
increment and decrement operators.
comparision operators and logical operators.
user-defined functions with and without return values.
how to use built-in javaScript functions like parseInt and parseFloat.
Arrays, creating and using.
operator precedence.
events and event handlers. Know what events to use when and how
to add event handlers to tags.
know how to stop default link behavior using events.
know how to create image maps using javaScript.
understand and be able to use control structures like if-then-else,
switch, while, do...while, and for statements.
Windows and Frames (chapter 4)
Know the JavaScript Object Model and how to access
objects in the model using dot syntax. For example, you can access the value
of a form named myForm through document.myForm.myTextBox.value
Be able to open and close windows with JavaScript.
Know the arguments for the open command and the affect of leaving them out.
Know how to use timeouts and intervals to run JavaScript code automatically.
Be able to create random numbers using javascript.
Be able to use the Location object to change URLs in a browser.
Know how to use the history object to go through the history list.
Know how to use the navigator object to determine which browser the user is using.
Be able to use the parent property of the Window object to change frames in a browser
window.
Forms (chapter 5)
Know how to use hidden fields to store data.
Be able to reference form elements by using both the elements[] array and by
naming the form elements.
Know how to use the form events onSubmit and onReset. Be able
to stop a submission or reset.
Be able to validate forms using javascript.
Know how to use the ACTION attribute to either email form data or to send the
data to the server using POST or GET.