22.05.2017 Views

BIS 311 DeVry Week 5 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 />

o<br />

o<br />

o<br />

"and"<br />

"es and"<br />

" an"<br />

"les an"<br />

Question 14. 14. (TCO 7) The _____ operator allows you to use pattern-matching characters to determine if one<br />

string is equal to another. (Points : 1)<br />

o<br />

o<br />

o<br />

o<br />

Similar<br />

Compare<br />

Match<br />

Like<br />

Question 15. 15. (TCO 7) When using pattern matching to compare strings, the * character matches _____. (Points<br />

: 1)<br />

o<br />

o<br />

o<br />

o<br />

zero or more characters<br />

any single character<br />

any single digit<br />

any single character not in a specified character list<br />

Question 16. 16. (TCO 7) The _____ keyword in a procedure header indicates the procedure can only be used<br />

within the current Code Editor window. (Points : 1)<br />

o<br />

o<br />

o<br />

o<br />

Public<br />

Private<br />

Static<br />

Local<br />

Question 17. 17. (TCO 7) The keyword _____ before a parameter in a procedure's parameter list indicates a<br />

variable for that parameter will be passed by value. (Points : 1)<br />

o<br />

o<br />

o<br />

o<br />

ByRef<br />

AsRef<br />

AsVal<br />

ByVal<br />

Question 18. 18. (TCO 7) The keyword _____ before a parameter in a procedure's parameter list indicates a<br />

variable for that parameter will be passed by reference. (Points : 1)<br />

o<br />

o<br />

o<br />

o<br />

ByCopy<br />

ByAddress<br />

ByVal<br />

ByRef<br />

Question 19. 19. (TCO 7) The data type of the expression in a function's Return statement must agree with the<br />

data type _____. (Points : 1)<br />

o<br />

o<br />

o<br />

o<br />

of the function's parameters<br />

of the arguments passed to the function<br />

specified in the As dataType section of the function header<br />

specified in the function footer<br />

Question 20. 20. (TCO 7) Which statement could correctly be used to invoke the following Sub procedure?<br />

Private Sub DisplayResults(intQuantity As Integer, decPrice As Decimal)

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

Saved successfully!

Ooh no, something went wrong!