Please enable JavaScript to use CodeHS

Standards Mapping

for Virginia Computer Mathematics

54

Standards in this Framework

37

Standards Mapped

68%

Mapped to Course

Standard Lessons
CM.DRS.1.a
Represent data in different number systems, including binary, decimal, and hexadecimal.
  1. 5.9 Binary
CM.DRS.1.b
Convert data between number systems (e.g., binary to decimal, decimal to hexadecimal).
  1. 5.9 Binary
CM.DRS.2.a
Describe the characteristics of different variable data types, including i) Boolean; ii) character; iii) integer; iv) decimal (double/float); and v) string.
  1. 2.2 Variables and Types
CM.DRS.2.b
Differentiate between variable data types to determine the data type needed based upon intended use (e.g., character versus string, integer versus double/float).
  1. 2.2 Variables and Types
  2. 2.3 User Input
CM.DRS.3.a
Given a specific task or problem, determine the appropriate data structure (e.g., lists, arrays, objects) to represent data.
  1. 5.5 Arrays vs ArrayLists
CM.DRS.3.b
Perform tasks related to lists or arrays (one-dimensional or two-dimensional), including i) declare a list or array (one-dimensional or two-dimensional); ii) choose an appropriate data type for a list or an array; and iii) fill the list or array with data.
  1. 5.3 Using Arrays
  2. 5.4 ArrayList Methods
  3. 5.7 2D Arrays (Matrices or Grids)
CM.DRS.3.c
Access and manipulate a particular element of a list or an array.
  1. 5.3 Using Arrays
CM.DRS.3.d
Implement predefined objects to consolidate related information of different data types.
  1. 4.3 Using a Class as a Client
CM.CP.1.a
Design a step-by-step plan to perform a task or solve a problem using a flowchart or pseudocode that outlines the subtasks needed.
  1. 1.13 Control Structures Example
CM.CP.1.b
Define the variables needed to perform a task or solve a problem.
  1. 6.1 Final Project
CM.CP.1.c
Define the constraints of a task or problem (e.g., pre-conditions, post-conditions) to determine the desired input and output.
  1. 1.7 Commenting Your Code
CM.CP.2.a
Write and implement Boolean expressions using logical and relational operators (e.g., !, &&, ||, ==, <, >, >=, <=, !=).
  1. 2.6 Booleans
CM.CP.2.b
Write and implement “if” conditional statements.
  1. 2.11 If Statements
CM.CP.2.c
Write and implement “if/else” conditional statements.
  1. 2.11 If Statements
CM.CP.2.d
Write and implement compound conditional statements (e.g., nested conditionals, chained conditional statements).
  1. 2.11 If Statements
  2. 2.13 Short-Circuit Evaluation
  3. 2.14 De Morgan's Laws
CM.CP.2.e
Determine which parts of an algorithm are executed based on a condition being true or false.
  1. 2.11 If Statements
CM.CP.3.a
Write and implement “while” and “for” loops.
  1. 2.9 For Loops
  2. 2.10 While Loops
CM.CP.3.b
Differentiate between loops that run a fixed number of times and loops that run an indefinite number of times (e.g., stopping dependent on variable conditions).
  1. 2.9 For Loops
  2. 2.10 While Loops
  3. 2.12 Loop-and-a-Half
CM.CP.3.c
Identify conditions that cause infinite loops.
  1. 2.10 While Loops
CM.CP.3.d
Determine the outcome of code segments that include loops.
CM.CP.4.a
Write and implement the output phase of a computer program, which may include: i) formatting output in text-based environments; ii) displaying output through a graphical user interface; and iii) sending output to a physical device (e.g., speakers, robots, LED lights).
  1. 2.1 Printing in Java
CM.CP.4.b
Write output to a file.
CM.CP.5.a
Write and implement input statements to store user given values into a program.
  1. 2.3 User Input
CM.CP.5.b
Validate input data using exception coding (e.g., using a “while” loop to control valid input by a user).
CM.CP.5.c
Determine what output a program will produce given a specific input.
CM.CP.6.a
Implement library functions to process data.
  1. 4.4 Writing Classes
CM.CP.6.b
Implement library functions to perform mathematical operations (e.g., random, absolute value, square root, power).
  1. 4.7 Class Methods and Class Variables
CM.CP.6.c
Implement void library functions and return library functions.
  1. 4.5 Writing Classes and Instance Methods
CM.CP.6.d
Implement overloaded library functions.
  1. 4.8 Method Overloading
CM.CP.7.a
Write and implement a user-defined function to complete a task or sub-task.
  1. 3.2 Methods and Parameters
CM.CP.7.b
Write and implement void functions and return functions.
  1. 3.2 Methods and Parameters
CM.CP.7.c
Write and implement functions that accept parameters.
  1. 3.2 Methods and Parameters
CM.CP.8.a
Differentiate between types of search routines.
CM.CP.8.b
Differentiate between types of sort routines.
CM.CP.8.c
Implement pre-defined algorithms.
CM.CP.8.d
Implement a search routine on a one-dimensional list or an array, including sequential search and binary search.
CM.CP.8.e
Implement a sort routine on a one-dimensional list or an array (e.g., selection sort, insertion sort, merge sort).
CM.AP.1.a
Determine what components of programming are needed to implement a step-by-step plan to perform a specific task or solve a problem.
  1. 6.1 Final Project
CM.AP.1.b
Write a computer program that includes sequencing, selection (conditionals), and iteration (loops).
  1. 2.11 If Statements
  2. 2.12 Loop-and-a-Half
CM.AP.1.c
Write and implement computer programs to solve mathematical problems using i) formulas and equations; ii) functions; iii) probability and statistics; and iv) data-analysis.
  1. 2.4 Arithmetic Expressions
CM.AP.2.a
Create documentation using written comments to: i) describe the overall purpose of a program; ii) align a previously created step-by-step plan to a written program; iii) describe pre-conditions and post-conditions; and iv) improve the readability of a program.
  1. 1.7 Commenting Your Code
  2. 3.4 Javadocs and More Methods
CM.AP.3.a
Verify that the variable types are aligned to the purpose of the algorithm.
CM.AP.3.b
Verify that global variables are set to constant values before run time.
  1. 5.10 Writing BlackJack
CM.AP.3.c
Differentiate between the scopes of variables (e.g., global scope versus local scope) and verify the intended use.
  1. 4.9 Local Variables and Scope
CM.AP.4.a
Declare, initialize, and assign variables to represent mathematical expressions or statements.
  1. 2.4 Arithmetic Expressions
CM.AP.4.b
Implement order of operations, including logical and relational operators.
  1. 2.4 Arithmetic Expressions
CM.AP.4.c
Translate a mathematical expression or statement into a programming statement(s).
  1. 4.7 Class Methods and Class Variables
CM.AP.5.a
Trace existing code of an algorithm to i) identify values at each stage of an algorithm; and ii) predict return values of functions given specific arguments.
CM.AP.5.b
Use tracing to describe the intended purpose of existing code for an algorithm.
CM.EP.1.a
Produce a given output by entering a data set.
CM.EP.1.b
Test a program including boundary cases and inaccurate data types to verify the intended outcomes.
CM.EP.2.a
Differentiate among syntax errors, runtime errors, and logic errors.
CM.EP.2.b
Debug a program using various techniques: i) interpret syntax and runtime error messages; ii) place controlled breaks; iii) output intermediate results; iv) disable a section of code by converting it into a comment; v) trace code to identify logic errors; and vi) use debugging tools available in the programming environment
CM.EP.3.a
Compare and contrast the efficiency of computer programs in terms of i) complexity of algorithms with the same intended outcomes; ii) memory space used; and iii) run time.