Exam 3: Manipulating Strings

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

An escape character tells the compiler or interpreter to exit the program at the escape character.

(True/False)
4.9/5
(38)

The ____ function will remove both leading and trailing spaces from a string.

(Multiple Choice)
4.8/5
(33)

The metacharacter (^) anchors characters to the end of a string.

(True/False)
4.8/5
(35)

The escape character sequence ____ inserts a new line.

(Multiple Choice)
4.8/5
(37)

The concatenation assignment operator (.=) combines two text strings.

(True/False)
4.8/5
(35)

To allow a string to contain an alternate set of substrings, you separate the strings in a regular expression pattern with the pipe (|) metacharacter, which is similar to the ____________________ operator.

(Short Answer)
4.8/5
(38)

The syntax for the strtok() function is $variable=strtok(string, separators);

(True/False)
4.8/5
(44)

Any characters included in a ____________________ class represent alternate characters that are allowed in a pattern match.

(Short Answer)
4.7/5
(44)

ASCII values range from ____.

(Multiple Choice)
4.8/5
(30)

The ____ function uses a strong encryption algorithm called Message-Digest Algorithm to create a one-way hash of an entered string.

(Multiple Choice)
4.9/5
(35)

PCRE includes special character types, such as the ____________________ expression to allow any alphanumeric characters and the underscore character.

(Short Answer)
4.8/5
(37)

The escape character combined with one or more other characters is called an escape sequence.

(True/False)
4.8/5
(40)

An anchor specifies that a pattern must appear at that position in the string.

(True/False)
4.9/5
(40)

Metacharacters that specify the quantity of a match are called ____________________.

(Short Answer)
4.8/5
(38)

A structure in which variables are placed within curly braces inside of a string is called a ____.

(Multiple Choice)
4.9/5
(38)

The most commonly used string counting function is the ____ function, which returns the total number of characters in a string.

(Multiple Choice)
4.7/5
(40)

A()n) ____________________ hash is a fixed length string based on the entered text from which it is almost impossible to determine the original text.

(Short Answer)
4.7/5
(41)

Regular expression patterns are enclosed in opening and closing delimiters.

(True/False)
5.0/5
(31)

The term parsing refers to the act of dividing a string into logical component substrings or tokens.

(True/False)
4.8/5
(36)

The soundex() function returns a value representing a name's phonetic equivalent.

(True/False)
4.9/5
(41)
Showing 21 - 40 of 83
close modal

Filters

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