C# Flashcards
(35 cards)
is a procedure or formula for solving a problem, based on conducting a sequence of specified actions.
Algorithm
Is English description of what you want the program to do
Pseudocode
directs the computer to process the program instructions, one after another, in the order listed
Sequence Structure
alerts the computer that a decision needs to be made, and it provides the appropriate action(s) to take based on the result of that decision.
Decision Structure
indicates that one or more instructions need to be repeated until some condition is met.
Repetition Structure
A named location in computer memory that can hold different values at different points in time.
Variable
A named location in computer memory that cannot be changed after a program is compiled.
Constant
Describes the format and size of (amount of memory occupied by) a data item (constant or variable).
Data Type
1st step in the problem solving process
Analyze the problem.
2nd step in the problem solving process
Plan the algorithm.
3rd step in the problem solving process
Desk-check the algorithm.
4th step in the problem solving process
Code the algorithm into a program.
5th step in the problem solving process
Test the program.
6th step in the problem solving process
Evaluate and modify (if necessary) the program.
Characteristics of the class (Variables and Constants)
Data Members
Behaviors of the class - the things it can d
Method
Entity that is a logical grouping of data and behavior members
Class
Acts like a container to provide a way to group similar classes
Namespace
Output from the 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
Defines the circumstances under which variables, methods, and classes can be accessed
Access modifiers
Anyone can access
Public
Can be accessed only by the class it lives in
Private
Entry point into a C# application
Main()method