Home
Current Affairs January 2024

What is the correct answer?

4

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

A. True

B. False

Correct Answer :

B. False


Related Questions

What is the correct answer?

4

Which property of list box control reports the number of selected items.

A. ListIndex

B. Selected

C. Selcount

D. NewIndex

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

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

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

To enable apply button in dialog box ; flag value should be set to

A. cdlCFApply

B. cdlcfTTOnly

C. cdcclHelpButton

D. None of the above

What is the correct answer?

4

Print' statement can be used to print any statement on the screen.

A. True

B. False

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 visual basic Bool variable stores

A. 2 bytes

B. 1 bytes

C. 4 bytes

D. none of the above.

What is the correct answer?

4

One can change or read the alignment of one or more paragraph of rich text box control through

A. Text Alignment property

B. AlignmentSet property

C. SelAlignment property

D. None

What is the correct answer?

4

If you want a list box control with check box option, which property of list box control you will have to change.

A. Check box property

B. Check style property

C. Style property

D. None

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

It is possible to change the password character property of text box control at run time.

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

IsDate() function returns true if its argument is a valid date and time

A. True

B. False

What is the correct answer?

4

The title of the dialog box can be changed.

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

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

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

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

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

Redim statement is used to :

A. Rename a variable.

B. Rename an array.

C. Redimension an array.

What is the correct answer?

4

It is possible to declare 'Dynamic Array' in visual basic.

A. True

B. False

What is the correct answer?

4

The other Single Document Interface forms are by default child of MDI form when MDI form is inserted.

A. True

B. False

What is the correct answer?

4

There are _________________ no. of built in windows dialog boxes provided by common dialogs control.

A. 6

B. 7

C. 8

D. 9

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

In visual basic the default unit is :

A. centimeter.

B. Inch.

C. Dpi.

D. Twips .

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

The maximum length of a variable is _____________ characters.

A. 255

B. 254

C. 256

D. 257

What is the correct answer?

4

You can get the ASCII value of any character or number by using

A. ASC() function

B. ASCII() function

C. There is no function to get the ascii value.

What is the correct answer?

4

Time() function is used to recover date & time.

A. True

B. False