- A. Parentheses ( )
- B. Curly braces { }Correct
- C. Square brackets [ ]
- D. Angle brackets < >
12th Standard Computer Applications — Conditional Statements in PHP: Additional MCQs with Answers & Explanations
15 extra multiple-choice questions for Conditional Statements in PHP (12th Standard Computer Applications, Samacheer Kalvi), beyond the ones printed in the textbook — each with the correct option highlighted and a clear, worked explanation. Free to read in English and Tamil.
- A. It must be enclosed in curly braces.
- B. It must be enclosed in parentheses.Correct
- C. It must be terminated with a colon.
- D. It must be enclosed in square brackets.
- A. else_if
- B. else ifCorrect
- C. else-if
- D. elsif
- A. The program will throw a compiler error immediately.
- B. The execution will stop and the switch statement will exit.
- C. The execution will continue to run the code of subsequent cases until a break is encountered.Correct
- D. The default case block will be executed immediately.
- A. Input statements and Output statements
- B. Conditional statements and Looping statementsCorrect
- C. Database queries and File handling functions
- D. Function declarations and Array definitions
- A. System functions
- B. Connection strings
- C. Control statementsCorrect
- D. SQL commands
- A. The True-block
- B. The default block
- C. The False-blockCorrect
- D. The switch block
- A. It must always be placed at the very beginning of the switch statement.
- B. It is optional and will execute if none of the case values match the expression.Correct
- C. It is mandatory and the script will fail to execute if it is omitted.
- D. It is used to terminate each case block instead of the break statement.
- A. Begins with 'elseif' and ends with 'else'
- B. Begins with 'if' and ends with 'elseif'
- C. Begins with 'if' and ends with 'else'Correct
- D. Begins with 'switch' and ends with 'default'
- A. 'if' statement
- B. 'if...else' statement
- C. 'switch' statementCorrect
- D. 'while' statement
- A. The program exits with an execution error.
- B. The code inside the curly braces is completely skipped.Correct
- C. The program prompts the user to enter a new value.
- D. The subsequent block is executed repeatedly.
- A. All blocks whose conditions are true
- B. Exactly two blocks of code
- C. Only one block of codeCorrect
- D. None of the blocks of code
- A. The break keyword
- B. The expression or variableCorrect
- C. The default label
- D. The curly brace
- A. Exactly one
- B. At most three
- C. One or moreCorrect
- D. None
- A. Statements are always executed in a strictly sequential order.
- B. Statements must never execute based on conditions.
- C. Flow of control can jump from one part of a script to another using control structures.Correct
- D. Script statements always execute in reverse order.
More for this chapter
About these Conditional Statements in PHP questions
These are the Additional multiple-choice questions for Conditional Statements in PHP from the Tamil Nadu State Board (Samacheer Kalvi) 12th Standard Computer Applications syllabus. Each question shows the correct option and an original, step-by-step explanation so you understand the method, not just the answer. Use the answer key above to jump to any question, then take the practice test to check yourself under exam-like conditions.
Frequently asked questions
How many MCQs are there in Conditional Statements in PHP?
This chapter has 15 book-back multiple-choice questions, each with the correct answer and a step-by-step explanation.
Are these 12th Standard Computer Applications MCQs free to practise online?
Yes. Every question, answer and explanation here is free, and you can also take them as a timed practice test.
Where can I find the Conditional Statements in PHP book-back answers?
The correct option for each question is highlighted on this page with a worked explanation, plus a quick answer-key summary at the top.