The escape sequence inserts an Comment backslash web ink d

The escape sequence \\\\ inserts a(n) _______. Comment backslash web ink directory The most commonly used string counting function is the ______ function, which returns the total number characters in a string. Str_count() strops() strlen() total() The ______ function converts all of the letters in a string to capital letters. Strtoupper() strtolower() stringtoupper() stringtolower() The _____ function uses a strong encryption algorithm called Message-Digest Algorithm to create a hash of an entered string. Strhash() mda() str-ireplace() md5() The ____ function will remove both leading and trailing spaces from a string. ltrim() trim() rtrm() strtrim() The _____ function splits a string into an indexed array. Repair() explode() implode() strtok() The strcmp() function perform a ______ comparision of two strings. Case-insensitive case-sensitive standard sub-standard The similar_text() function returns the number of _____ to strings have in common. Characters numbers words sounds The ______ quantifier specifies that zero or more of the preceding characters can match. (&) (#) (*) (?) The ______ metacharacter is used to specify a range of values in a character class. (-) (theta) (+) (\')

Solution

31. The espace sequence \\\\ inserts a(n)
c. backslash. A back slash is an escape character. So, a back slash followed by other characters
has a special property. Where, if you want to print a back slash itself, you have to use double backslash.

32. The most commonly used string counting function is the ___ function, which returns the
total number of characters in a string.
b. strlen() returns the number of characters(i.e., the length of the string) in the string.

33. The ___ function converts all of the letters in a string to capital letters.
a. strtoupper() will convert all the letter in a string to upper case.

34. The ___ function uses a strong encryption algorithm called Message-Digest Algorithm
to create a hash of an entered string.
d. md5() is the one which encrypts the string and is called Message-Digest Algorithm.

35. The ___ function will remove both leading and trailing spaces from a string.
c. trim() is used to trim the leading and trailing spaces of a string.

36. The ___ function splits a string into an indexed array.
c. explode() will split a string to an indexed array.

37. The strcmp() function performs a ___ comparison of two strings.
c. case-sensitive. strcmp() performs case sensitive comparison. So, \"ABC\" is not equal to \"AbC\"

38. The similar_text() function returns the number of ___ to strings have in common.
a. characters. The similar_text() function is used to calculate the number of similar characters.

39.    The ___ quantifier specifies that zero or more of the preceding characters can match.
b. (*)
40. The ___ metacharacter is used to specify a range of values in a character class.
a. (-)

 The escape sequence \\\\ inserts a(n) _______. Comment backslash web ink directory The most commonly used string counting function is the ______ function, whic

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site