Home
Current Affairs January 2024

What is the correct answer?

4

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

A. True

B. False

Correct Answer :

B. False


Related Questions

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

Visual Basic produce:

A. 3 types of executable code.

B. 2 types of executable code.

C. 4 types of executable code

D. none of the above.

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

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

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

Instr$(text1.text,"visual") will returns :

A. No. of times the string "visual" is present in the string in text1.text.

B. It puts the control where it finds the text "visual" in the string given in text1.text.

C. First occurrence of the text "visual" within the string given in text1.text

D. None of the above.

What is the correct answer?

4

It is possible to build an application without using any form:

A. True

B. False

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

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

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

In visual basic you can draw something in

A. Picture box control.

B. Image control.

C. Shape control.

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

Constants are processed faster than variables :

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

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

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

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

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 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

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

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

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

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

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

A. True

B. False

What is the correct answer?

4

cell alignment property can be used to align the cells with different alignment style

A. True

B. False

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

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

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

A. True

B. False

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

which should be included when an application is used without any forms

A. subroutines

B. function

C. main

D. sub-main