-
Design algorithms to solve problems
Assessment Strategies
Design document
Working program
Criteria
Trace and explain what a given algorithm does
Create design documentation for a given problem statement
Diagram logical flow
Document expected input data
Document expected output data
Document sequential processing steps
Validate the algorithm produces the expected result
-
Plan and execute the testing of a program
Assessment Strategies
Written document
Criteria
Identify test scenarios to verify all pathways through the code
Document test input values for pass and fail scenarios
Document expected output values
Execute program with test data for pass and fail scenarios
Analyze test results
Add line and block comments to a program following industry standards
-
Debug and correct errors
Assessment Strategies
Working program
Criteria
Identify problem-solving strategies
Debug a program using a browser developer console
Locate an error using developer console
Identify the cause of logic, syntax, and runtime errors
Run a program in strict mode
Write messages to the debugging console
Examine console output for errors
Trace logic, syntax, or runtime program errors to its source
Resolve logic, syntax, or runtime program errors
Display the value of a program variable on each line of code
Find and implement proper solutions from external sources
-
Explain algorithms and decision-making processes
Assessment Strategies
Code reviews
Peer coding project
Self-reflection
Criteria
Describe code using correct programming vocabulary
Explain programming logic in plain (non-tech) language
Explain design and programming decisions
Discuss problem-solving techniques
-
Conform to industry standards and best practices
Assessment Strategies
Coded program
Criteria
Implement JavaScript syntax correctly
Write code that conforms to specified standards
Write a program following the basic principles of programming, i.e., DRY principles
Write modular and reusable code
Write meaningful code comments using appropriate language and tone
Perform regular backups of course materials and code
Use file and directory naming that meets specified standards
-
Write Functions
Assessment Strategies
Coded program
Criteria
Define function in terms of programming paradigms
Explain how to use a function in a procedural program
Examine the differences between functions and methods
Use functions built into JavaScript
Use appropriate scope of functions in a program
Trace a function to deduce the function’s purpose
Develop reusable functions for a maintainable program
Write functions with and without parameters
Write functions with and without return values
Write single-purpose functions
Call functions that receive data
Call functions that return data
-
Manage variables within a program
Assessment Strategies
Coded program
Criteria
Use appropriate scope of variables in a program
Use constants within a program to store fixed data
Identify variable data types
Describe the concept of variables in a programming language
Declare a variable using the let, and const keyword
Modify a variable's value within a JavaScript expression
Calculate values with an arithmetic operator
Conduct String manipulation (concatenation, length, convert to Number)
Create an array containing data values
Iterate over an array
Add values to an array
Search for a value in an array
Display values in an array
Determine the size of an array using the length property
Reference an element within an array by its index
-
Conditional logic and iteration
Assessment Strategies
Coded program
Criteria
Describe and identify the role of an operator in an expression
Create a Boolean value for logical conditions
Write a binary operator
Write a unary operator
Evaluate a logical expression with a comparison operator
Determine the precedence of operators with an expression
Write code to break out of a loop using the break statement
Write code to break out of loop using the continue statement
Trace and explain code that performs iteration over a collection of items
Trace and explain code that evaluates multiple conditions
Trace and explain code that performs sequential logic
Write code that solves a problem using sequential logic
Write code that evaluates multiple conditions
Write code that iterates over a collection of items
Write linear and non-linear if/else statements with single or multiple conditional logic
Write loops using for, for/in, for/of, while, and do/while for both counted and conditional tests
Write code that combines loop and if structures
-
Create programs to solve problems
Assessment Strategies
Coded program
Criteria
Trace and explain the execution order of a program consisting of multiple functions
Trace programs to deduce what the program does or what problem the program solves
Document the problem the program solves
Write a program that solves a problem based on planning/design document
Utilize appropriate control structures for efficient and sound logic
Prove the program solves the problem