Exam 17: Strings and Characters: a Deeper Look

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

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

(True/False)
5.0/5
(31)

When using the Replace method,the first character passed in is the character to be replaced and the second is what it will be replaced by.

(True/False)
4.9/5
(31)

When a number is passed as an argument for a String indexer,it returns that many characters starting from the first.

(True/False)
5.0/5
(33)

Method xe "Concat method of class String"Concat is not a Shared method.

(True/False)
4.9/5
(35)

If an IndexOfAny method is passed an array of characters it:

(Multiple Choice)
4.8/5
(34)

Concatenating two Strings merges the two Strings into another String.

(True/False)
4.9/5
(35)

There is no direct way of converting a String to a character array.

(True/False)
4.8/5
(24)

The method IsWhiteSpace is used only to determine whether a character is a space or not.

(True/False)
4.8/5
(35)

Class xe "StringBuilder class"StringBuilder is used to:

(Multiple Choice)
4.8/5
(27)

The expression New String("America",4,2)creates a string with the value:

(Multiple Choice)
4.8/5
(35)

Characters consist of only the uppercase and lowercase alphabets.

(True/False)
4.8/5
(28)

Passing an index greater than zero,but less than or equal to the length of the String will result in an IndexOutOfRangeException.

(True/False)
4.9/5
(32)

By default all quantifiers are lazy.

(True/False)
4.8/5
(34)

In the declaration: Dim color As String = "blue"

(Multiple Choice)
4.7/5
(38)

Given the literal String object string1 = "hello there",then string1.Length = 10.

(True/False)
4.9/5
(36)

If a number is formatted with the D3 formatter,it means that:

(Multiple Choice)
4.9/5
(36)

The Unicode character set has the same characters as ASCII.

(True/False)
4.8/5
(25)

The String Split method is used to (most specifically):

(Multiple Choice)
4.8/5
(39)

When appropriate,using String objects instead of StringBuilder objects improves performance.

(True/False)
4.8/5
(30)

After method EnsureCapacity doubles the StringBuilder instance's current capacity,if the new capacity is still lower than the value that the programmer wishes to ensure:

(Multiple Choice)
4.9/5
(31)
Showing 41 - 60 of 116
close modal

Filters

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