Java Games: Flashcards, matching, concentration, and word search.

C# Chapter 01 Key Terms

A First Program Using C#

AB
programa set of instructions that you write to tell a computer what to do
Machine languagethe most basic circuitry-level language
high-level programming languageallows you to use a vocabulary of reasonable terms, e.g. "read", "write", etc.
syntaxa languages set of rules
compilera computer program that translates high-level language statements into machine code
logicinvolves executing the various statements and procedures in the correct order to produce the desired results
semantic errorslogical errors that occur when you use a correct word in the wrong context
debuggingthe process of removing all syntax and logical errors from the program
procedural programcreated by writing a series of steps or operations to manipulate values
variablesnamed computer memory locations that hold values that might vary
identifierthe name of a program component such as a variable, class, or method
camel casingstyle of creating identifiers in which the first letter is not capitalized, but each new word is
Pascal casingstyle of creating identifiers in which the first letter of all new words in a variable name, even the first one , is capitalized
procedures or methodscompartmentalized program units that accomplish tasks
calls or invokessummons a procedures
object-oriented programminga programming technique that features objects, classes, encapsulation, interfaces, polymorphism, and inheritance
objectsprogram elements that are instances of a class
command linethe line on which you type a command in a system that uses a text interface
command prompta request for input that appears at the beginning of the command line
attributesrepresents an objects characteristics
statesthe values of an objects attributes
propertiesan objects values
state of an objectthe collective value of all of an objects attributes at any point in time
classa category of objects or a type of object
instancethe object of a class
encapsulationthe technique of packaging an object's attributes and methods into a cohesive unit that can be used as an undivided entity
black boxa device you use without regard for the internal mechanisms
interfacethe interaction between a method and an object
polymorphismthe ability to create methods that act appropriately depending on the context
inheritancethe ability to extend a class so as to create a more specific class that contains all the attributes and methods of a more general class; the extended class usually contains new attributes or methods as well
C#developed as an object-oriented and component-oriented language; exists as part of Visual Studio 2005, a package used for developing applications for the Windows family of operating systems
primitive datasimple data, such as a number
literal stringa series of characters that is used exactly as entered
argument or parameterrepresents information that a method needs to perform its task; one is the expression used when you call a method; the other is an object or reference that is declared in a method definition -- where the method instructions are written
WriteLine() methoddisplays a line of output on the screen positions the cursor on the next line, and waits for additional output
Write() methoddisplays a line of output on the screen, but the cursor does not advance to a new line; it remains on the same line as the output
namespacea scheme that provides a way to group similar classes
System namespaceis built into your C# compiler, holds commonly used classes
method headerincludes the method name and information about what will pass into and be returned from a method
method bodyis contained within a pair of curly braces and includes all the instructions executed by the method
whitespaceany combination of spaces, tabs, and carriage returns (blank lines); used to organize your program code and make it easier to read
keywordspredefined and reserved identifiers that have special meaning to the compiler
access modifierdefines the circumstances under which a method or class can be accessed; "public" is the most liberal type of access
publican access modifier that indicates other classes may use the method
privatean access modifier that indicates other classes may not use the method
staticindicates that a method will be executed through a class and not by an object
voidindicates that the method does not return any value when called
verbatim identifierhas a @ prefix
program commentsnonexecuting statements that you add to document a program
comment outthe turning of a program statement into a comment so that the compiler will not execute its command
line commentsstart with two forward slashes (//) and continue to the end of he cureent line; can appear on a line by themselves, or at the end of a line following executable code
block commentsstart with a forward slash and an asterisk(/*) and end with an asterisk and a forward slash (*/); can appear on a line by themselves, on a line before executable code, or after executable code; can also extend across as many lines as needed
XML-documentation format commentsuse a special set of tags within angle brackets to create documentation from within a program
using clause or using directiveused with a namespace
aliasan alternative name for a class
source codethe statements you write when you create a program
intermediate language (IL)language into which source code statements are compiled
just in time (JIT)a compiler which translates intermediate code into executable statements
stringa data type that can hold a series of characters

This activity was created by a Quia Web subscriber.
Learn more about Quia
Create your own activities