Home
Current Affairs January 2024

What is the correct answer?

4

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

A. True

B. False

Correct Answer :

B. False


Related Questions

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

In timer control _____________ is the most important property.

A. Interval.

B. Front

C. backcolor

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

when using 'do until-loop' statement as stated below
I=10
Do until I>5
Print I
I=I+1
Loop
This statement will print

A. it will generate a run time error

B. no output will be shown

C. 10 11 12 13 14 15

D. none of the above

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

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

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

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

A. True

B. False

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

which control structure are working under false condition

A. do-while loop & do loop-while

B. while-wend & for loop

C. do-while loop & while wend loop

D. do-until loop & do loop-until

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

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

A. True

B. False

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 visual basic the default unit is :

A. centimeter.

B. Inch.

C. Dpi.

D. Twips .

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

It is not possible to change the back color property of option button control at run 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

DocumentForm() it is

A. A function of MDI forms

B. An array of forms using as child into MDIform

C. None of the above

What is the correct answer?

4

The fundamental property of RichTextBox control is

A. Text property

B. TextRTF property

C. RTFText property

D. All of the above

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

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

If there is a control array of label for 10 elements, then what will be the fifth element in the array?

A. label(5)

B. label(3)

C. label(4)

D. None

What is the correct answer?

4

Delete method of the recordset of Data Control or Data Access Object is delete the record which is pointed out by the record pointer.

A. True

B. False

What is the correct answer?

4

In visual basic you can draw something in

A. Picture box control.

B. Image control.

C. Shape control.

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

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

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

The default startup object can not be changed in a project

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.