ExamVeda
Login
Home
31
A class-level variable is declared using . . . . . . . . keyword.
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
32
What will be assigned to the dblAvg variable after the code has been executed?

Do While intSub < 4
intTotal = intTotal + intNums(intSub)
intSub = intSub + 1
Loop
dblAvg = intTotal / intSub
Dim intNums() As Integer = {10, 5, 7, 2}. The intTotal, intSub, and dblAvg variables contain the number 0 before the loops are processed.
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
33
. . . . . . . . determines the type of data stored in a variable.
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board
34
If the elements in two arrays are related by their subscripts, the arrays are called as . . . . . . . . arrays.
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board
35
Which of the following property is used to specify a combo box's style in Visual Basic?
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
36
. . . . . . . . can be used instead of a Structure statement.
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
37
In the following Visual Basic code, what will be in msg, if str contains "ik"?

Dim str as String
Dim  msg as String
If str.toUpper="IK" 
   msg="Hi"
Else
   msg="Bye"
EndIf
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
38
. . . . . . . . format. In this format, the windows associated with the project will stay within a single container known as the parent. Code and form-based windows will stay within the main container form.
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
39
What will be the output of the following Visual Basic expression?

Financial.Pmt (0.05, 3, 9000)
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board
40
What will be the value of num after the following Visual Basic code is executed?

strName="Veronica Yardley"
num=strName.Length
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board