adplus-dvertising
frame-decoration

Question

What will be in Msg after the following code is evaluated?
If 3>6 AndAlso 7>4 then
   Msg=”Hi”
Else
   Msg=”Bye”
EndIf

a.

Hi

b.

Bye

c.

True

d.

False

Answer: (b).Bye

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What will be in Msg after the following code is evaluated?

Similar Questions

Discover Related MCQs

Q. String comparison in Visual basic is case-sensitive.

Q. __________ is used to converting a string to uppercase.

Q. The __________ operator reverses the value of the condition.

Q. If the txtPrice control contains the value 75, what value will the variable=Decimal.TryParse (txtPrice.Text,decPrice) method return?

Q. If the txtPrice control contains the value 75, what value will the Decimal.TryParse (txtPrice.Text,decPrice) method return?

Q. Which is used to check both the conditions in a given if statement?

Q. Which is used to check one among both the conditions in a given if statement?

Q. When a selection structure’s true part or false part contains another selection structure, the inner selection structured is referred to as __________

Q. Most common error that occur in selection structure is __________

Q. __________ refers to the process of checking your algorithm while seated at your desk.

Q. A nested selection structure can be contained in ____________________ of another selected structure.

Q. Selection structures that can select from many alternatives are known as __________

Q. Which is an easier alternative of multiple-alternative selection structure?

Q. The select case statement ends with __________

Q. Which of the following Case clauses is invalid in a Select Case statement whose selectorExpression is an Integer variable named intCode?

Q. __________ must be the last clause in the Select Case statement.

Q. Variables declared using a structure is known as ___________________

Q. You refer to the structure variable by its ____________

Q. You refer to the member variable by preceding its name with the name of the _________________________ in which it is defined.

Q. Programmers use _________________ when they need to pass a group of related variables.