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

Samacheer Kalvi 12th 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

Which counter decides whether the loop should continue or ends?


Question 2 Of 10

Most complicated looping structure is


Question 3 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 4 Of 10

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


Question 5 Of 10

Loops that iterate for fixed number of times is called


Question 6 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 7 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 8 Of 10

Which loop is used if you know in advance how many times the loop should run?


Question 9 Of 10

What will be the output of the following PHP code ?
<?php
for ($x = 1; $x < 10;++$x)
{
print “*\t”;
}
?>


Question 10 Of 10

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