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.

Question 6. 6. (TCO 7) The default combo-box style in Visual Basic is _____. (Points : 1)<br />

o<br />

o<br />

o<br />

o<br />

Text<br />

Simple<br />

DropDown<br />

DropDownList<br />

Question 7. 7. (TCO 7) Like the first item in a list box, the first item in a combo box has an index of _____. (Points<br />

: 1)<br />

o 0<br />

o 1<br />

o 2<br />

o 3<br />

Question 8. 8. (TCO 7) The expression Math.Round(287.876, 2) yields a value of _____. (Points : 1)<br />

o 287.87<br />

o 287.88<br />

o 288.00<br />

o 290.00<br />

Question 9. 9. (TCO 7) The number of characters contained in a string is stored in the string’s _____ property.<br />

(Points : 1)<br />

o<br />

o<br />

o<br />

o<br />

Size<br />

Characters<br />

Length<br />

NumChars<br />

Question 10. 10. (TCO 7) If the argument indicating the number of characters to the Remove method is omitted,<br />

the Remove method _____. (Points : 1)<br />

o<br />

o<br />

o<br />

o<br />

removes no characters<br />

causes a runtime error<br />

removes the single character at the starting position only<br />

removes all characters from the starting position through the end of the string<br />

Question 11. 11. (TCO 7) The _____ method allows you to add characters anywhere in a string. (Points : 1)<br />

o<br />

o<br />

o<br />

o<br />

Add<br />

Update<br />

New<br />

Insert<br />

Question 12. 12. (TCO 7) If the specified substring is not found within the string being searched, the IndexOf<br />

method returns the value _____. (Points : 1)<br />

o False<br />

o the empty string<br />

o 0<br />

o -1<br />

Question 13. 13. (TCO 7) If strDepartment contains "Sales and Marketing", the expression<br />

strDepartment.Substring(6, 3) returns _____. (Points : 1)

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

Saved successfully!

Ooh no, something went wrong!