Home
Current Affairs January 2024

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

Correct Answer :

D. sub-main


Related Questions

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

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

A. True

B. False

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

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

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

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

_____________ property of any control cannot change at run time.

A. color

B. name

C. caption

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

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

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

List count property returns total number of items in list box 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

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

A. True

B. False

What is the correct answer?

4

Currency variable stores fixed point numbers with :

A. 2 decimal digits.

B. 3 decimal digits.

C. 4 decimal digits.

D. 6 decimal digits.

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

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

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

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

Constants are processed faster than variables :

A. True

B. False

What is the correct answer?

4

Say there is a string "Ramcharan"; when someone using Mid() function like MID("Ramcharan",2) then what will be the output:

A. "Ra"

B. "Ch"

C. "Amcharan"

D. None of the above

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

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

A. True

B. False

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

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

It is possible to load a MDI form without any childform.

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

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

A. True

B. False

What is the correct answer?

4

ABS() function will generate a hole value when used with a number with fraction part (ex: 125.26598)

A. True

B. False