ExamVeda
Login
Home
81
The main Property of check box is . . . . . . . .
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
82
What will contain in txtFirst after the following Visual Basic code is executed?

strName = "Penny Swanson"
txtFirst.Text = strName.Remove(5)
Discuss
Answer & Solution
Answer: Option A
Solution:
The Remove method in Visual Basic removes a specified number of characters from a string starting from the beginning. In this code snippet, strName is assigned the value "Penny Swanson". Then, the Remove method is used to remove characters from the beginning of strName.

In the expression strName.Remove(5), it removes characters starting from index 0 up to (but not including) index 5. So, it removes the characters " Swans" from "Penny Swanson", leaving "Penny". Therefore, after execution, txtFirst.Text will contain "Penny".
83
In VB, The . . . . . . . . first we check the condition, if the condition is true then it execute the true statement same as while condition .
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
84
A . . . . . . . . provides an area in the form for the user to enter data.
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
85
Which of the following is called the line continuation character?
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board
86
Declaring a variable tell the computer to allocate a memory space that can be accessed by the variable name. The size of the memory space depends on?
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
87
A . . . . . . . . is defined as a zero or more characters enclosed in quotation marks.
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
88
What output will be returned if the following Visual Basic code is executed?

strCityState = "Nashville, TN"
blnIsContained = strCityState.Contains("TN")
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
89
In . . . . . . . . first we execute the true statement . then we check the condition if the condition is true then it again execute the true statement .
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
90
Which of the following expressions evaluates to True when the strPart variable contains the string "123X45"?
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board