Chapter 4 - Final Flashcards

1
Q

What are the Acceptbutton and CancelButton?

A

AcceptButton - the program will carry out the event handler processing associated with the button if the user taps or clicks it or presses the enter button.

CancelButton - the user presses the esc key, the event handler processing will be executed for the button identified as the Cancel button.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Syntax/General format for declaring variables?

A

The declaration of a constant begins with the letters Const, not the letters Dim.

Const cdecPricePerDownload As Decimal = 0.99D

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q
What are the prefixes for:
String
Integer
Decimal
Char
Boolean
Byte
Date
Long
Short
Single
A
str
int
dec
dbl
chr
bln
byt
dtm
lng
shr
sng
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is a variable scope?

A

It specifies where the variable can be referenced in a Visual Basic statement within the program.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Option Strict On statement

A

To prevent automatic conversion of values.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Concatenation

A

The process of joining two different values into a single string.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly