Exam 17: Strings and Characters: a Deeper Look

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

Method Append can only be used on the primitive data types.

(True/False)
4.8/5
(39)

When using the LastIndexOf method with three arguments,the second parameter specifies:

(Multiple Choice)
4.8/5
(29)

If a Substring method is passed only one argument then that argument must specify:

(Multiple Choice)
4.8/5
(36)

Which of the following String methods does not modify the original String?

(Multiple Choice)
4.9/5
(40)

Method LastIndexOf is used to find the last occurrence of given text in a string.

(True/False)
4.8/5
(36)

Which is not a StringBuilder method?

(Multiple Choice)
4.8/5
(32)

The ToString method can convert a StringBuilder into a String.

(True/False)
4.9/5
(27)

The Regex and Match classes are found in the System.Text namespace.

(True/False)
4.8/5
(38)

String method IndexOfAny returns an ElementNotFoundException when the argument is not found within the String.

(True/False)
4.8/5
(37)

The way to find out if two Strings are equal is:

(Multiple Choice)
4.7/5
(41)

The bounds on a String are always:

(Multiple Choice)
4.9/5
(40)

The first argument given to method CopyTo is a character array into which the characters are copied.

(True/False)
4.8/5
(35)

In order to set a string to reference Nothing you must use:

(Multiple Choice)
4.8/5
(38)

When a quantifier is greedy it ________.

(Multiple Choice)
4.8/5
(34)

Exceeding the capacity of a StringBuilder causes the program to throw an OutOfRangeException.

(True/False)
4.7/5
(34)

In order to concatenate a String with another String you can use the Concat method.

(True/False)
4.9/5
(38)
Showing 101 - 116 of 116
close modal

Filters

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