Exam 6: Manipulating Arrays
Exam 1: Getting Started With Php83 Questions
Exam 2: Functions and Control Structures83 Questions
Exam 3: Manipulating Strings83 Questions
Exam 4: Handling User Input83 Questions
Exam 5: Working With Files and Directories84 Questions
Exam 6: Manipulating Arrays83 Questions
Exam 7: Working With Databases and Mysql83 Questions
Exam 8: Manipulating Mysql Databases With Php84 Questions
Exam 9: Managing State Information83 Questions
Exam 10: Developing Object-Oriented Php79 Questions
Select questions type
One problem with the unset() function is that is does not renumber the remaining elements in the array.
(True/False)
4.7/5
(37)
You pass to the array_shift() function the name of the array whose first element you want to ____________________ .
(Short Answer)
4.8/5
(49)
The last element is removed from the end of an array using the array_pop() function.
(True/False)
4.8/5
(37)
The ____________________ function does not operate directly on an array; but, returns a new array with the renumbered indexes.
(Short Answer)
4.8/5
(41)
The internal array pointer is a special type of variable that refers to the currently selected element in an array.
(True/False)
5.0/5
(42)
To have PHP store form data in an array, you modify the name attribute of the input element to use array notation.
(True/False)
4.8/5
(27)
The array_unique() function does not renumber the indexes after removing duplicate values in an array.
(True/False)
4.9/5
(34)
As with the array_values() function the ____________________ function does not operate directly on an array.
(Short Answer)
4.9/5
(28)
To renumber an indexed array's elements, you need to run the ____ function.
(Multiple Choice)
4.7/5
(35)
If you use an iteration function to move the internal array pointer either before the first element or after the last element in an array, the only way to move the array pointer back to a valid element is to use the unset() function.
(True/False)
4.9/5
(31)
If there are no indexes or keys entered in the value of the name attribute in a form, PHP assigns an index of ____ to the first element.
(Multiple Choice)
4.9/5
(46)
You use the ____________________ function to create a new associative array that uses the values from one array as keys and the values from another array as element values.
(Short Answer)
4.9/5
(41)
The ____ function determines whether a given index or key exists.
(Multiple Choice)
4.7/5
(40)
The most commonly used array sorting functions are sort() and rsort() for associative arrays.
(True/False)
4.7/5
(34)
To remove multiple elements using the unset() function, separate each ____ name with commas.
(Multiple Choice)
4.7/5
(45)
The internal array pointer is a way of keeping track of which element you are working with in an array.
(True/False)
4.9/5
(35)
The data values for input elements that use array notation for the value of the name attribute are stored in a ____ array within the $_POST autoglobal array.
(Multiple Choice)
4.9/5
(33)
Showing 61 - 80 of 83
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)