Deck 23: Screen Scraping Application

Full screen (f)
exit full mode
Question
The _____property of a string returns the character located at a specific index of a string.

A) Character
B) Chars
C) CharAt
D) Char
E) Index
Use Space or
up arrow
down arrow
to flip the card.
Question
The _______method returns a string array containing substrings from the string on which it is called.

A) To Array
B) Get Substrings
C) Split
D) To Words
E) Divide
Question
The IndexOf method can take_____ as arguments.

A) the substring for which to search
B) the index at which to stop searching
C) the string to search
D) the number of characters to search
E) Both a and b.
Question
The______ method concatenates the elements in a string array, separated by a specified character.

A) Concatenate
B) Join
C) Concat
D) Merge
E) MergeArray
Question
The______ method locates the last occurrence of a substring in a string.

A) Substring
B) LastIndexOf
C) IndexOf
D) FindLast
E) None of the above.
Question
A string ________.

A) is only declared using the new keyword
B) is immutable
C) can dynamically resize
D) is written as a series of characters surrounded by double quotation marks
E) Both b and d.
Question
The Replace method takes______ as one of its arguments.

A) the original string
B) the index at which to start replacing substrings
C) a string to be inserted in place of a substring of the original string
D) the index at which to stop replacing substrings
E) All of the above.
Question
If the Substring method is called on a string using only one argument, the method returns ______.

A) the character at the index specified by the argument
B) a copy of the string up to the index specified by the argument
C) a copy of the string starting after the index specified by the argument
D) a copy of the string starting at the index specified by the argument
E) None of the above.
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/8
auto play flashcards
Play
simple tutorial
Full screen (f)
exit full mode
Deck 23: Screen Scraping Application
1
The _____property of a string returns the character located at a specific index of a string.

A) Character
B) Chars
C) CharAt
D) Char
E) Index
Chars
2
The _______method returns a string array containing substrings from the string on which it is called.

A) To Array
B) Get Substrings
C) Split
D) To Words
E) Divide
Split
3
The IndexOf method can take_____ as arguments.

A) the substring for which to search
B) the index at which to stop searching
C) the string to search
D) the number of characters to search
E) Both a and b.
Both a and b.
4
The______ method concatenates the elements in a string array, separated by a specified character.

A) Concatenate
B) Join
C) Concat
D) Merge
E) MergeArray
Unlock Deck
Unlock for access to all 8 flashcards in this deck.
Unlock Deck
k this deck
5
The______ method locates the last occurrence of a substring in a string.

A) Substring
B) LastIndexOf
C) IndexOf
D) FindLast
E) None of the above.
Unlock Deck
Unlock for access to all 8 flashcards in this deck.
Unlock Deck
k this deck
6
A string ________.

A) is only declared using the new keyword
B) is immutable
C) can dynamically resize
D) is written as a series of characters surrounded by double quotation marks
E) Both b and d.
Unlock Deck
Unlock for access to all 8 flashcards in this deck.
Unlock Deck
k this deck
7
The Replace method takes______ as one of its arguments.

A) the original string
B) the index at which to start replacing substrings
C) a string to be inserted in place of a substring of the original string
D) the index at which to stop replacing substrings
E) All of the above.
Unlock Deck
Unlock for access to all 8 flashcards in this deck.
Unlock Deck
k this deck
8
If the Substring method is called on a string using only one argument, the method returns ______.

A) the character at the index specified by the argument
B) a copy of the string up to the index specified by the argument
C) a copy of the string starting after the index specified by the argument
D) a copy of the string starting at the index specified by the argument
E) None of the above.
Unlock Deck
Unlock for access to all 8 flashcards in this deck.
Unlock Deck
k this deck
locked card icon
Unlock Deck
Unlock for access to all 8 flashcards in this deck.