You have to ask you teacher to show you which ones you got wrong and the answers to them.
Answer:
A.)
arr[0] = 10;
arr[1] = 10;
Explanation:
Given the array:
arr = {1,2,3,4,5}
To set the first two elements of array arr to 10.
Kindly note that ; index numbering if array elements starts from 0
First element of the array has an index of 0
2nd element of the array has an index of 1 and so on.
Array elements can be called one at a time using the array name followed by the index number of the array enclosed in square brackets.
arr[0] = 10 (this assigns a value of 10 to the index value, which replace 1
arr[1] = 10 (assigns a value of 10 to the 2nd value in arr, which replaces 2
The PHP function that is executed is a connection to a database that cannot be made is the die() function.
An error is an undesirable programming outcome. The mistake is a subset of the error. Error management is a vital component of any website or programme.
Error handling is a mechanism for identifying errors that a programme makes and taking appropriate corrective action. This can be done by utilising die() method.
When a programming problem occurs, the software will halt further code execution and display the appropriate error message to the user. The die() function displays a message and terminates the running of the programme.
The connect() function in PHP is one that is used to establish a connection to a database.
The end() method in PHP is used to locate the final element of the specified array. The end() function updates an array's internal pointer to refer to the final element and returns that element's value.
The isset() function examines whether a variable is set, which implies that it has to be declared and is not NULL. If the variable is present and not NULL, this function will return true; otherwise, it will return false.
To learn more about PHP click here:
brainly.com/question/29740624
#SPJ4
Answer: Hip Hop, Rap, Alternative, Pop Rock
Explanation:
Answer: Linked cell
Explanation: I just did a test