Home
Current Affairs January 2024

What is the correct answer?

4

Visual Basic has ____________ number of editions

A. 3

B. 4

C. 5

D. 6

Correct Answer :

A. 3


Related Questions

What is the correct answer?

4

RichTextBox1.BulletIndent=5 ; what will be the effect of this code if used in any program

A. It will set the bulleted indentation by the specified value

B. It will create a list of bullet of 5 items

C. All of the above

What is the correct answer?

4

In a text box control the default caption for text box is text1.

A. True

B. False

What is the correct answer?

4

The size of 'Boolean' data type is :

A. 1 Byte.

B. 2 Bytes.

C. 4 Bytes.

D. 8 Bytes.

What is the correct answer?

4

Function Add(Num1 as integer, Num2 as integer) as integer
Add=Num1+Num2
Num1=0
Num2=0
End function
This body is an example of calling up a function by:

A. By optional argument.

B. By value.

C. By reference.

What is the correct answer?

4

In case of visual basic, IDE means :

A. Internal Database Engineering.

B. Integrated Database Environment.

C. Integrated Development Environment.

What is the correct answer?

4

Dialog title property is used to change the title of any dialog box

A. True

B. False

What is the correct answer?

4

In database application, any field does not contain any values can be recognized by:

A. Nothing value.

B. Null value.

C. Error value.

D. Empty value.

What is the correct answer?

4

Flag property is used to adjust the function of each common dialog box

A. True

B. False

What is the correct answer?

4

The project extension name of a VB project is .vbj

A. True

B. False

What is the correct answer?

4

Isnull(), IsEmpty() determines weather any variable has been initialize or not

A. True

B. False

What is the correct answer?

4

Sorted property of list box control is a design time property and cannot be changed in runtime.

A. True

B. False

What is the correct answer?

4

To get the property window in visual basic you have to press :

A. F3

B. F6

C. F4

D. F6

What is the correct answer?

4

What is the default value of MaxLength property of text box control?

A. 255 characters

B. 10 characters

C. 0 characters

D. Any of the above

What is the correct answer?

4

The arrange property of MDI form is available at design time.

A. True

B. False

What is the correct answer?

4

The amount of text any one can place in text box is maximum 64 kb.

A. True

B. False

What is the correct answer?

4

what will be the output of the code below :
private sub command_click()
dim I as integer
I=0
Do
Print I
Loop until I>10
End sub

A. it will generate compile time error

B. it will generate runtime error

C. it is an endless loop

D. 0 1 2 3 4 5 6 7 8 9 10

What is the correct answer?

4

What is the default value for multi-select property of list box control.

A. 1

B. 2

C. 0

D. none

What is the correct answer?

4

To draw a form on the screen which event is being called up

A. Draw Event

B. Load Event

C. Paint Event

D. Either i or iii

What is the correct answer?

4

Redim statement is used to :

A. Rename a variable.

B. Rename an array.

C. Redimension an array.

What is the correct answer?

4

Sort is a method by which elements can be sorted in flexgrid control

A. True

B. False

What is the correct answer?

4

Constants are processed faster than variables :

A. True

B. False

What is the correct answer?

4

Suppose there is a data control named data1. What will be the effect if the following code is inserted

A. Data1.recordset.movefirst

B. The record pointer will move to the first record of the record set

C. The pointer will move to the first record of the original table that contains the data

D. It will refresh the recordset

What is the correct answer?

4

Time variable is used to store date and time in visual basic

A. True

B. False

What is the correct answer?

4

CommonDialog1.ShowOpen
Filename1=CommonDialog1.Filename
The above code will

A. Set the filename1 by the selected filename from the common dialog contol.

B. First displays the open dialog box and let the user select any file from any

C. location and then set the filename1 by the selected filename.

D. Both are true.

What is the correct answer?

4

In form load event, if the following code is written then guess what will be the output :
Dim I as integer, J as integer
I=0
J=5
While I<J
Print I
I=I+1
Wend

A. output will be 0 1 2 3 4

B. No output, blank form will be shown

C. Compiler error

D. None

What is the correct answer?

4

To add the commondialog control to any project one has to include it from

A. File menu->component->Microsoft Common Dialog Control 6.0

B. Project menu->Component-> Microsoft Common Dialog Control 6.0

C. Component menu->project-> Microsoft Common Dialog Control 6.0

D. None of the above

What is the correct answer?

4

To break a loop abnormally when satisfying a condition, we can use

A. Break statement

B. Exit statement

C. Both i & ii could be used.

D. None of the above.

What is the correct answer?

4

Visual Basic has ____________ number of editions

A. 3

B. 4

C. 5

D. 6

What is the correct answer?

4

If the user wants to select the multiple files from file open and filesave dialog boxes then the flag must be set to

A. cdlOFNMultiselsectAllow

B. cdlOFNAllowMultiselect

C. It is not possible to select more than one file at a time

D. None

What is the correct answer?

4

By default 'Dim myvar' this statement:

A. allocates memory for integer variable

B. allocates memory for variant variable

C. allocates memory for Double variable

D. allocates memory for Boolean variable