MCSD Study Guide - Key Terms Flashcards
(209 cards)
assignment
Providing a value for a variable
Boolean
A value that is represented as either true or false
branching
Refers to changing code execution to a different path
condition
An evaluation of operands using logical operators
conditional instructions
Instructions that evaluate Boolean expressions and take action based on the outcome of the evaluation
comment
A code line that starts with the // characters and is a way of helping to document the code so that programmers can understand what the different code segments are intended to do
complex statement
A statement that can enclose one or more simple statements into a code block surrounded by curly braces { }. Typical complex statements are those used for repetition and decision structures such as foreach { }, if { }, switch, do { }, and so on.
constant
A named value that is assigned at time of declaration and cannot be changed in code later
declaration
Used to create a variable in code
decrement
To decrease by a certain value
expression
An activity or code statement that returns a result
IEnumerable
A code component in C# that supports iteration
increment
To increase by a certain value
initialize
To set a starting value
iterator
A portion of loop that changes a value
literal
A notation used to indicate fixed values in code. Not the same as a constant. You cannot assign a value to a literal.
loop
A repetition structure that repeats instructions
modulus
Returns the REMAINDER of integer division
operator
Performs an operation on values
program flow
The logical execution of code
sentinel
A value used to signal the end for execution on a loop
simple statement
A statement that ends with a semicolon and is typically used for program actions such as declaring variables, assigning values to variables, method calls, and code branching.
spaghetti code
A term used to describe code that is complicated to follow and understand due to branching
statement
The code construct of the C# programming language that causes the application to perform an action