Explain how a program or code segment functions.
CRD-2.B.1 A program is a collection of program statements that performs a specific task when run by a computer. A program is often referred to as software.
CRD-2.B.2 A code segment is a collection of program statements that is part of a program.
CRD-2.B.3 A program needs to work for a variety of inputs and situations.
CRD-2.B.4 The behavior of a program is how a program functions during execution and is often described by how a user interacts with it.
CRD-2.B.5 A program can be described broadly by what it does, or in more detail by both what the program does and how the program statements accomplish this function.