Related Questions
What is the correct answer?
4
A single function of visual basic takes:
A. Fixed number of parameters
B. Unlimited number of parameters
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
When using do loop-while statement then the statements within the loop body will be executed only once if the condition does not fulfilled
What is the correct answer?
4
Activate event is called before load event
What is the correct answer?
4
Min and Max property can be used with Font common dialog box to determine
A. To controlling dialog box size
B. The minimum and maximum size displayed in the size list
What is the correct answer?
4
Flag property is used to adjust the function of each common dialog box
What is the correct answer?
4
Isnull(), IsEmpty() determines weather any variable has been initialize or not
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?
What is the correct answer?
4
ABS() function will generate a hole value when used with a number with fraction part (ex: 125.26598)
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
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
What is the correct answer?
4
Constants are processed faster than variables :
What is the correct answer?
4
The extension name of a Visual Basic form is _____________.
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
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
What is the correct answer?
4
Print' statement can be used to print any statement on the screen.
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
What is the correct answer?
4
Now() function will return the current drive and directory you are working on as return value.
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.
What is the correct answer?
4
It is possible to declare 'Dynamic Array' in visual basic.
What is the correct answer?
4
You can get the ASCII value of any character or number by using
C. There is no function to get the ascii value.
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
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.
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:
What is the correct answer?
4
To get the property window in visual basic you have to press
What is the correct answer?
4
CommonDialogs control is visible at runtime
What is the correct answer?
4
Through which property of option button control one can change the font color of the caption.
What is the correct answer?
4
Suppose there is a data control named data1. What will be the effect if the following code is inserted
A. Data1.recordset.movefirst
B. The record pointer will move to the first record of the record set
C. The pointer will move to the first record of the original table that contains the data
D. It will refresh the recordset
What is the correct answer?
4
Time() function is used to recover date & time.
What is the correct answer?
4
In a text box control the default caption for text box is text1.