Tamil Nadu State Board ( Samacheer Kalvi ) Online Test based on Book Back Questions - 11th Standard Computer Applications - English Medium - Looping Structure

Samacheer Kalvi 11th Computer Applications - Looping Structure - Book Back Questions in English Medium


00:00:00
Answered
0
Skipped
0
Unseen
0
Correct : 0 Incorrect : 0
Question 1 Of 10

What will be displayed in a browser when the following PHP code is executed;


Question 2 Of 10

PHP supports four types of looping techniques;


Question 3 Of 10

What will be displayed in a browser when the following PHP code is executed; <?php
for ($counter = 20; $counter <; 10;$counter++)
{
echo “Welcome to Tamilnadu “;
}
echo “Counter is: $counter”;
?>


Question 4 Of 10

What will be the output of the following PHP code?
<?php
for ($x = -1; $x < 10;–$x)
{
print $x;
}
?>


Question 5 Of 10

What will be displayed in a browser when the following PHP code is executed;
<?php
for ($i=1;$i<=5; $i++)
{
echo “$i”;
}
?>


Question 6 Of 10

Most complicated looping structure is


Question 7 Of 10

The ……………… construct provides an easy way to iterate over arrays


Question 8 Of 10

Which loop evaluates condition expression as Boolean, if it is true, it executes statements and when it is false it will ter-minate?


Question 9 Of 10

Consider the following code
<?php
$count=12;
do{
printf(“%d squared=%d
”,$count, pow($count,2));
} while($count<4);
?>
What will be the output of the code.


Question 10 Of 10

Which loop evaluates condition expression as Boolean, if it is true, it cutes statements and when it is false it will terminate?