Visual Basic Terms

Only available on StudyMode
  • Topic: Imperative programming, Data type, C
  • Pages : 5 (1691 words )
  • Download(s) : 129
  • Published : April 15, 2013
Open Document
Text Preview
EVENT: MEANS THE USER HAS INITIATED AN ACTION THAT CAUSES THE PROGRAM TO PERFORM THE TYPE OF PROCESSESING CALLED FOR BY THE USER’S ACTION. CLASS: IS A NAMED GROUP OF PROGRAM CODE.
INSTANCE: A BUTTON CREATED FROM A CLASS IS CALLED AN OBJECT OR SOMETIMES AN INSTANCE OF A CLASS. INSTANTIATION: IN PROGRAMMING TERMINOLOGY, THE PROCESS OF CREATING A BUTTON OBJECT FROM THE BUTTON CLASS IS CALLED INSTANTIATION. PROGRAM DEVELOPMENT LIFE CYCLE:

1.GATHER AND ANALYZE THE PROGRAM REQUIREMENTS
2.DESIGN THE USER INTERFACE
3.DESIGN THE PROGRAM PROCESSING OBJECTS
4.CODE THE PROGRAM
5.TEST THE PROGRAM
6.DOCUMENT THE PROGRAM/SYSTEM
7.MAINTAIN THE PROGRAM/SYSTEM
PRESENTATION LAYER: IS THE USER INTERFACE
ASSIGNMENT STATEMENT: MEANS THE VALUE ON THE RIGHT SIDE OF THE EQUAL SIGN IS ASSIGNED TO THE ELEMENT ON THE LEFT SIDE OF THE EQUAL SIGN. PROCEDURE CALL STATEMENT: THE LEFT AND RIGHT PARENTHESES IMMEDIATELY FOLLOWING THE NAME OF THE PROCEDURE IDENTIFIES THE VISUAL BASIC STATEMENT AS THE PROCEDURE CALL STATEMENT. PROCEDURE: A SET OF PREWRITTEN CODE THAT CAN BE CALLED BY A STATEMENT IN THE VISUAL BASIC PROGRAM. EVENT PLANNING DOCUMENT: CONSISTS OF A TABLE THAT SPECIFIES AN OBJECT IN THE USER INTERFACE THAT WILL CAUSE AN EVENT, THE ACTIO TAKEN BY THE USER TO TRIGGER THE EVEN, AND THE EVENT PROCESSING THAT MUST OCCUR. STRING DATA TYPE ALLOWS EVERY CHARACTER AVAILABLE ON THE COMPUTER TO BE STORED IN IT. VARIABLE: IS A NAMED LOCATION IN RAM WHERE DATA IS STORED.

STRING VARIABLE: IS A NAMED LOCATION IN RAM THAT CAN STORE A STRING VALUE. ASSIGNMENT STATEMENT: ONE METHOD TO PLACE DATA IN THE VARIABLE. NUMBERIC DATA TYPE: MUST BE USED IN ARITHMETIC OPERATIONS

INTEGER DATA TYPE: HOLDS A NONDECIMAL WHOLE NUMBER IN VISUAL BASIC. INTEGER VARIABLE: IDENTIFIES A LOCATION IN RAM WHERE AN INTEGER VALUE IS STORED. DECIMAL DATA TYPE: CAN REPRESENT ACCURATELY LARGE OR VERY PRECISE DECIMAL NUMBERS. IT IS IDEAL FOR USE IN THE ACCOUNTING AND SCIENTIFIC FIELDS TO ENSURE NUMBERS KEEP THEIR PRECISION AND ARE NOT SUBJECT TO ROUNDING ERRORS. DOUBLE DATA TYPE: CAN REPRESENT HUGE POSITIVE AND DVERY SMALL NEGATIVE NUMBERS THAT CAN INCLUDE VALUES TO THE RIGHT OF THE DECIMAL POINT. ALSO REPRESENTS FLOATING – POINT NUMBERS, WHICH MEANS THE DECIMAL POINT CAN BE ANYWHER W/IN THE NUMBER. CHAR DATA TYPE: REPRESENTS A SINGLE KEYSTROKE SUCH AS A LETTER OF THE ALPHABET, PUCTUATION, OR A SYMBOL. LITERAL: VALUE BEING USED IN AN ASSIGNMENT STAEMENT IS LETERALLY THE VALUE THAT IS REQUIRED. IT IS NOT A VARAIABLE. CONSTANT: A VARIABLE THAT WILL CONTAIN ON E PERMANENT VALUE THROUGHOUT THE EXECUTION OF THE PROGRAM. IT CANNOT BE CHANGED BY ANY STATEMENT W/IN THE PROGRAM. SCOPE VARIABLE: SPECIFIES WHERE W/IN THE PROGRAM THE VARIABLE CAN BE REFERENCED IN VISUAL BASIC STATEMENT. •THE RULE IS: A VARIABLE CAN BE REFERENCED ONLY W/IN THE REGION OF THE PROGRAM WHERE IT IS DEFINED. LOCAL VARIABLE: IS A VARIABLE THAT CAN ONLY BE REFERENCED W/IN THE REGION OF THE PROGRAM WHERE IT IS DEFINED. •LOCAL VARIABLES HAVE A CERTAIN LIFETIME IN THE PROGRAM. THEY ARE ONLY “ALIVE” FROM THE TIME THE PROCEDURE BEGINS EXECUTING UNTIL THE PROCEDURE ENDS. GLOBAL VARIABLES: VARIABLES THAT CAN BE USED IN MULTIPLE REGIONS OF A PROGRAM. SUB PROCEDURE: IS A PROCEDURE THAT PERFORMS A TASK BUT DOES NOT RETURN A VALUE SUCH AS THE Close() PROCEDURE. FUNCTION PROCEDURE/FUNCTION: IS A PROCEDURE THAT RETURNS A VALUE. ARGUMENT: IDENTIFIES A VALUE REQUIRED BY A PROCEDURE.

CLASS: IS A NAMED GROUPING OF PROGRAM CODE.
ARITHMETIC OPERATOR: THEY ARE THE ADDITION, SUBTRACTION, MULTIPLICATION, DIVISION, AND OTHER OPERATORS FOR ARITHMETIC. FORMAT SPECIFER: MUST BE INCLUDE AS AN ARGUMENT IN THE PARAENTHESES FOLLOWING THE ToString FUNCTION NAME. •GENERAL(G)ToString (“G”)DISPLAYS THE NUMBERS

CURRENCY(C)ToString (“C”)DISPLAYS WITH $ SIGNS
AND THOUSANDS COMMA
FIXED(F)ToString (“F”)DISPLAYS # W/ 2 DIGITS TO RIGHT OF DECIMAL AND MINUS SIGN FOR
NEGATIVE #’S
PRECISION SPECIFIER: IS A NUMBER THAT IS INCLUDED...
tracking img