Home
Current Affairs January 2024

What is the correct answer?

4

It is possible to pass different number parameters to a function when call the function on different time.

A. To do this one can use in the parameter list of that function

B. paramarray keyword with the array declaration

C. argument should be passed as array

D. none of the above

Correct Answer :

B. paramarray keyword with the array declaration


Related Questions

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

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

_____________ property of any control cannot change at run time.

A. color

B. name

C. caption

What is the correct answer?

4

Dialog title property is used to change the title of any dialog box

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 default startup object can not be changed in a project

A. True

B. False

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

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

The title of the dialog box can be changed.

A. True

B. False

What is the correct answer?

4

Now() function will return the current drive and directory you are working on as return value.

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

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

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

RichTextBox1.BulletIndent=5 ; what will be the effect of this code if used in any program

A. It will set the bulleted indentation by the specified value

B. It will create a list of bullet of 5 items

C. All of the above

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

Visual Basic has ____________ number of editions

A. 3

B. 4

C. 5

D. 6

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

What is the correct answer?

4

Suppose there are two forms; form1 and form2 ; if there are codes like : In form1.active event
Form2.show
And in form2.active event
Form1.show
Then what will be the output ?

A. Two forms will be just showed.

B. Two forms will be showed and the control will passed continuously to each other.

C. Nothing will be displayed

D. None of the above.

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

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

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

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

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

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

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

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

Function can return array as return value:

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

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

A. True

B. False