Lesson 2: Managing Data Flashcards

(15 cards)

1
Q

What are the two major data types in Visual Basic?

A
  • Numeric Data Type
  • Non-numeric Data Type
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

________data types are types of data that consist of numbers, which can be computed mathematically withvarious standard operators such as add, minus, multiply, divide and so on.

A

Numeric

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

These are the example of what data type? your examination marks, your height, your weight, the number of students in a class, share values, price of goods, monthly bills, fees and etc.

A

Numeric Data Type

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

Numeric data are divided into 7 types:

A
  • Byte
  • Integer
  • Long
  • Single
  • Double
  • Currency
  • Decimal
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

________ data types are data that cannot be manipulated mathematically using standard arithmetic operators.

A

Non-numeric Data Types

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

These data comprises text or string data types, Date data types, the Boolean data types that store only two values (true or false), Object data type and Variant data type .

A

Non-numeric

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

It is a computer memory location where a programmer can temporarily store an item of data while an application is running.

A

Variable

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

The memory location is called a ______ because its contents can change (vary) during run time.

A

Variable

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

the ____ statement to declare a variable within the procedure that needs it. The statement assigns a name, a data type, and an initial value to the variable.

A

Dim

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

______ are different from variables in the sense that their values do not change during the running of the program.

A

Constants

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

Code to change the back color?

A

Color.Form.Argb(RGB coded)

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

You can always experiment with other combinations but remember the maximum number for each color is ___and the minimum number is 0

A

255

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

Before writing an event procedure for the control to response to a user’s input, you have to set ______ ______ for the control to determine its appearance and how it will work with the event procedure.

A

Certain Properties

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

What is the code structure for visual basic?

A

Private Sub…
Statements
End Sub

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

The syntax to declare a constant is:

A

Const Constant Name As Data
Type = Value

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