visual basic Flashcards

1
Q

Command button properties

A

Its properties are:
1. This specifies if the command button is 3D or flat in appearance. - appearance
2. This is a string that is displayed on the command button. - caption
3. A true or false value determines whether it is visible or not. - visible
4. This sets the font, font style, and font size.- font
5. The value true/false determines whether the command button responds to an event or not. - enabled

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

property window

A

The property window is the window that displays the properties of the currently selected form or object.

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

Event-driven programming

A

It is the programming language in which the user may click on a certain object randomly, so each object has to be programmed independently to be able to response to those actions or events.

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

three features of Visual basic

A
  1. It is a powerful Windows-based application.
  2. It provides an input box and output box as an interactive window with the user.
  3. It is able to build web-based applications.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

event?

A

an action that can be performed on an object.

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

Procedure and its function?

A

the code that details the response for events. It is required for objects that the user can click on or choose in some way, such as command buttons and check boxes.

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

project and form?

A

project is the collection of forms in the VB program. whereas form is the area where you can create your app using different controls. Projects are saved with the.vbp extension, whereas forms are saved with the.frm extensions.

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

a subprogram

A

when we divide a large program into several smaller ones, these smaller programs are called subprograms.

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

the VB app development cycle.

A

develop an attractive user interface:
The user interface is what someone sees when your program is running. A VBI consists of forms and objects.
define properties
After the creation of forms and objects, define the properties of each form and object. An object’s properties determine the object’s name, color, size, location and appearance on the screen.
write the code
the final step invovles writing BASIC commands to make the program actually work. The aim of the VB is to tell the object on a form what to do when the user does something.

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

method

A

a block of code invoked to perform some action on a particular object.

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

property

A

The named attribute of an object

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

objects or controls

A

The elements of a form

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

GUI

A

stands for Graphical user interface, which is the user interface that we can see when our program is running in creating applications

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

control statement

A

The statement which allows repetition and omission of any statement. used to change the sequence of statement execution

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

loop

A

Repetition of any statement for a specific number of times

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

operators

A

symbols that compute inputs from the user and generate output

17
Q

variable

A

a mermory space which is useed to data temporarily

18
Q

constant

A

a memory space whose value does not change during the execution of the program

19
Q

explain IF…THEN..ELSE statement
Select Case statement
Looping

A

→ used to check the condition and base on the result, the resulting action is followed.
→ This is used when there are many conditions. It takes two values from the user, compares them, and then gives the result.
→ vb allows a procedure to be repeated many times as long as a condition or a set of conditions is fulfilled. This is called looping

20
Q

dat4e types in vb

A

numeric data type → consists of numbers which can be computed mathematically with various operators such as +,-,*,/ and so on
non-numeric date type → string (fixed length),
string(VARIABLE LENGTH)
DATE
BOOLEAN
object
variant (numeric)
variant (text)

21
Q

The rules to be followed while naming attributes

A

→ must be less than 255 characters
→ No spacing is allowed between the characters of a variable name
→ must not begin with number
→ The period isn’t permitted.

22
Q

Types of operators

A

→ arithmetic operators
→ logical operators
→ relation operators