12th Standard Syllabus & Materials
12th Standard
TN 12th English Poem - 6 - Incident of the French Camp Sample Question Papers Study Material - QB365 Set A
NEW12th Standard
TN 12th English Prose - 6 - On the Rule of the Road Sample Question Papers Study Material - QB365 Set A
NEW12th Standard
TN 12th English Prose - 5 - The Chair Sample Question Papers Study Material - QB365 Set A
NEW12th Standard
TN 12th English Supplementary - 4 - The Midnight Visitor Sample Question Papers Study Material - QB365 Set A
NEW12th Standard
TN 12th English Poem - 4 - Ulysses Sample Question Papers Study Material - QB365 Set A
NEW12th Standard
TN 12th English Prose - 4 - The Summit 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 English Supplementary - 3 - The Hour of Truth (Play) Sample Question Papers Study Material - QB365 Set A
NEW12th Standard
TN 12th English Poem - 3 - All the World’s a Stage Sample Question Papers Study Material - QB365 Set A
NEW12th Standard
TN 12th English Prose - 3 - In Celebration of Being Alive Sample Question Papers Study Material - QB365 Set A
NEW12th Standard
TN 12th English Supplementary - 2 - Life of Pi 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