Internet programming and web server management. questions.
Find Internet programming and web server management. university examination questions in acaproso.com
# | Question |
---|---|
1 | Write the output of the following program <?php $i=5; $y=1; while($i<8){ $i++; $y+=$i; echo “$i”.(++$y); } ?> Short answers |
2 | Write the output of the following program <?php $i=5; $y=1; while($i<8){ $y+=$i++; echo “$i”.(++$y); } ?> Short answers |
3 | Write the output of the following program <?php $pp=array((array(years,kilosa,same),array(1999,2,5),array(1996,1,9),array(1994,3,4)); echo’<table’; echo’<tr><td>’.$pp[1][0].’</td><td>’.$pp[0][1].’</td><td>’.$pp[2][2].’</td></tr>’; echo’</table>’; ?> Short answers |
4 | Write the output of the following program $i=9; while(6>$i){ echo”$i”.(--$i); } ?> Short answers |
5 | Write the output of the following program <?php $i=5; $y=7; do{ $i++; $y+=$i; echo”$i”.($y--); }while($i<5); ?> Short answers |
6 | Write the output of the following program <?php $i=11; $y=0; while($i<15){ if($i%9==2) echo”$i”.(++$y); $i++; } ?> Short answers |
7 | Write the output of the following program <?php $i=11; $y=2; while($i<19){ if($i%y==2) echo”$i”.(++$y); $i++; } ?> Short answers |
8 | Write the output of the following program <?php $i=11; $y=2; while($i<19){ if($i%y==2) echo”$i”.(++$y); $i++; } ?> Short answers |
9 | Write a PHP script that finds and calculates sum of the odd numbers [excludes all prime numbers] that are below 2000. The program shall display the numbers and their sum. Practical |
10 | Write an object oriented PHP script that calculates and displays multiple of 8 of the fibonacci series elements in the range of 1 to 6000. NOTE: the Fibonacci series start like this 1,1,2,3,5,8,13,21,34,55……. Practical |