Microsoft Technology Associate
Exam 98-382: Introduction to Programming
using JavaScript
Candidates should be able to recognize and write syntactically correct JavaScript code, use data types
supported by JavaScript, and be able to recognize and write JavaScript code that will logically solve a given
problem.
Candidates are expected to have had, at minimum, instruction and/or hands-on experience of approximately
100 hours with the JavaScript programming language, be familiar with its features and capabilities, and
understand how to write, debug, and maintain well-formed, well documented JavaScript code.
Prerequisite Skills for this exam are:
Core Algebra (Algebra 1) (Typical US 9th/10th grade level) and Fundamental knowledge of HTML
Objective Domain
• Complete or debug code that uses assignment and
Program with arithmetic operators.
o Assignment; increment; decrement; addition;
JavaScript subtraction; division; multiplication; modulus;
compound assignment operators
Operators,
Methods, and • Apply JavaScript best practices.
Keywords o Comments; indentations; naming conventions;
noscript; constants; reserved keywords; debugger
keyword; setting breakpoints; console.log
• Evaluate the use of inline and external scripts.
o When to use, how to use, and what happens when
both are used
• Implement exception handling.
o try; catch; finally
• Complete and debug code that interacts with the Browser
Object Model (BOM)
o Manage state; display dialogs; determine screen size
Exam 98-382: Introduction to Programming using JavaScript
• Declare and use variables of primitive data types.
Program with
o Number; Boolean; String; Null; Undefined; typeof operator; type checking
Variables, functions; use strict; converting between data types; formatting numbers; string
operations; single quote vs double quote (nesting); initialization
Data Types,
• Declare and use arrays.
and Functions o Single-dimensional: iteration; initialization; array definition; sorting and
searching; push and pop; shift/unshift; length; accessing an element;
understanding multi-dimensional array
• Complete and debug code that uses objects.
o Properties; methods; instantiation; Date object: time; retrieving date parts;
localization (MM/DD vs DD/MM); adding and subtracting dates
• Complete and debug code that uses built-in Math functions.
o Random; round; abs; floor; ceiling; min/max; pow; sqrt
• Complete and debug a function that accepts parameters and returns a value.
o Reusable code; local vs global scope, redefining variables, passing parameters,
value vs. reference, return values
• Evaluate expressions that use logical and comparison operators.
Implement o ==; !=; <, >; <=; >=; !; &&; ||
and Analyze • Complete and debug decision statements.
Decisions o if; else if; switch; nested if
• Complete and debug loops.
and Loops
o for; while; do; break; continue
• Identify and construct the Document Object Model (DOM) tree.
Interact with
o window; document; body; other HTML elements
the Document • Identify and handle HTML events.
Object Model o onchange; onmouseover; onload; onclick; onmouseout; onkeydown
• Complete and debug code that outputs to an HTML document.
o innerHTML; document.write
• Complete and debug code that locates, modifies, and adds HTML elements and
attributes.
o getElementByld; getElementsByTagName; getElementsByClassName;
setAttribute; createElement
• Complete and debug code that retrieves input from forms and sets form field
Interact with values.
o Retrieving form values; the DOM path to form field and then to the value
HTML Forms property; getting values from different types of elements; prepopulating values;
masking values
• Complete and debug code to perform input validation.
o Case (upper and lower); string comparisons; validation; NaN
• Describe the form submission process.
o onsubmit; understand post vs get; understand potential targets for submission
© 2017 Certiport, A Business of NCS Pearson, Inc. Certiport and the Certiport logo are registered trademarks of Certiport, A Business of NCS Pearson, Inc. For more information go to www.certiport.com/MTA