Deck 16: Strings,Characters and Regular Expressions

Full screen (f)
exit full mode
Question
Both stings and characters should be enclosed in double quotes ("x").
Use Space or
up arrow
down arrow
to flip the card.
Question
If an integer argument goes beyond the bounds of the array then:

A) an ArgumentOutOfBoundsException is thrown
B) a BoundsException is thrown
C) an ArgumentOutOfRangeException is thrown
D) a RangeException is thrown
Question
The bounds on a string are always:

A) 0 to string.Length.
B) 1 to string.Length.
C) 0 to string.Length - 1.
D) 1 to string.Length - 1.
Question
You can use classes Regex and Match to find patterns in a string.
Question
The Length property returns the length of a string.
Question
Class String and the Char structure are found in the:

A) System.Strings namespace
B) System.Chars namespace
C) System.Text namespace
D) System namespace
Question
When a backslash is found within quotes it's considered part of an escape sequence.
Question
Characters consist of only the capital and lowercase letters.
Question
Strings are not able to be made from an array of characters.
Question
In the declaration: string color = "blue";

A) the string literal color is assigned to the string reference "blue"
B) the string reference color is assigned to the string literal "blue"
C) the string literal "blue" is assigned to the string reference color
D) None of the above
Question
A string literal:

A) contains only one character.
B) contains numbers rather than letters.
C) is a sequence of characters in double quotation marks.
D) contains exactly its variable name and nothing else.
Question
When creating a string object,if a character array and two integers are passed to the constructor,then the created string consists of:

A) the characters of the array from the first value for as many characters as the second value
B) the characters of the array from the first value to the second value
C) all of the characters except those from the first value to the second value
D) there is no such constructor
Question
A string is a composition of characters used as one object.
Question
When using the string constructor (char,int),the character is repeated in a string as many times as specified by the integer.
Question
The Unicode character set has the same characters as ASCII.
Question
To create a string literal that excludes escape sequences,use:

A) !"string"
B) @"string"
C) #"string"
D) $"string"
Question
string indexers treat strings as:

A) binary code
B) ASCII code
C) arrays of characters
D) a character
Question
The string method xe "CopyTo method of class String"CopyTo copies a specified number of characters from a:

A) char array into a string
B) string into a char array
C) string into a int array
D) All of the above
Question
The Regex and Match classes are in the System.Text namespace.
Question
Which of the following cannot be used to form a word

A) String
B) StringBuilder
E) None of the above
Question
The letter 'B' is greater than the letter 'b'.
Question
The LastIndexOfAny method scans through the array of characters backwards.
Question
If an IndexOfAny method is passed an array of characters it:

A) finds the first occurrence of each letter in the string
B) searches for the first occurrence of any of the characters in the string
C) will search for the first occurrence of the sequence of characters
D) generates an error
Question
Concatenating with strings is done with:

A) reserved words.
B) method calls.
C) operator overloading.
D) operator overloading and method calls.
Question
strings always know their size.
Question
When two integers are passed as arguments to the Substring method,it:

A) returns the characters from the first integer to the second
B) returns as many characters as the second integer starting at the first integer
C) returns as many characters as the first integer starting at the second integer
D) generates an error
Question
The IndexOf method returns the indices of all occurrences of the given string.
Question
If a method's arguments cause it to access an index of the string that is beyond its length,the program will retrieve whatever is in that memory location.
Question
The CompareTo method returns a positive number if the invoking string is less than the argument,a negative number if the invoking string is greater and a 0 if they are the same.
Question
If an IndexOfAny method is passed a string it:

A) finds the first occurrence of each letter in the string
B) searches for the first occurrence of any of the characters in the string
C) will search for the first occurrence of the sequence of characters
D) generates an error
Question
When using the LastIndexOf method with three arguments,the second parameter specifies:

A) the length of the substring to search
B) the starting index of the string to search
C) the ending index of the string to search
D) the string to search for
Question
Method LastIndexOf is used to find the last occurrence of given text in a string.
Question
What does the following code display
String example = "C#_Programming";
Console.Write(example.Substring(3,5);

A) _Pr
B) _Prog
C) Pro
D) Progr
Question
When comparing "a" to "_" the correct result would be:

A) "a" is greater
B) they are equal
C) "_" is greater
D) there is no way to compare "_" to "a"
Question
When a number is passed as an argument for a string indexer it returns that many characters starting from the first.
Question
string example = "Deitel";
2) example = example + " Books";

A)This will produce an error
B)This will not produce an error;however,line 2 will not change the string example.
C)This will not produce an error,and the string's value is "DeitelBooks".
D)This will not produce an error,and the string's value is "Deitel Books".
Question
The StartsWith and EndsWith methods see if a string starts or ends with the given character or string.
Question
A string is less than another string if the first "comes before" the second alphabetically.
Question
The Equals string method is used to see if:

A) two strings are exactly the same.
B) two strings start with the same letter.
C) the ASCII sum of the characters in both strings are the same.
D) the two strings have the same letter in the same position anywhere in the strings.
Question
The way to find out if two strings are equal is:

A) the Equals method
B) the CompareTo method
C) the == operator
D) All of the above
Question
strings cannot be changed.
Question
The proper way to convert a string to all lowercase is:

A) STRING = string;
B) ToLower(string);
C) string.ToLower();
D) string.ToLower(string);
Question
In order to concatenate a string with another string you can use the Concat method.
Question
When the Trim method is passed a character array,it returns a string without any of the characters found within that array.
Question
The ToString method can be used to convert a StringBuilder into a string.
Question
When passed a white space,method Trim can be used to eliminate all characters from a string.
Question
ToUpper(string)is

A) a way of converting a string to all upper cases.
B) a way to make the first letter of every word in a string a capital letter.
C) a way of making one string more important than the rest.
D) a syntax error.
Question
string objects are ________ and StringBuilders are __________.

A) immutable, immutable
B) immutable, mutable
C) mutable, immutable
D) mutable, mutable
Question
Method Replace can be used to change all occurrences of a desired character to another character.
Question
When appropriate,using string objects instead of StringBuilder objects improves performance.
Question
In order to set a string to reference nothing the programmer must use:

A) string1 = null
B) string1 = ""
C) string1 = '\0'
D) string1 = ''
Question
If two StringBuilder objects contain the same string,then

A) they represent the same location in memory
B) they are two different objects
C) if one changes, so will the other
D) None of the above
Question
Method EnsureCapacity returns the capacity of a StringBuilder.
Question
When using the Replace method,the first character passed in is the letter to be replaced and the second is what it will be replaced by.
Question
Properties Length and Capacity are used to return the number of characters in the StringBuilder and the total length allowed (at that time)of the StringBuilder,respectively.
Question
Each StringBuilder has a limit of characters that cannot be exceeded.
Question
The ToUpper and ToLower methods can be used to convert a string to all upper or lower case letters,respectively.
Question
Concatenating two strings merges the two strings into another string.
Question
Class xe "StringBuilder class"StringBuilder is used to:

A) create strings
B) manipulate strings
C) modify strings
D) All of the above
Question
Another way to concatenate a string is to use the ampersand (&).
Question
Method Insert can be used only on the primitive data types.
Question
Method Append is used to add the string representation of various data type values to the end of a StringBuilder.
Question
Method AppendFormat can be used to format objects with spaces or using proper mathematical notations.
Question
Exceeding the capacity of a StringBuilder causes the program to throw an OutOfRangeException.
Question
Method AppendFormat allows:

A) numbers to be inserted in strings.
B) some formatting to be made to the string.
C) anything added to a string.
D) one string to be added to another.
Question
If a Replace method is passed ('M','m',0,3)it will:

A) replace any letter 'M' with 'm' in the first 3 characters
B) replace any letter 'M' with 'm' in the first 4 characters
C) replace the first letter 'M' with 'm' in the first 3 characters
D) replace the first letter 'M' with 'm' in the first 4 characters
Question
When a quantifier is greedy it:

A) will return a random number, more than one, of results
B) returns half the results
C) returns each result in alphabetical order
D) returns as many results as possible
Question
When setting the length of a StringBuilder to a length that's shorter than the current one,an ArgumentOutOfRangeException is thrown.
Question
The method IsWhiteSpace is used to determine whether a character is a space or not.
Question
Method Remove can be used to delete any part of a StringBuilder.
Question
Method Append can be used only on the primitive data types.
Question
An example of a struct is:

A) an int
B) a double
C) a char
D) a byte
E) All of the above
Question
Method Insert can be used to insert various data types into a given position of a StringBuilder.
Question
The char,int,and double types are all defined by structs.
Question
Replace is a method that allows the user to change any character in a StringBuilder to the given argument.
Question
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.
Question
Which is not a StringBuilder method

A) Insert
B) Add
C) Replace
D) ReplaceAll
E) b and d
Question
If a number is formatted with the D3 formatter,it means that:

A) the number has to have at least three digits even if they are zero
B) the number has a dollar sign and is at least three digits long
C) creates each number in three dimensions
D) it is an error
Question
The IsPunctuation method returns if:

A) it's a period (.) or a comma (,)
B) including all the braces ((, {, and [)
B) it's a period (.), a comma (,), a !, a
C) it's all of
D) anything that's not a letter or a white space
Question
structs are like classes in that they encapsulate reference types.
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/92
auto play flashcards
Play
simple tutorial
Full screen (f)
exit full mode
Deck 16: Strings,Characters and Regular Expressions
1
Both stings and characters should be enclosed in double quotes ("x").
False
characters should be enclosed in single quotes ('y').
2
If an integer argument goes beyond the bounds of the array then:

A) an ArgumentOutOfBoundsException is thrown
B) a BoundsException is thrown
C) an ArgumentOutOfRangeException is thrown
D) a RangeException is thrown
C
3
The bounds on a string are always:

A) 0 to string.Length.
B) 1 to string.Length.
C) 0 to string.Length - 1.
D) 1 to string.Length - 1.
C
4
You can use classes Regex and Match to find patterns in a string.
Unlock Deck
Unlock for access to all 92 flashcards in this deck.
Unlock Deck
k this deck
5
The Length property returns the length of a string.
Unlock Deck
Unlock for access to all 92 flashcards in this deck.
Unlock Deck
k this deck
6
Class String and the Char structure are found in the:

A) System.Strings namespace
B) System.Chars namespace
C) System.Text namespace
D) System namespace
Unlock Deck
Unlock for access to all 92 flashcards in this deck.
Unlock Deck
k this deck
7
When a backslash is found within quotes it's considered part of an escape sequence.
Unlock Deck
Unlock for access to all 92 flashcards in this deck.
Unlock Deck
k this deck
8
Characters consist of only the capital and lowercase letters.
Unlock Deck
Unlock for access to all 92 flashcards in this deck.
Unlock Deck
k this deck
9
Strings are not able to be made from an array of characters.
Unlock Deck
Unlock for access to all 92 flashcards in this deck.
Unlock Deck
k this deck
10
In the declaration: string color = "blue";

A) the string literal color is assigned to the string reference "blue"
B) the string reference color is assigned to the string literal "blue"
C) the string literal "blue" is assigned to the string reference color
D) None of the above
Unlock Deck
Unlock for access to all 92 flashcards in this deck.
Unlock Deck
k this deck
11
A string literal:

A) contains only one character.
B) contains numbers rather than letters.
C) is a sequence of characters in double quotation marks.
D) contains exactly its variable name and nothing else.
Unlock Deck
Unlock for access to all 92 flashcards in this deck.
Unlock Deck
k this deck
12
When creating a string object,if a character array and two integers are passed to the constructor,then the created string consists of:

A) the characters of the array from the first value for as many characters as the second value
B) the characters of the array from the first value to the second value
C) all of the characters except those from the first value to the second value
D) there is no such constructor
Unlock Deck
Unlock for access to all 92 flashcards in this deck.
Unlock Deck
k this deck
13
A string is a composition of characters used as one object.
Unlock Deck
Unlock for access to all 92 flashcards in this deck.
Unlock Deck
k this deck
14
When using the string constructor (char,int),the character is repeated in a string as many times as specified by the integer.
Unlock Deck
Unlock for access to all 92 flashcards in this deck.
Unlock Deck
k this deck
15
The Unicode character set has the same characters as ASCII.
Unlock Deck
Unlock for access to all 92 flashcards in this deck.
Unlock Deck
k this deck
16
To create a string literal that excludes escape sequences,use:

A) !"string"
B) @"string"
C) #"string"
D) $"string"
Unlock Deck
Unlock for access to all 92 flashcards in this deck.
Unlock Deck
k this deck
17
string indexers treat strings as:

A) binary code
B) ASCII code
C) arrays of characters
D) a character
Unlock Deck
Unlock for access to all 92 flashcards in this deck.
Unlock Deck
k this deck
18
The string method xe "CopyTo method of class String"CopyTo copies a specified number of characters from a:

A) char array into a string
B) string into a char array
C) string into a int array
D) All of the above
Unlock Deck
Unlock for access to all 92 flashcards in this deck.
Unlock Deck
k this deck
19
The Regex and Match classes are in the System.Text namespace.
Unlock Deck
Unlock for access to all 92 flashcards in this deck.
Unlock Deck
k this deck
20
Which of the following cannot be used to form a word

A) String
B) StringBuilder
E) None of the above
Unlock Deck
Unlock for access to all 92 flashcards in this deck.
Unlock Deck
k this deck
21
The letter 'B' is greater than the letter 'b'.
Unlock Deck
Unlock for access to all 92 flashcards in this deck.
Unlock Deck
k this deck
22
The LastIndexOfAny method scans through the array of characters backwards.
Unlock Deck
Unlock for access to all 92 flashcards in this deck.
Unlock Deck
k this deck
23
If an IndexOfAny method is passed an array of characters it:

A) finds the first occurrence of each letter in the string
B) searches for the first occurrence of any of the characters in the string
C) will search for the first occurrence of the sequence of characters
D) generates an error
Unlock Deck
Unlock for access to all 92 flashcards in this deck.
Unlock Deck
k this deck
24
Concatenating with strings is done with:

A) reserved words.
B) method calls.
C) operator overloading.
D) operator overloading and method calls.
Unlock Deck
Unlock for access to all 92 flashcards in this deck.
Unlock Deck
k this deck
25
strings always know their size.
Unlock Deck
Unlock for access to all 92 flashcards in this deck.
Unlock Deck
k this deck
26
When two integers are passed as arguments to the Substring method,it:

A) returns the characters from the first integer to the second
B) returns as many characters as the second integer starting at the first integer
C) returns as many characters as the first integer starting at the second integer
D) generates an error
Unlock Deck
Unlock for access to all 92 flashcards in this deck.
Unlock Deck
k this deck
27
The IndexOf method returns the indices of all occurrences of the given string.
Unlock Deck
Unlock for access to all 92 flashcards in this deck.
Unlock Deck
k this deck
28
If a method's arguments cause it to access an index of the string that is beyond its length,the program will retrieve whatever is in that memory location.
Unlock Deck
Unlock for access to all 92 flashcards in this deck.
Unlock Deck
k this deck
29
The CompareTo method returns a positive number if the invoking string is less than the argument,a negative number if the invoking string is greater and a 0 if they are the same.
Unlock Deck
Unlock for access to all 92 flashcards in this deck.
Unlock Deck
k this deck
30
If an IndexOfAny method is passed a string it:

A) finds the first occurrence of each letter in the string
B) searches for the first occurrence of any of the characters in the string
C) will search for the first occurrence of the sequence of characters
D) generates an error
Unlock Deck
Unlock for access to all 92 flashcards in this deck.
Unlock Deck
k this deck
31
When using the LastIndexOf method with three arguments,the second parameter specifies:

A) the length of the substring to search
B) the starting index of the string to search
C) the ending index of the string to search
D) the string to search for
Unlock Deck
Unlock for access to all 92 flashcards in this deck.
Unlock Deck
k this deck
32
Method LastIndexOf is used to find the last occurrence of given text in a string.
Unlock Deck
Unlock for access to all 92 flashcards in this deck.
Unlock Deck
k this deck
33
What does the following code display
String example = "C#_Programming";
Console.Write(example.Substring(3,5);

A) _Pr
B) _Prog
C) Pro
D) Progr
Unlock Deck
Unlock for access to all 92 flashcards in this deck.
Unlock Deck
k this deck
34
When comparing "a" to "_" the correct result would be:

A) "a" is greater
B) they are equal
C) "_" is greater
D) there is no way to compare "_" to "a"
Unlock Deck
Unlock for access to all 92 flashcards in this deck.
Unlock Deck
k this deck
35
When a number is passed as an argument for a string indexer it returns that many characters starting from the first.
Unlock Deck
Unlock for access to all 92 flashcards in this deck.
Unlock Deck
k this deck
36
string example = "Deitel";
2) example = example + " Books";

A)This will produce an error
B)This will not produce an error;however,line 2 will not change the string example.
C)This will not produce an error,and the string's value is "DeitelBooks".
D)This will not produce an error,and the string's value is "Deitel Books".
Unlock Deck
Unlock for access to all 92 flashcards in this deck.
Unlock Deck
k this deck
37
The StartsWith and EndsWith methods see if a string starts or ends with the given character or string.
Unlock Deck
Unlock for access to all 92 flashcards in this deck.
Unlock Deck
k this deck
38
A string is less than another string if the first "comes before" the second alphabetically.
Unlock Deck
Unlock for access to all 92 flashcards in this deck.
Unlock Deck
k this deck
39
The Equals string method is used to see if:

A) two strings are exactly the same.
B) two strings start with the same letter.
C) the ASCII sum of the characters in both strings are the same.
D) the two strings have the same letter in the same position anywhere in the strings.
Unlock Deck
Unlock for access to all 92 flashcards in this deck.
Unlock Deck
k this deck
40
The way to find out if two strings are equal is:

A) the Equals method
B) the CompareTo method
C) the == operator
D) All of the above
Unlock Deck
Unlock for access to all 92 flashcards in this deck.
Unlock Deck
k this deck
41
strings cannot be changed.
Unlock Deck
Unlock for access to all 92 flashcards in this deck.
Unlock Deck
k this deck
42
The proper way to convert a string to all lowercase is:

A) STRING = string;
B) ToLower(string);
C) string.ToLower();
D) string.ToLower(string);
Unlock Deck
Unlock for access to all 92 flashcards in this deck.
Unlock Deck
k this deck
43
In order to concatenate a string with another string you can use the Concat method.
Unlock Deck
Unlock for access to all 92 flashcards in this deck.
Unlock Deck
k this deck
44
When the Trim method is passed a character array,it returns a string without any of the characters found within that array.
Unlock Deck
Unlock for access to all 92 flashcards in this deck.
Unlock Deck
k this deck
45
The ToString method can be used to convert a StringBuilder into a string.
Unlock Deck
Unlock for access to all 92 flashcards in this deck.
Unlock Deck
k this deck
46
When passed a white space,method Trim can be used to eliminate all characters from a string.
Unlock Deck
Unlock for access to all 92 flashcards in this deck.
Unlock Deck
k this deck
47
ToUpper(string)is

A) a way of converting a string to all upper cases.
B) a way to make the first letter of every word in a string a capital letter.
C) a way of making one string more important than the rest.
D) a syntax error.
Unlock Deck
Unlock for access to all 92 flashcards in this deck.
Unlock Deck
k this deck
48
string objects are ________ and StringBuilders are __________.

A) immutable, immutable
B) immutable, mutable
C) mutable, immutable
D) mutable, mutable
Unlock Deck
Unlock for access to all 92 flashcards in this deck.
Unlock Deck
k this deck
49
Method Replace can be used to change all occurrences of a desired character to another character.
Unlock Deck
Unlock for access to all 92 flashcards in this deck.
Unlock Deck
k this deck
50
When appropriate,using string objects instead of StringBuilder objects improves performance.
Unlock Deck
Unlock for access to all 92 flashcards in this deck.
Unlock Deck
k this deck
51
In order to set a string to reference nothing the programmer must use:

A) string1 = null
B) string1 = ""
C) string1 = '\0'
D) string1 = ''
Unlock Deck
Unlock for access to all 92 flashcards in this deck.
Unlock Deck
k this deck
52
If two StringBuilder objects contain the same string,then

A) they represent the same location in memory
B) they are two different objects
C) if one changes, so will the other
D) None of the above
Unlock Deck
Unlock for access to all 92 flashcards in this deck.
Unlock Deck
k this deck
53
Method EnsureCapacity returns the capacity of a StringBuilder.
Unlock Deck
Unlock for access to all 92 flashcards in this deck.
Unlock Deck
k this deck
54
When using the Replace method,the first character passed in is the letter to be replaced and the second is what it will be replaced by.
Unlock Deck
Unlock for access to all 92 flashcards in this deck.
Unlock Deck
k this deck
55
Properties Length and Capacity are used to return the number of characters in the StringBuilder and the total length allowed (at that time)of the StringBuilder,respectively.
Unlock Deck
Unlock for access to all 92 flashcards in this deck.
Unlock Deck
k this deck
56
Each StringBuilder has a limit of characters that cannot be exceeded.
Unlock Deck
Unlock for access to all 92 flashcards in this deck.
Unlock Deck
k this deck
57
The ToUpper and ToLower methods can be used to convert a string to all upper or lower case letters,respectively.
Unlock Deck
Unlock for access to all 92 flashcards in this deck.
Unlock Deck
k this deck
58
Concatenating two strings merges the two strings into another string.
Unlock Deck
Unlock for access to all 92 flashcards in this deck.
Unlock Deck
k this deck
59
Class xe "StringBuilder class"StringBuilder is used to:

A) create strings
B) manipulate strings
C) modify strings
D) All of the above
Unlock Deck
Unlock for access to all 92 flashcards in this deck.
Unlock Deck
k this deck
60
Another way to concatenate a string is to use the ampersand (&).
Unlock Deck
Unlock for access to all 92 flashcards in this deck.
Unlock Deck
k this deck
61
Method Insert can be used only on the primitive data types.
Unlock Deck
Unlock for access to all 92 flashcards in this deck.
Unlock Deck
k this deck
62
Method Append is used to add the string representation of various data type values to the end of a StringBuilder.
Unlock Deck
Unlock for access to all 92 flashcards in this deck.
Unlock Deck
k this deck
63
Method AppendFormat can be used to format objects with spaces or using proper mathematical notations.
Unlock Deck
Unlock for access to all 92 flashcards in this deck.
Unlock Deck
k this deck
64
Exceeding the capacity of a StringBuilder causes the program to throw an OutOfRangeException.
Unlock Deck
Unlock for access to all 92 flashcards in this deck.
Unlock Deck
k this deck
65
Method AppendFormat allows:

A) numbers to be inserted in strings.
B) some formatting to be made to the string.
C) anything added to a string.
D) one string to be added to another.
Unlock Deck
Unlock for access to all 92 flashcards in this deck.
Unlock Deck
k this deck
66
If a Replace method is passed ('M','m',0,3)it will:

A) replace any letter 'M' with 'm' in the first 3 characters
B) replace any letter 'M' with 'm' in the first 4 characters
C) replace the first letter 'M' with 'm' in the first 3 characters
D) replace the first letter 'M' with 'm' in the first 4 characters
Unlock Deck
Unlock for access to all 92 flashcards in this deck.
Unlock Deck
k this deck
67
When a quantifier is greedy it:

A) will return a random number, more than one, of results
B) returns half the results
C) returns each result in alphabetical order
D) returns as many results as possible
Unlock Deck
Unlock for access to all 92 flashcards in this deck.
Unlock Deck
k this deck
68
When setting the length of a StringBuilder to a length that's shorter than the current one,an ArgumentOutOfRangeException is thrown.
Unlock Deck
Unlock for access to all 92 flashcards in this deck.
Unlock Deck
k this deck
69
The method IsWhiteSpace is used to determine whether a character is a space or not.
Unlock Deck
Unlock for access to all 92 flashcards in this deck.
Unlock Deck
k this deck
70
Method Remove can be used to delete any part of a StringBuilder.
Unlock Deck
Unlock for access to all 92 flashcards in this deck.
Unlock Deck
k this deck
71
Method Append can be used only on the primitive data types.
Unlock Deck
Unlock for access to all 92 flashcards in this deck.
Unlock Deck
k this deck
72
An example of a struct is:

A) an int
B) a double
C) a char
D) a byte
E) All of the above
Unlock Deck
Unlock for access to all 92 flashcards in this deck.
Unlock Deck
k this deck
73
Method Insert can be used to insert various data types into a given position of a StringBuilder.
Unlock Deck
Unlock for access to all 92 flashcards in this deck.
Unlock Deck
k this deck
74
The char,int,and double types are all defined by structs.
Unlock Deck
Unlock for access to all 92 flashcards in this deck.
Unlock Deck
k this deck
75
Replace is a method that allows the user to change any character in a StringBuilder to the given argument.
Unlock Deck
Unlock for access to all 92 flashcards in this deck.
Unlock Deck
k this deck
76
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.
Unlock Deck
Unlock for access to all 92 flashcards in this deck.
Unlock Deck
k this deck
77
Which is not a StringBuilder method

A) Insert
B) Add
C) Replace
D) ReplaceAll
E) b and d
Unlock Deck
Unlock for access to all 92 flashcards in this deck.
Unlock Deck
k this deck
78
If a number is formatted with the D3 formatter,it means that:

A) the number has to have at least three digits even if they are zero
B) the number has a dollar sign and is at least three digits long
C) creates each number in three dimensions
D) it is an error
Unlock Deck
Unlock for access to all 92 flashcards in this deck.
Unlock Deck
k this deck
79
The IsPunctuation method returns if:

A) it's a period (.) or a comma (,)
B) including all the braces ((, {, and [)
B) it's a period (.), a comma (,), a !, a
C) it's all of
D) anything that's not a letter or a white space
Unlock Deck
Unlock for access to all 92 flashcards in this deck.
Unlock Deck
k this deck
80
structs are like classes in that they encapsulate reference types.
Unlock Deck
Unlock for access to all 92 flashcards in this deck.
Unlock Deck
k this deck
locked card icon
Unlock Deck
Unlock for access to all 92 flashcards in this deck.