Question: 5. Comparison operations rank, in precedence: a. Higher than arithmetic operators but lower than logical operators b. Lower than arithmetic operators but higher than logical
5.Comparison operations rank, in precedence:
a.Higher than arithmetic operators but lower than logical operators
b.Lower than arithmetic operators but higher than logical operators
c.Higher than both arithmetic and logical operators
d.Lower that both arithmetic and logical operators
6.Which of the following is a valid assignment statement to assign a text to the textbox txtFName?
a.txtFName = Jones
b.txtFname.Caption = Jones
c.txtFName.Text = Jones
d.txtFName.Text =Jones
7.What is the result of True And False Or True ?
a.True
b.False
c.None of the above
8.What is the result of (True Or False) Or (True And False) ?
a.True
b.False
c.None of the above
9.What is the result of (True Or False) And (True And False) ?
a.True
b.False
c.None of the above
10.Assume the region1 variable contains the string North and the region2 variable contains the string West. Which of the following will display the string NorthWest (one word) in the lblRegion control?
a.lblRegion.Text = region1 & region2
b.lblRegion.Text = region1 + region2
c.lblRegion.Text = region1 & region2
d.lblRegion.Text = region1 + region2
e.a and d
f.b and c
g.None of the above
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
