22.05.2017 Views

BIS 311 DeVry Week 3 Quiz

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

o<br />

result<br />

Question 6. 6. (TCO 5) The set of statements contained in each path of an If . . . Then . . . Else statement is called<br />

a _____. (Points : 1)<br />

o<br />

o<br />

o<br />

o<br />

statement block<br />

loop body<br />

procedure call<br />

function<br />

Question 7. 7. (TCO 5) Expressions containing a comparison operator always evaluate to _____. (Points : 1)<br />

o<br />

o<br />

o<br />

o<br />

True or False<br />

zero<br />

a positive integer<br />

a negative integer<br />

Question 8. 8. (TCO 5) In Visual Basic, the comparison operator that should be thought of as the exact opposite<br />

of “greater than” (>) is _____. (Points : 1)<br />

o <<br />

o >=<br />

o =<br />

o <br />

intValue2 Then<br />

Dim intTemp As Integer<br />

intTemp = intValue1<br />

intValue1 = intValue2<br />

intValue2 = intTemp<br />

End If (Points : 1)<br />

o<br />

o<br />

o<br />

o<br />

procedure scope<br />

module scope<br />

block scope<br />

namespace scope<br />

Question 10. 10. (TCO 5) Which logical operator is not used for combining two or more conditions into a compound<br />

condition? (Points : 1)<br />

o<br />

o<br />

o<br />

o<br />

And<br />

Or<br />

Not<br />

Xor<br />

Question 11. 11. (TCO 5) The method in Visual Basic for converting a string to all uppercase is _____. (Points :<br />

1)<br />

o<br />

o<br />

o<br />

o<br />

Capitalize<br />

AllCaps<br />

FromLower<br />

ToUpper

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!