Warning: Undefined array key 1 in /home/acaproso/public_html/._System/._Template/.Main.php on line 116
Internet programming and web server management. questions.

Internet programming and web server management. questions.

Find Internet programming and web server management. university examination questions in acaproso.com

# Question
1

Each element in an array has its own ID so that it can be easily accessed.


True OR False
2

for each-loops through a block of code for each element in an array.


True OR False
3

A good way to validate a form on the server is to post the form to itself, instead of jumping to a different page.


True OR False
4

The correct way to store and retrieve  session variables is to use the PHP $_SESSION variable.


True OR False
5

if _____ else is the only condition statement used in PHP.


True OR False
6

In a multidimensional array, each element in the main array must also be an array.


True OR False
7

The fget() function is used to read multiple characters from a file.


True OR False
8

A cookie is a small file that the computer embeds on the user`s or server`s machine.


True OR False
9

Write the output of the following program

<?php

$pp=array(array(years,Morogoro,Mbeya),array(1990,2,8),array(1991,9,3),array(1992,3,4));

echo’<table>’;

echo’<tr><td>’.$pp[1][1].’</td><td>’.$pp[2][1].’</td><td>’.$pp[0][2].’</td></tr>’;

echo’</table>’;

?>


Short answers
10

Write the output of the following program

<?php

$i=4;

while(8<$i){

$i=$i++;

echo”$i”.(++$i);

}

?>


Short answers