CS Flashcards

1
Q

what is a form

A

container for all the controls that make up the user interface.

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

how to open the tool box

A

View > Toolbox from the menu bar, or press Ctrl+Alt+X.

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

how are controls used

A

They are used later by the end-users in order to interact with the project/program created.

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

what is the tool box

A

Displays all the Controls that you can add to a Form.

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

The propeties window

A

Display the properties for either Form or Controls.

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

Coding Window

A

All the codes are being typed here

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

how to execute your coding

A

To execute or see the result of your coding, click Debug > Start Debugging. Alternatively, pressing F5 on the keyboard will also give the same result.

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

If the programmer did not declare the variables,

A

the program would not understand the purpose of the variables created, and it will show as an error.

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

Variables are declared using the

A

Dim Code

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

The format for declaring variables is

A

Dim Variable As Data Type

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

Variable means

A

an area allocated by the computer memory to hold data

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

The following are the rules when naming a variable in VB22:

A

A variable name must be less than 255 characters.
No spacing is allowed in naming a variable.
A variable must NOT begin with a number.
Cannot use reserved words as a variable
Cannot contain any special symbols

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

Numeric Data Types are data that
Non-numeric Data Types are data that

A

can be computed mathematically.
cannot be manipulated

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

Name all types of numeric data

A

Byte
Integer or Long
Single or Double
Decimal
Currency

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

Difference between single or double and decimal

A

single and double can handle less decimal points compared to decimal, decimal can handle 28 decimal points

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

how many numbers can byte handle

A

0 to 255

17
Q

name all the 5 types of non-numeric data

A

string
date
boolean
object
variant

18
Q

what is the range of string(fixed) and string (variable)

A

0 - 65400
0-2billion

19
Q

what is the range of boolean

A

True or False

20
Q

Name
>
<
>=
<=
=
<>

A

more than
less than
more than or equals to
less than or equals to
equals to
not equals to

21
Q

Conditional Operators are also known as

A

numerical comparison operators.

22
Q

name all two loops

A

do…loops
for…next