adplus-dvertising
frame-decoration

Question

In the following code, the body of If will execute if strFirst contains?
If strFirst.ToUpper Like "T[OI]M" Then

a.

TIM

b.

TM

c.

IM

d.

OM

Posted under Visual Basic

Answer: (a).TIM

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. In the following code, the body of If will execute if strFirst contains?

Similar Questions

Discover Related MCQs

Q. You use ______________ to include one or more menus on a Windows form.

Q. The list of items displayed by menu title are known as ________________

Q. Each of the options on the submenu are referred to as ________

Q. ______________ is used to visually group together related items on a menu or submenu.

Q. Each menu element is considered as _______________

Q. The programmer use ______________ property to refer to menu element in code.

Q. The ____________ indicates the purpose of the menu element.

Q. ________________ capitalization is used for menu item captions.

Q. Each menu title should have an unique ______________

Q. Each menu item should have an _______________ that is unique within its menu.

Q. A simple variable, also called as a ________ variable, is one that is unrelated to any other variable in memory.

Q. When you group together related variables, the group is referred to as _________

Q. Using array in a program is efficient because ________

Q. Data in an array can be distinguished using _______ number.

Q. If array is of String type all values are _________ by default.

Q. The act of initializing array is also called as _______

Q. The _________ method returns an integer that represents the highest subscript in the specified dimension in the array.

Q. Which of the following declares a five-element one-dimensional array?

Q. The intSales array is declared as follows:

Dim intSales() As Integer = {10000, 12000, 900, 500, 20000}.

The statement intSales(3) = intSales(3) + 10 will

Q. The strItems array is declared as follows:

Dim strItems(20) As String.

The intSub variable keeps track of the array subscripts and is initialized to 0. Which of the following Do clauses will process the loop instructions for each element in the array?