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 PHP Conditional Statements 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 the output of the following PHP code ?
< ?php
if (-100)
print “hi” ;
else
print “how are u”;
? >
how are u
hi
error
no output
2.
What will be the output of the following PHP code ?
< ?php
\($\)x = 10;
\($\)y = 20;
if (\($\)x > \($\)y && 1||1)
print “hi” ;
else
print “how are u”;
? >
how are u
hi
error
no output
3.
What will be the output of the following PHP code ?
< ?php
\($\)x = 10;
\($\)y = 20;
if (\($\)x > \($\)y + \($\)y != 3)
print “hi” ;
else
print “how are u”;
? >
how are u
hi
error
no output
4.
What will be the output of the following PHP code ?
< ?php
\($\)a = “”;
if (\($\)a)
print “all”;
else
print “some”;
? >
all
some
error
no output
5.
What will be the output of the following PHP code ?
< ?php
\($\) a = “”;
if (\($\)a)
print “all”;
if______
else
print “some”;
? >
all
some
error
no output
6.
Statement which is used to make choice between two options and only option is to be performed is written as
if statement
if else statement
then else statement
else one statement
7.
What will be the output of the following PHP code ?
< ?php
\($\)x;
if (\($\)x == 0)
print “hi” ;
else
print “how are u”;
print “hello”
? >
how are uhello
hihello
hi
no output
8.
What will be the output of the following PHP code ?
< ?php
\($\) x = 0;
if (\($\)x++)
print “hi”;
else
print “how are u”;
? >
hi
no output
error
how are u
9.
What will be the output of the following PHP code?
< ? php
\($\) x;
if (\($\)x)
print “hi” ;
else
print “how are u”;
? >
how are u
hi
error
no output
1.
(b)
hi
2.
(b)
hi
3.
(b)
hi
4.
(b)
some
5.
(b)
some
6.
(b)
if else statement
7.
(b)
hihello
8.
(d)
how are u
9.
(a)
how are u
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