Internet programming and web server management. UE Past Papers Questions.


View All Courses

(1352) Question Category: Short answers

Write the output of the following program

<?php

$i=5;

$y=1;

while($i<8){

$i++;

$y+=$i;

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

}

?>

Answer / Solution

UNSOLVED

(1353) Question Category: Short answers

Write the output of the following program

<?php

$i=5;

$y=1;

while($i<8){

$y+=$i++;

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

}

?>

Answer / Solution

UNSOLVED

(1354) Question Category: Short answers

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>’;

?>

Answer / Solution

UNSOLVED

(1355) Question Category: Short answers

Write the output of the following program

$i=9;

while(6>$i){

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

}

?>

Answer / Solution

UNSOLVED

(1356) Question Category: Short answers

Write the output of the following program

<?php

  $i=5;

$y=7;

do{

$i++;

$y+=$i;

echo”$i”.($y--);

}while($i<5);

?>

Answer / Solution

UNSOLVED


View All Courses
News & Updates | Recently
Recent Updates
questions

2024-05-02: questions

Questions Uploaded on 2024-05-02


questions

2024-03-29: questions

Questions Uploaded on 2024-03-29


questions

2024-03-19: questions

Questions Uploaded on 2024-03-19

Dismissible in 10 seconds