CSP Flashcards
Debugging Practices
Techniques to identify and fix code errors
Variables
Containers for storing and manipulating data
Mathematical Expressions
Formulas for calculations in programming
Boolean Expressions
True/False values for decision-making in code
Conditionals
Statements that control program flow based on conditions
Nested Conditionals
Conditionals within conditionals for complex decisions
Random Values
Values generated unpredictably for program use
Expression
A combination of operators and values that evaluates to a single value
Assignment Operator
Allows a program to change the value represented by a variable
Variable
A named reference to a value that can be used repeatedly throughout a program
String
An ordered sequence of characters
Boolean Value
A data type that is either true or false
Comparison Operators
<, >, <=, >=, ==, != indicate a boolean expression
Logical Operator
Not, AND, and OR, which evaluate to a boolean value
Conditional Statement
Affects the sequential flow of control by executing different statements based on the value of a boolean expression
Function
A named group of programming instructions. Also referred to as a “procedure”
Function Call
A command that executes the the code within a function
Binary
A way of representing information by only using two options
Decimal
A way of representing information by using 10 options
Bit
A contraction of “Binary Digit”; the single unit of information in a computer, typically represented as 1 or 0