Home
Current Affairs January 2024

What is the correct answer?

4

To run an application you have to press :

A. F3

B. F6

C. F5

D. F7

Correct Answer :

C. F5


Related Questions

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

The amount of text any one can place in text box is maximum 64 kb.

A. True

B. False

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

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

A. subroutines

B. function

C. main

D. sub-main

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

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

A. True

B. False

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

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

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

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

A. True

B. False

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

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

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

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

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

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

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

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

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

The extension name of a Visual Basic form is _____________.

A. .frm

B. .txt

C. .prj

D. .vbp

What is the correct answer?

4

Terminate is a valid event in form operation

A. True

B. False

What is the correct answer?

4

To add the commondialog control to any project one has to include it from

A. File menu->component->Microsoft Common Dialog Control 6.0

B. Project menu->Component-> Microsoft Common Dialog Control 6.0

C. Component menu->project-> Microsoft Common Dialog Control 6.0

D. None of the above

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

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

Flag property is used to adjust the function of each common dialog box

A. True

B. False

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

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

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

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