Exam 6: Manipulating Arrays

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

The array_pop() function removes the ____________________ elements from the end of the array.

Free
(Short Answer)
5.0/5
(36)
Correct Answer:
Verified

last

The ____ function determines whether a given value exists in an array.

Free
(Multiple Choice)
4.7/5
(40)
Correct Answer:
Verified

A

The ____ function returns a Boolean value of true if a given value exists in the array.

Free
(Multiple Choice)
5.0/5
(38)
Correct Answer:
Verified

D

To sort an associative array by key, use the ____ function.

(Multiple Choice)
4.9/5
(42)

The array_name argument in the array_splice() function indicates the name of the array you want to eliminate.

(True/False)
4.9/5
(35)

Modify the ____________________ attribute of the input element to use array notation to store form data.

(Short Answer)
4.8/5
(40)

To refer to an element in an associative array, you place an element's ____________________ in single or double quotation marks inside the array brackets.

(Short Answer)
4.7/5
(38)

After adding or removing array elements, the ____________________ function also renumbers the indexes for an array.

(Short Answer)
4.9/5
(35)

To remove multiple elements using the unset() function, you must separate each element name with a ____________________ .

(Short Answer)
4.8/5
(36)

To randomize the order of array elements, you can use the ____________________ function.

(Short Answer)
4.8/5
(35)

The ____________________ function adds one or more elements to the end of an array.

(Short Answer)
4.9/5
(26)

The array_unique() function removes elements that are unique to an array.

(True/False)
4.9/5
(41)

The start_index argument of the array_slice() function indicates the ____________________ position within the array to begin extracting elements.

(Short Answer)
4.8/5
(47)

The ____________________ is a special type of variable that refers to the currently selected element in an array.

(Short Answer)
4.8/5
(37)

When using associative keys in Web forms, you do not use ____________________ around the associative array key name.

(Short Answer)
4.9/5
(39)

Merge two or more arrays with the ____ function.

(Multiple Choice)
4.8/5
(45)

If you create an associative array and then add a new element without specifying a key, PHP will not assume that the array is indexed.

(True/False)
4.9/5
(33)

A multidimensional array in PHP is essentially ____.

(Multiple Choice)
4.9/5
(30)

The ____________________ function removes array elements and other variables.

(Short Answer)
4.8/5
(38)

The ____ is a special type of variable that refers to the currently selected element in an array.

(Multiple Choice)
4.7/5
(36)
Showing 1 - 20 of 83
close modal

Filters

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