考试代码:302 JavaScript 考试大纲
ITS认证考试考什么?考试内容?
ITS认证考试是分科目的,现在我们要看得就是Certiport给出的ITS考试代码:302 考试名称:JavaScript的大纲,如果你通过了这科考试之后,将会获得JavaScript的ITS证书
本ITS考试的考生将证明他们可以读懂,编写和调试JavaScript的代码。
JavaScript Operators, Methods, and Keywords
- Complete and debug code that uses assignment and arithmetic operators
- Assignment, increment, decrement, addition, subtraction, division, multiplication, modulus, compound assignment operators (+=, -=, *=, /=, %=)
- Apply JavaScript best practices
- Comments, indentation, naming conventions, noscript, constants, reserved keywords, debugger keyword, setting breakpoints, console.log
- Evaluate the use of internal and external scripts
- When to use, how to use, and what happens when scripts are used at multiple levels
- Implement exception handling
- try, catch, finally
- Complete and debug code that interacts with the Browser Object Model (BOM)
- Displaying dialogs, determining screen size
Variables, Data Types, and Functions
- Declare and use variables of primitive data types
- Number, Boolean, String, null, undefined, type of operator, type-checking functions, use strict, converting between data types (parseInt, parseFloat), formatting numbers, string operations, eval(), toFixed(), toLocaleString(), toPrecision(), single quote vs. double quote (nesting), initialization
- Declare and use arrays
- Single-dimensional arrays; multi-dimensional arrays; iteration; initialization; defining, sorting, and searching an array; push, pop, shift, and unshift methods; length property; accessing an array element
- Complete and debug code that uses objects
- Properties, methods, instantiation, Date object, retrieving date and time parts, localizing date format (MM/DD vs DD/MM), adding and subtracting dates
- Complete and debug code that uses built-in Math functions
- random, round, abs, floor, ceil, min, max, pow, sqrt
- Complete and debug functions that accept parameters and return values
- Reusable code, local vs. global scope, redefining variables, passing parameters, value vs. reference, return values
Decisions and Loops
- Evaluate expressions that use logical and comparison operators
- !=, <, >, <=, >=, !, ==, &&, ||
- Complete and debug decision statements
- Single alternative (if), dual alternative (if else), multiple alternative (switch), nested if
- Complete and debug loops
- for, for in, while, do while, break, continue
Document Object Model
- Identify and construct the Document Object Model (DOM) tree
- window, document, body, other HTML elements
- Identify and handle document, form, keyboard, and mouse events
- onload, onfocus, onblur, onchange, onkeydown, onkeyup, onkeypress, onclick, onmouseover, onmouseout
- Complete and debug code that outputs to an HTML document
- document.write, innerHTML, textContent
- Complete and debug code that locates, modifies, and adds HTML elements and attributes to documents
- getElementByld, getElementsByTagName, getElementsByClassName, setAttribute, createElement
- Create events using event handlers and listeners
- DOM events, HTML attribute event, addEventListener
HTML Forms
- Complete and debug code that retrieves form input and sets form field values
- Retrieving form values; identifying the DOM path; getting values from different types of elements; prepopulating, masking, and updating values
- Complete and debug code that performs input validation
- Case, string comparisons, Not-A-Number (NaN), not blank
- Describe the form submission process
- onsubmit, POST vs. GET, potential targets for submission
©重庆睿一网络科技有限公司