Exam 98-382: Introduction to Programming Using JavaScript/Program with Variables, Data Types, and Functions
This lesson covers primitive data types, arrays, objects, Math functions, and user-defined functions.[1]
Readings
editActivities
editDeclare and use variables of primitive data types
editNumber; Boolean; String; Null; Undefined; typeof operator; type checking functions; use strict; converting between data types; formatting numbers; string operations; single quote vs double quote (nesting); initialization
Declare and use arrays
editSingle-dimensional arrays; multi-dimensional arrays; iteration; initialization; define an array; sort and search an array; use push, pop, shift, and unshift methods; use the length property; access an array element;
Complete and debug code that uses objects
editProperties; methods; instantiation; Date object; retrieve date and time parts; localize date format (MM/DD vs DD/MM); add and subtract dates
Complete and debug code that uses built-in Math functions
editRandom; round; abs; floor; ceiling; min; max; pow; sqrt
Complete and debug a function that accepts parameters and returns a value
editReusable code; local versus global scope, redefine variables, pass parameters, value versus reference, return values