Exam 17: Strings and Characters: a Deeper Look

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

Concatenating with Strings is done with:

(Multiple Choice)
4.8/5
(31)

Properties Length and Capacity are used (respectively)to return the number of characters and the total length allowed (at that time)of the String Builder.

(True/False)
4.8/5
(29)

Method Append is used to add the String representations of various data type values to the end of a StringBuilder.

(True/False)
4.9/5
(40)

Each StringBuilder has a limit of characters that cannot be exceeded.

(True/False)
4.8/5
(38)

In Visual Basic,structures are declared using the keyword:

(Multiple Choice)
4.8/5
(41)

StringBuilder method Append,which takes a String,behaves similarly to the String's & operator.

(True/False)
4.9/5
(31)

A string literal:

(Multiple Choice)
4.8/5
(31)

Which of the following is not a String method:

(Multiple Choice)
4.9/5
(40)

When using the String constructor with arguments (Char,Integer),the character is repeated the number of times specified by the integer.

(True/False)
4.8/5
(33)

When comparing "a" to "_" the correct result would be:

(Multiple Choice)
4.8/5
(38)

When a programmer passes two integers as arguments for the Substring method,what is returned?

(Multiple Choice)
4.9/5
(40)

A comparison of the String "hello" with the String "HELLO",using method Equals,would return True.

(True/False)
4.8/5
(36)

In a FormatString,a positive optional argument after a comma aligns the string to the left,a negative one aligns it to the right.

(True/False)
4.7/5
(27)

There are many character methods,some of which are capable of determining whether a character is a letter,a digit,a symbol,or a punctuation mark.

(True/False)
4.9/5
(37)

What does the following code print out? What does the following code print out?

(Multiple Choice)
4.9/5
(27)

Visual Studio treats _______ as delimiters for Strings and does not treat them as part of a String.

(Multiple Choice)
5.0/5
(41)

In a regular expression,the asterisk (*)can be used to match an expression zero or more times.

(True/False)
4.8/5
(29)

The proper way to convert a string to all lowercase is:

(Multiple Choice)
4.8/5
(31)

The difference between {n} and {n,} is:

(Multiple Choice)
4.8/5
(38)

To obtain a single character from a string,the string is indexed like an array of characters.

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

Filters

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