Exam 3: Manipulating Strings

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

Placing a backslash in front of an apostrophe tells the PHP scripting engine that the apostrophe is to be treated as a regular keyboard character.

(True/False)
4.8/5
(29)

The strncmp() function and the strncasecmp() function contain a third argument specifying the ____________________ of characters to compare in the string.

(Short Answer)
4.9/5
(37)

The escape sequence \\ inserts a comment.

(True/False)
4.8/5
(40)

The escape sequence to insert a carriage return is ____.

(Multiple Choice)
4.9/5
(29)

The ____ function randomly scrambles the order of characters in a string.

(Multiple Choice)
4.8/5
(37)

In a regular expression, a(n) ____ specifies that the pattern must appear at that position in the string.

(Multiple Choice)
4.8/5
(33)

The ____________________ function is used to return only a portion of a string.

(Short Answer)
4.8/5
(37)

The ____ metacharacter is used to allow a string to contain an alternate set of substrings.

(Multiple Choice)
4.9/5
(39)

The ____________________ metacharacter is used to specify a range of values in a character class.

(Short Answer)
5.0/5
(33)

A megaphone is an algorithm that returns a code for indexing words by their sound, when pronounced in English

(True/False)
4.8/5
(36)

The strpos() function performs a case-sensitive search for specified characters in a string and returns the position of the first occurrence of a substring within a string.

(True/False)
4.8/5
(42)

The strlen() function returns the total ____ in a string.

(Multiple Choice)
4.9/5
(41)

A(n) ____________________ specifies that a pattern must appear at that position in the string.

(Short Answer)
4.8/5
(46)

The strtok() function is used to break a string into smaller strings, called ____________________.

(Short Answer)
4.8/5
(33)

The characters contained in a set of parentheses within a regular expression are referred as a ____.

(Multiple Choice)
4.8/5
(41)

____________________ are patterns that are used for matching and manipulating strings according to specified rules.

(Short Answer)
4.9/5
(32)

Regular expressions are patterns that are used for matching and manipulating strings according to specified rules.

(True/False)
4.9/5
(37)

The argument you pass to the strlen() function is a literal string or string variable whose ____________________ you want to count.

(Short Answer)
5.0/5
(31)

The levenshtein() function returns the number of characters you need to change for two strings to be the same.

(True/False)
4.8/5
(39)

ASCII stands for American Standard Code for Internet Information.

(True/False)
4.8/5
(36)
Showing 41 - 60 of 83
close modal

Filters

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