have no implementation, the MUST be implemented in the derrived class
Back
Abstract class
Front
a base class that is so generic it cannot be instantiated.
Back
Derrived class
Front
the class extending another class
Back
Source code compiles to
Front
CIL Common intermediary language
Back
steps in coding a class
Front
1. Using
2. Namespace
3. Class
4. Fields
5. Base Constructor
6. Overloaded Constructor
7. Properties
8. To String
Back
.NET is what kind of framework
Front
extensible (we can extend the abilities of classes
Back
2 parts of an assembly
Front
.exe executable, .dll dynamically linked library
Back
flow control
Front
try {} catch{}
Back
CIL compiles to
Front
*CLR Common Language Runtime
Back
UML representation of derrives
Front
open arrow head
Back
Enumerations are
Front
a 0-indexed collection of integer constants
Back
classes can derive from
Front
only one class
Back
Polymorphism
Front
a base variable may reference a derrived type
A polymorphic operation has many implementations
Back
file types
Front
.sln solution, .cs c# source code, .suo solution user options, .csproj visual studio project, .resx resource file, config application configuration
Back
instances of a class have their own
Front
state
Back
what kind of methods can be overridden
Front
virtual
Back
Inheritance
Front
a class can be used to model other classes (blueprint)
Back
An abstract class may
Front
have non abstract members
Back
Section 2
(6 cards)
what to test
Front
every outcome of every behaviour, extremes and exceptions
Back
Private object
Front
allows test code to access methods and properties that are not public
Back
Unit test steps
Front
1. decare and define variables
2. Construct an instance of the class
3. Constuct an instance of private object
4.declare and define expected results
5. invoke the test
6. compare expected/actual results
Back
AAA pattern
Front
Arrange, Act, Assert
Back
Testing guidelines
Front
small, independant, test for one outcome, automate when possible, fix fail immediately, retest, naming standards, test everything