COP 1830 Study Guide 3
Quiz 3 will consist of 40 Multiple Choice or True/False (Yes/No) questions covering Chapter 18 in the HTML textbook and virtual Chapters A-D in our Virtual JavaScript textbook. Students are advised to review these chapters. If you want an alternative reference, you can review some sample chapters online from a different textbook at
[http://www.javascriptconcepts.com/JavaScriptConcepts/chapters/index.html]
The statements below define the bare minimum that a student should know to be prepared for the quiz.
- Know what "dynamic XHTML" is and how it relates to XHTML, CSS, and JavaScript.
- Know basic rules of syntax for JavaScript, especially with respect to variable declaration, quoting text, commenting, and the use of line returns in JavaScript statements.
- Know the relationship between JavaScript and Java.
- Explain the use of the
var statement and how it relates to identifier scope (ie. "global" vs. "local" identifiers).
- Be familiar with the different JavaScript data types.
- Know where to position JavaScript code in web page source code and what effect that positioning has on execution of the script.
- Know how to write a single or multi-line comment in JavaScript.
- Explain what a JavaScript function is, how to define one, and how to call (execute) it.
- Know how to pass data into a JavaScript function and how to return data from one.
- Know the correct JavaScript statement to send output to web document.
- Know how to call a function that returns data.
- Explain how to define an "external" script and how to call it.
- Know what concatenation is and how it relates to strings.
- Know how to use JavaScript operators for arithmetic, comparison, logical and assignment operations.
- Know the difference between the use of parentheses ( ) and braces { }.
- Know the meaning of "special characters" such as "\n" in JavaScript strings.
- Know how to output a statement that contains quotes in a JavaScript strings.
- Be familiar with the JavaScript statements used to implement basic program flow control structures such as alternative (selection) structures and loops (repetition structures).
- Know how to produce dialog boxes for: alerting, confirming and prompting.
- Know what MIME extension is used to identify a JavaScript.