Home
Current Affairs January 2024

What is the correct answer?

4

When someone uses the code like list1.list(1); then it will return the first item of the list box control.

A. True

B. False

Correct Answer :

B. False


Related Questions

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

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

A single function of visual basic takes:

A. Fixed number of parameters

B. Unlimited number of parameters

C. All of the above

D. None of the above

What is the correct answer?

4

It is possible in visual basic to specifying array limit like from 1 to 10

A. True

B. False

What is the correct answer?

4

In visual basic 'Break' statement could be used along with "Select Case"

A. True

B. False

What is the correct answer?

4

The extension name of a Visual Basic form is _____________.

A. .frm

B. .txt

C. .prj

D. .vbp

What is the correct answer?

4

While running an application you can change the value of any variable and see it's effect through ___________ window.

A. intermediate

B. Immediate

C. current

What is the correct answer?

4

The full form of IIS is :

A. Indian Institute of Science.

B. Internet Information Service

C. Industrial Information Services.

What is the correct answer?

4

It is possible to access a menu without using mouse, to access the menu ;pressing the Ctrl key and the letter assigned to access the menu

A. True

B. False

What is the correct answer?

4

_____________ property of any control cannot change at run time.

A. color

B. name

C. caption

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

Terminate is a valid event in form operation

A. True

B. False

What is the correct answer?

4

In _______________ control you can get only drop-down list of the content but cannot add directly anything to that control.

A. text box

B. combo box

C. List Box Control

What is the correct answer?

4

In a programme body :
Private sub form_load()
X=inputbox("First No. :")
Y=inputbox("Second No. :")
Z=val(X) +val(Y)
Print Z
End sub
What will be the output ?

A. The summation of two numbers given in two input box

B. It will show the numbers given in the input box side by side

C. It will show nothing

D. None of the above

What is the correct answer?

4

Through which property of option button control one can change the font color of the caption.

A. Back color

B. Font color

C. Fore color

D. None

What is the correct answer?

4

The maximum length of a variable is _____________ characters.

A. 255

B. 254

C. 256

D. 257

What is the correct answer?

4

In timer control _____________ is the most important property.

A. Interval.

B. Front

C. backcolor

What is the correct answer?

4

What will be the output when the statements below will execute :
Dim a as integer
a=0
while(a<5)
print a
a=a+1
end

A. It will generate the output like 0 1 2 3 4

B. It will generate a runtime error

C. It will generate a compiler error

D. It will display nothing

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

Data1.Recordset.FindFirst "State=NY"
The above code will find the record in a given database

A. Find the first record in the given database

B. Find the first record in the given database in which the state is NY.

C. The above command will find a record very fast where the state is NY

D. None of the above

What is the correct answer?

4

In runtime it is not possible to change the form size.

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

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

A. F6

B. F3

C. F4

D. F5

What is the correct answer?

4

If the Flag constant for the font common dialog box is cdlCFPrinterFonts then it causes the dialog box to show only the fonts supports by the printer specified by the hdc property

A. True

B. False

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

CommonDialog control is the default control that anyone can find in the toolbar when a new project is started

A. True

B. False

What is the correct answer?

4

MDI form1.Arrange vbTileHorizontal; this code in a MDI form will

A. If there are more than one MDI form then arrange them all in horizontal manner

B. Tiles all child form in horizontal manner

C. Tiles the MDI form horizontally

D. None of the above.

What is the correct answer?

4

When using do loop-while statement then the statements within the loop body will be executed only once if the condition does not fulfilled

A. True

B. False

What is the correct answer?

4

List count property returns total number of items in list box control.

A. True

B. False

What is the correct answer?

4

In visual basic, number of loop control structure is _____________.

A. 4

B. 5

C. 6

D. 7