Page 1 of 1

1. What will be displayed by following statement? printf("%.2f", 2.345); 2.345 2.34 2.35 None of the above 2. What is th

Posted: Sun May 15, 2022 10:07 am
by answerhappygod
1. What will be displayed by following statement?
printf("%.2f", 2.345);
2.345
2.34
2.35
None of the above
2. What is the CSS selector of a class, e.g., <div
class=”test”>?
A period (.)
A sharp (#)
div
None of the above
3. When mixing PHP statements in an HTML file, we can use which
of the following extension for the document file?
php
html
htm
phphtml
4. What will be displayed with the following PHP statements?
$a = “Test”;
echo ‘This is a $a’;
This is a $a
This is a Test
This is a test