C# Flashcards
(31 cards)
a process or set of rules to be followed in calculations or other problem-solving operations, especially by a computer.
algorithm
a simplistic version of coding.
pseudocode
an action or event that leads to another action or event in a predetermined order.
sequence structure
an if/or structure.
decision structure
a structure in which and action is repeated until a preordained stopping action/point.
repetition structure
step one in the problem solving process.
analyze the problem
step two in the problem solving process.
plan the algorithm
step three in the problem solving process.
desk check the algorithm
step four in the problem solving process.
code the algorithm into a program
step five in the problem solving process.
test the program
step six in the problem solving process.
evaluate and modify the program (if necessary).
characteristics of a class (variables and constants).
data members
behaviours of the class- the things it can do.
methods
entity that is a logical grouping of data and behaviour members.
class
acts like a container to provide a way to group similar classes.
Namespace
output from a method - must be the data type of the value returned.
return value
input into a method - each parameter must state the data type and name.
parameter list
any combination of spaces, tabs, and carriage returns (blank lines) that the computer ignores.
whitespace
defines the circumstances under which variables, methods and classes can be accessed.
Access modifiers
predefined and reserved identifiers that have a special meaning to the compiler.
keywords
entry point into a c# application
static void Main(string[] args)
{
main method
holds data range 0 to 255
reserves one byte of memory
Byte
holds data range -128 to 127
reserves one byte of memory
SByte
reserves two bites of memory. -32,768 to 32,767
Short