12th Standard Syllabus & Materials
12th Standard
TN 12th Computer Applications மின்னணு தரவு பரிமாற்றம் Sample Question Papers Study Material - QB365 Set A
NEW12th Standard
TN 12th Computer Applications மின் - வணிக பாதுகாப்பு அமைப்புகள் Sample Question Papers Study Material - QB365 Set A
NEW12th Standard
TN 12th Computer Applications மின்னணு செலுத்தல் முறைகள் Sample Question Papers Study Material - QB365 Set A
NEW12th Standard
TN 12th Computer Applications மின் - வணிகம் Sample Question Papers Study Material - QB365 Set A
NEW12th Standard
TN 12th Computer Applications திறந்த மூல கருத்துருக்கள் Sample Question Papers Study Material - QB365 Set A
NEW12th Standard
TN 12th Computer Applications வலையமைப்பு வடமிடல் Sample Question Papers Study Material - QB365 Set A

Published on: 09/11/2020
12th Standard Computer Applications Looping Structure English Medium Free Online Test One Mark Questions 2020 - 2021
Download Tamil Nadu 12th Standard Computer Applications question papers, model tests, one-mark questions, important questions, and public exam papers in PDF format. Free study materials and answer keys for TN State Board students.
Questions + Answers key
Take MCQ Computer Applications Test

1.
What will be displayed in a browser when the following PHP code is executed:
< ?php
for ($i=1;$i<=5; $i++)
{
echo "$i";
}
? >
12345
1234
123
None of the above
2.
Which of the following is an entry check loop?
foreach
for
while
do..while
3.
The ________ construct provides an easy way to iterate over arrays
foreach
for
while
do..while
4.
What will be the output of the following PHP code ?
< ?php
for (\($\)x = -1; \($\)x < 10;--\($\)x)
{
print \($\)x;
}
? >
123456713910412
123456713910
1234567139104
Infinite loop
5.
What will be the output of the following PHP code ?
< ?php
for (\($\)x = 1; \($\)x < 10;++\($\)x)
{
print “*\t”;
}
? >
**********
*********
***********
Infinite loop
6.
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
12 squared 141
12 squared=141
“12 squared=141”
Execution error
7.
PHP supports which types of looping techniques;
for loop
while loop
foreach loop
all the above
8.
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”;
}
? >
Hello Hello Hello Hello Hello
Hello Hello Hello
Hello
None of the above
9.
Which loop evaluates condition expression as Boolean, if it is true, it executes statements and when it is false it will terminate?
For loop
For each loop
While loop
All of them
10.
Most complicated looping structure in PHP is ________
While
Do While
for
None of them
1.
(a)
12345
2.
(d)
do..while
3.
(a)
foreach
4.
(d)
Infinite loop
5.
(b)
*********
6.
(b)
12 squared=141
7.
(d)
all the above
8.
(d)
None of the above
9.
(c)
While loop
10.
(c)
for
12th Standard Syllabus & Materials
12th Standard
TN 12th Computer Applications களப்பெயர் முறைமை (DNS) Sample Question Papers Study Material - QB365 Set A
NEW12th Standard
TN 12th Computer Applications வலையமைப்பு எடுத்துக்காட்டுகள் மற்றும் நெறிமுறைகள் Sample Question Papers Study Material - QB365 Set A
NEW12th Standard
TN 12th Computer Applications கணினி வலையமைப்பு ஓர் அறிமுகம் Sample Question Papers Study Material - QB365 Set A
NEW12th Standard
TN 12th Computer Applications PHP-உடன் MySQL-ஐ இணைத்தல் Sample Question Papers Study Material - QB365 Set A
Tamilnadu Stateboard 12th Standard Subjects

Maths

Chemistry

Physics

Biology

Computer Science

Business Maths and Statistics

Economics

Commerce

Accountancy

History

Computer Applications

Biology

Computer Technology

Computer Applications

Computer Science

Business Maths and Statistics

Commerce

Economics

Maths

Chemistry

Physics

Computer Technology

History

Accountancy

Tamil

English

French
Tamilnadu Stateboard Standards