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 with Answer Key 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.
________ loops execute a block of code a specified number of times.
foreach
for
while
do..while
3.
Which of the following is an entry check loop?
foreach
for
while
do..while
4.
Which of the following is an exit check loop?
foreach
for
while
do..while
5.
What will be the output of the following PHP code ?
< ?php
for (\($\)x = -1; \($\)x < 10;--\($\)x)
{
print \($\)x;
}
? >
123456713910412
123456713910
1234567139104
Infinite loop
6.
What will be the output of the following PHP code ?
< ?php
for (\($\)x = 1; \($\)x < 10;++\($\)x)
{
print “*\t”;
}
? >
**********
*********
***********
Infinite loop
7.
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
8.
PHP supports which types of looping techniques;
for loop
while loop
foreach loop
all the above
9.
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”;
? >
Welcome to Tamilnadu
Counter is: 20
Welcome to Tamilnadu Counter is: 22
Welcome to Tamilnadu Welcome to Tamilnadu Counter is: 22
10.
Loops that iterate for fixed number of times is called
Unbounded loops
Bounded loops
While loops
For loops
1.
(a)
12345
2.
(b)
for
3.
(d)
do..while
4.
(d)
do..while
5.
(d)
Infinite loop
6.
(b)
*********
7.
(b)
12 squared=141
8.
(d)
all the above
9.
(b)
Counter is: 20
10.
(b)
Bounded loops
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