Professional Documents
Culture Documents
COMPUTER APPLICATION
Standard: 12
Duration: 1:30 Hours Marks: 50
PART -I
Choose the correct answer 10x1 =10
1. which one of the following should not be used while sending passwords or other sensitive information?
(a) GET (b) POST (c) REQUEST (d) NEXT
2. How many parameters are required for MYSQLi connect function in PHP?
(a) 2 (b) 3 (c) 4 (d) 5
3. What will be displayed in a browser when the following PHP code is executed?
<? Php
For ($i=1; $i<=5; i++)
{
Echo “$i”:
}
?>
(a) 1234 (b) 12345 (c)123 (d) None of the above
6. What will be displayed in a browser when the following PHP code is executed?
<? Php
For ($ counter =0; $ countr <=5; $counter ++)
{
Echo “Hello”;
}
?>
(a) Hello Hello Hello (b) Hello (c)Hello Hello Hello Hello Hello Hello (d) None of the above
7. When you use the $_GET variable to collect data, the data is visible to ________
(a) None (b) Only You (c) Every One (d) selected few
PART –IV
Answer the following in detail 3x5=15
25. Discuss in detail about For each loop. (OR)
Explain the Process of Do…While Loop.
*************************************