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: 05/09/2022
QB365 provides a detailed and simple solution for every Possible Book Back Questions in Class 12 Computer Applications Subject -PHP Conditional Statements, English Medium. It will help Students to get more practice questions, Students can Practice these question papers in addition to score best marks.
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.
Differentiate if statement and if elseif else statement.
2.
Write Short notes on Switch statement
3.
Differentiate Switch and if else statement.
4.
What is the purpose of if... elseif else statement?
5.
Write the features Conditional Statements in PHP.
1.
| No. | if elseif else statement | if statement |
| 1 | If-elseif-else statement is a combination of if-else statement. | If statement executes a single statement |
| 2 | More than one statement can execute the condition based on user needs | Only one statement can execute |
| 3 | If the condition if false more alternatives are there. | If the condition is false, there is no alternative. |
2.
(i) The switch-case statement is an alternative to if... elseif... else statement which does almost the same thing.
(ii) The switch-case statement tests a variable against a series of values until it finds a match, and then executes the block of code corresponding to that match.
(iii) The switch statement executes line by line, unlike if... elseif...else.
(iv) It also executes all the subsequent case statement till the end of the switch block automatically.
(v) To prevent this add a break statement to the end of each case block.
3.
| Switch Statement | If else statement |
|---|---|
| Switch statement uses single expression for multiple choices. | if-else statement uses multiple statement for multiple choices. |
| It test only for equality. | It test for equality as well as for logical expression. |
| Statement will be executed is decided by user. | Evaluates any type |
| If switch statements does not match any cases, the default statements is executed. | If the condition fails, then by default the else statement is executed. |
4.
(i) In if...else if...else statements, more than one block of statement can execute based on the condition and user needs.
(ii) If we want to check for another condition in the else part, choose if... elseif ... else statement
(iii) Unlike else, it will execute that alternative expression only if the elseif conditional expression evaluates to "True value.
5.
(i) Conditional statements are useful for writing decision making logics. It is the most important feature of many programming languages, including PHP.
(ii) When we write the code for conditional statements very often, we can perform different actions for different decisions in different business logic.
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