• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/46

Click to flip

Use LEFT and RIGHT arrow keys to navigate between flashcards;

Use UP and DOWN arrow keys to flip the card;

H to show hint;

A reads text to speech;

46 Cards in this Set

  • Front
  • Back
Know how many dimensions an arrays can have in C#
Single, Multidimensional
Know how many significant digits float and double variables have
A double is 64 and single precision (float) is 32 bits.
Know how to declare and initialize a two-dimensional array
array2D = new int[,] { { 1, 2 }, { 3, 4 }, { 5, 6 }, { 7, 8 } };
Know how to display the Visual Studio 2010 IDE Solution Explorer
Menu: Tools -> Options -> Projects and Solutions -> General
Know how to store monetary values in a C# program
decimal
Know how to use an if statement in a C# program
using System;

class Program
{
static void Main()
{
int value = 10 / 2;
if (value == 5)
{
Console.WriteLine(true);
}
}
Know how to use multidimensional arrays
int[, ,] array1 = new int[4, 2, 3];
Know how to use Visual Studio 2010 IDE help
#Define
Know the difference between passing an argument by reference and by value
If I tell you the URL, I'm passing by reference. You can use that URL to see the same web page I can see. If that page is changed, we both see the changes. If you delete the URL, all you're doing is destroying your reference to that page - you're not deleting the actual page itself.

If I print out the page and give you the printout, I'm passing by value. Your page is a disconnected copy of the original. You won't see any subsequent changes, and any changes that you make (e.g. scribbling on your printout) will not show up on the original page. If you destroy the printout, you have actually destroyed your copy of the object - but the original web page remains intact.
Know the difference between reference type and value type variables
"Variables that are based on value types directly contain values. Assigning one value type variable to another copies the contained value. This differs from the assignment of reference type variables, which copies a reference to the object but not the object itself."
Know the difference between simple types and object types in C#
A value type is usually whatever type reside on the Stack .

A primitive type is a type defined at the programming language level, often it is even a value type, directly supported by the compiler of the language.
Know the minimum number of classes in a C# program
double and decimal?
Know the number of bits in an int
32bit
Know the relationship between early Windows and DOS
?
Know the relationship between early Windows and Macintosh
?
Know the relationship between variables and data types
?
Know the supported image formats in Visual Studio 2010
BMP

GIF

JPEG

PNG

TIFF
Know the syntax for variable-length argument list methods
?
Know the syntax of the Console.Write, Console.WriteLine methods
writeline, writes to program
.write writes with a int/double/bool
Know the syntax of the for loop
class ForLoopTest
{
static void Main()
{
for (int i = 1; i <= 5; i++)
{
Console.WriteLine(i);
}
Know what 6 basic units of a computer are
Motherboard,processor,PSU,RAM,Optical Drive,Hard drive
Know what a C# program Main method is
Every C# application must contain a single Main method specifying where program execution is to begin. In C#, Main is capitalized, while Java uses lowercase main.
Main can only return int or void, and has an optional string array argument to represent command-line parameters:
Know what a computer's ALU is
Abbreviation of arithmetic logic unit, the part of a computer that performs all arithmetic computations, such as addition and multiplication, and all comparison operations. The ALU is one component of the CPU (central processing unit).
Know what a computer program is
?
Know what a console application is
?
Know what a GUI is
graphic user interface
Know what a PictureBox control is
displaying an image
Know what a semicolon (;) in a C# program is used for
ends line/ breaks statements
Know what an IDE is
is a software application that provides comprehensive facilities to computer programmers for software development. An IDE normally consists of a source code editor, build automation tools and a debugger. Most modern IDEs offer Intelligent code completion features.
Know what an infinite loop is
while(true)
{

}
Know what an off-by-one error is
is a logic error involving the discrete equivalent of a boundary condition. It often occurs in computer programming when an iterative loop iterates one time too many or too few. This problem could arise when a programmer makes mistakes such as using "is less than or equal to" where "is less than" should have been used in a comparison or fails to take into account that a sequence starts at zero rather than one (as with array indices in many languages). This can also occur in a mathematical context.
Know what control structures are
loops if and switches

Control structures are one of the most fundamental concepts in any programming language you will come across. If you want to know C#, and if you want to learn to program with any language, you must have a firm grip on the control structures of the language.

Generally speaking, if you learn them in one language, you will pick them up in different languages very quickly.
Know what data type to use for a counting loop's control
for loop
Know what default constructors are
If a class contains no instance constructor declarations, a default instance constructor is automatically provided. That default constructor simply invokes the parameterless constructor of the direct base class. If the direct base class does not have an accessible parameterless instance constructor, a compile-time error occurs. If the class is abstract then the declared accessibility for the default constructor is protected. Otherwise, the declared accessibility for the default constructor is public. Thus, the default constructor is always of the form
Know what local variable are
A local-variable-declaration declares one or more local variables.
Know what method overloading is
First, overloaded methods are separate in the compiled program. A method receiving a string parameter is separate from one receiving no parameter or an int. The methods are stored at different locations within the metadata.
Know what pre-test and post-test loops are
A pre-test loop tests for a condition prior to running a block of code. A post test loop runs the test after running a block of code.
Know what program control means
?
Know what recursive methods are
A recursive method calls itself. Recursive methods are used extensively in programming and in compilers. They help with complex problems. They solve problems and puzzles with brute force. They exhaust all possibilities.
Know what static methods and variables are
A static class is basically the same as a non-static class, but there is one difference: a static class cannot be instantiated. In other words, you cannot use the new keyword to create a variable of the class type.

Finally i understand the static variable.....static variable shared the value of it among all instances of the class.
Know what strongly typed languages are
it is not possible for the programmer to work around the restrictions imposed by the type system. This term is almost always used to describe statically typed languages.
Know what the default value of a reference is
http://msdn.microsoft.com/en-us/library/83fhsxwc.aspx
Know what the Microsoft .NET Intermediate Language is
?
Know why the use of the goto statement can cause poblems
Probably the most famous criticism of GOTO is a 1968 letter by Edsger Dijkstra called Go To Statement Considered Harmful. In that letter Dijkstra argued that unrestricted GOTO statements should be abolished from higher-level languages because they complicated the task of analyzing and verifying the correctness of programs (particularly those involving loops). An alternative viewpoint is presented in Donald Knuth's Structured Programming with go to Statements which analyzes many common programming tasks and finds that in some of them GOTO is the optimal language construct to use.
Understand array indices
?
Understand method calls
Calling a method on an object is like accessing a field. After the object name, add a period, the name of the method, and parentheses. Arguments are listed within the parentheses, and are separated by commas. The methods of the Motorcycle class can therefore be called as in the following example: