Exam 8: Manipulating Strings

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

The ____ property of a menu element is used by a programmer to refer to the menu element in code.

(Multiple Choice)
4.9/5
(43)

When using the IndexOf search method, to begin the search at the first character you specify a one as the argument.

(True/False)
4.7/5
(25)

The StartsWith string method will return true if a match is found and false if there is no match starting on the left side of a string.

(True/False)
4.7/5
(35)

To determine the length of a string use the string's Length property.

(True/False)
4.9/5
(48)

The Trim method will remove characters from the right end of a string only.

(True/False)
4.7/5
(40)

The method that removes characters from only the right end of a string is the ____ method.

(Multiple Choice)
4.9/5
(30)

The Remove function uses an index value of zero for the first character in a string.

(True/False)
4.9/5
(35)

To remove characters from the beginning of a string, only the Trim method is used.

(True/False)
5.0/5
(35)

Assume that the value of the string message is "Happy New Year". What value would message.IndexOf("New") yield?

(Multiple Choice)
4.7/5
(31)

Which Visual Basic .NET function is used to determine if the string stateName ends with "ka"?

(Multiple Choice)
4.8/5
(44)

The method to remove characters from the left and right ends of a string is the TrimBoth method.

(True/False)
4.9/5
(38)

The Substring method has ____ required argument(s).

(Multiple Choice)
4.7/5
(40)

The Trim function can remove only one character from a comma-separated list of characters.

(True/False)
4.9/5
(42)

Each menu element is a separate object with a set of properties including Name and Text properties.

(True/False)
4.8/5
(42)

The ____ method inserts the padded characters at the beginning of the string.

(Multiple Choice)
4.8/5
(38)

What is the result after the execution of the following code segment in Visual Basic .NET? Dim stringIn as String = "Tom Jones" Mid(stringIn, 6, 2) = "am"

(Multiple Choice)
4.9/5
(35)

To remove characters from only the beginning of a string, the method to use is the ____ method.

(Multiple Choice)
4.9/5
(38)

The data for salary is entered with both dollar symbol and space; which instructions will remove the blank space symbol?

(Multiple Choice)
4.9/5
(37)

Each menu element is considered a(n) ____.

(Multiple Choice)
4.9/5
(46)

Another name for an access key is a shortcut key.

(True/False)
4.8/5
(49)
Showing 21 - 40 of 50
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)