Section 1

Preview this deck

Local Variable

Front

Star 0%
Star 0%
Star 0%
Star 0%
Star 0%

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Active users

0

All-time users

0

Favorites

0

Last updated

6 years ago

Date created

Mar 1, 2020

Cards (46)

Section 1

(46 cards)

Local Variable

Front

A variable that is defined in a sub procedure and doesn't exist outside of sub procedure

Back

ACSII (American Standard Code for Information Interchange)

Front

arrangements of char. and their ACSII values is referred to as the collating sequence. This determines the order of char.

Back

Parse

Front

converts a string rep to a numeric value. If fails, execution stops. Variable = DataType.Parse(String to convert)

Back

code to clear text label

Front

Clear sales TextBox salesTextBox.Text=""

Back

Array

Front

group of variables that contain same name and data type. to refer to location, specify name and position number index starts at 0

Back

Button

Front

user can choose to carry out a command

Back

selection structure

Front

IF condition =true selection1 Else IF Condition 2 = True (remove if only 2 selections) selection2 Else selection3 End If

Back

Return

Front

keyword used to return a value from a function

Back

Continuation code

Front

Space and underscore

Back

In an event drive language, the order of events is determined by the operator or user of program

Front

True

Back

back color property

Front

describes background color for the control

Back

Tab Index

Front

controls the order of the tab fields

Back

Logical Operators

Front

AND, OR, NOT

Back

Scope

Front

where variable may be referenced or used

Back

Option Strict On

Front

disallows any automatic data type conversions in which data loss would occur

Back

Dim

Front

Declares variables and allocates storage space Dim varname[AsType[varname as type] Dim totalInteger As Integer

Back

Dialog Result

Front

used to indicate the button return value of a dialog box

Back

TryParse

Front

Converts the string rep to a numeric value. If fails, zeros is assigned and execute continues DataType.TryParse(String, ByRef Variable)

Back

Label Property

Front

info that the user cannot change

Back

Toolbox Window

Front

Tools you use to draw controls on the form

Back

Type Casting

Front

temporary conversion of a value from one data type to another. pctDecimal=CDec(totalInteger)/300D

Back

Label Box

Front

message displayed in a label box

Back

Dialog Result: yes

Front

value indicating that the yes button was selected as a result of a message box

Back

Size Mode Property

Front

used to fit the image to the picturebox or container option-Stretch Image

Back

Access Key

Front

method to execute a command using keyboard (letter underline is the shortcut) C&aculate

Back

Which statement DECLARES an string function named Grade with the Score passed as an integer input parameter?

Front

Function Grade(Score As Integer) As String

Back

Font Property

Front

Describes font type, style and size

Back

When the OR operator is used, with and IF Statement, only one condition need be evaluated as True for the compound statement to be considered True.

Front

True

Back

Which statement declares a sub procedure named CheckHours with the Hours passed as a decimal input parameter only?

Front

Sub CheckHours(ByVal Hours As Decimal)

Back

Which Statement CALLS the function named Grade with the variable Score passed as an argument?

Front

myGrade=Grade(Score)

Back

String Field

Front

all text & label boxes

Back

GroupBox

Front

Group a collection of controls on a from

Back

Checkbox

Front

used when one or more selections is made from a group of choices

Back

Proper Naming Convention

Front

begin with a letter, A-Z, a-z, 0-9, & _ Cannot be keyword cannot contain space not case sensitive

Back

what structure is used when you have two selections based upon a value or test expression

Front

IF ELSE Structure

Back

ToString Method

Front

returns a formatted string used for display purposes C= Currency N= Number P= Percent averageDecimal.ToString("C2") = $0.68

Back

ListBox

Front

displays a list of items or choices

Back

What function converts a whole number to a decimal?

Front

CDec Function

Back

Option Explicit On

Front

forces all variables to be explicitly defined (catches misspellings)

Back

Define Array

Front

specify name of the array followed by the upper bound or highest index enclosed in () Define Residency Description (2)= {"Resident of CA", "Non-Res", "Non-Us"}

Back

Form Text Property

Front

text that appears in the title bar

Back

Private

Front

indicates that the sub procedure or function can only be accessed from a specific form

Back

Which statement calls the sub procedure named CheckHours with the variable Hours passed an argument

Front

CheckHours(Hours)

Back

Contantination

Front

process of attaching one string to another string (&)

Back

String Comparison Process

Front

comparision made 1 char. at a time, left to right Once 1 string is less than the character in the other string, the comparison is terminated. String with lowest char. is considered less than the other strings

Back

ByVal

Front

used on a parameter list to define an input parameter

Back