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: 27/08/2019
PHP Conditional Statements
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 + \($\)y != 3)
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
\($\)a = “”;
if (\($\)a)
print “all”;
else
print “some”;
? >
all
some
error
no output
4.
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
5.
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
6.
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
7.
Switch case statement
8.
If elseif else statement
9.
If-else statement
10.
Simple if statements
1.
(b)
hi
2.
(b)
hi
3.
(b)
some
4.
(b)
if else statement
5.
(d)
how are u
6.
(a)
how are u
7.
Alternative statement
8.
Only one option
9.
Combination of if-else statement
10.
Multiple branching
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