Exam 6: Manipulating Arrays

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

The array_key_exists() function determines whether a given index or key exists.

(True/False)
4.8/5
(45)

You use the array_unshift() function to remove the first element from the beginning of an array.

(True/False)
4.9/5
(34)

The ____ function returns an array of elements that exist in one array but not in any other arrays to which it is compared.

(Multiple Choice)
4.8/5
(30)

The array_unique() function removes ____________________ elements from an array.

(Short Answer)
5.0/5
(39)

The____________________ function returns a Boolean value of TRUE if a given value exists in an array.

(Short Answer)
4.9/5
(41)

The array_diff() function returns an array of elements that exist in one array but not in any other arrays to which it is compared.

(True/False)
4.8/5
(37)

You can create ____ that consist of multiple indexes or keys.

(Multiple Choice)
4.8/5
(36)

You use the ____ function to return a portion of an array and assign it to another array.

(Multiple Choice)
4.9/5
(39)

You would use the ____________________ function t return an array of the elements that are common to all arrays that are compared.

(Short Answer)
4.9/5
(35)

You can use the unset() function to remove array elements and other variables.

(True/False)
4.8/5
(37)

The array_shift() function removes the ____ element from the beginning of an array.

(Multiple Choice)
4.9/5
(40)

The in_array() function returns a Boolean value of TRUE if a value exists in an array.

(True/False)
4.9/5
(32)

Instead of appending one array to another you can merge two or more arrays with the array_merge() function.

(True/False)
4.7/5
(35)

The array_values() function operates directly on an array.

(True/False)
4.8/5
(40)

The array_unshift() function adds ____ element(s) to the beginning of the array.

(Multiple Choice)
4.8/5
(42)

The ____ function removes duplicate elements from an array.

(Multiple Choice)
4.7/5
(41)

To perform a reverse sort on an associative array by key and maintain the existing keys, use the _____ function.

(Multiple Choice)
4.9/5
(30)

The ____________________ function moves the internal array pointer to the last element in an array.

(Short Answer)
4.9/5
(35)

Aside from its main function, the array_splice() function also renumbers the indexes in the array.

(True/False)
4.9/5
(40)

Run the ____________________ function to renumber an indexed array's element.

(Short Answer)
4.8/5
(49)
Showing 41 - 60 of 83
close modal

Filters

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