Advertisements
Advertisements
Write the features Conditional Statements in PHP.
Concept: undefined >> undefined
Differentiate Switch and if else statement.
Concept: undefined >> undefined
Advertisements
Explain the Function of Conditional Statements in PHP.
Concept: undefined >> undefined
Explain the working of Conditional Statements in PHP?
Concept: undefined >> undefined
The loop exclusively used for arrays is _____.
Concept: undefined >> undefined
Loops that iterate for fixed number of times is called ______.
Concept: undefined >> undefined
Which loop evaluates condition expression as Boolean, if it is true, it executes statements and when it is false it will terminate?
Concept: undefined >> undefined
for ($ x=0; $ x<5; x++)
echo “Hai”
The above loop executes how many no of times?
Concept: undefined >> undefined
What will be displayed in a browser when the following PHP code is executed:
<?php
for (Scounter = 20; $counter< 10;
$counter++)
{
echo “Welcome to Tamilnadu “;
}
echo “Counter is: Scounter”;
?>Concept: undefined >> undefined
What will be displayed in a browser when the following PHP code is executed;
<?php
for ($counter = 10; $counter < 10;
$counter = $counter + 5){
echo “Hello”;
}
?>Concept: undefined >> undefined
PHP supports which types of looping techniques ______.
Concept: undefined >> undefined
Consider the following code
<? php
$count=12;
do{
printf(“%d squared=%d<br/>”,
$count, pow($count,2));
} while($count<4);
?>
What will be the output of the code.
Concept: undefined >> undefined
What will be the output of the following PHP code?
<?php
for ($x = 1; $x < 10;++$x)
{
print “*\t”;
}
?>Concept: undefined >> undefined
What will be the output of the following PHP code?
<?php
for ($x = -1; $x < 10;--$x)
{
print $x;
}
?>Concept: undefined >> undefined
Define Looping Structure in PHP.
Concept: undefined >> undefined
What is For each loop in PHP?
Concept: undefined >> undefined
List out Looping Structure in PHP.
Concept: undefined >> undefined
Write Syntax of For loop in PHP.
Concept: undefined >> undefined
Write Syntax of For each loop in PHP.
Concept: undefined >> undefined
