- A. Modularity
- B. Testing and debuggingCorrect
- C. Code reuse
- D. Polymorphism
12th Standard Computer Applications — Functions and Arrays in PHP: Additional MCQs with Answers & Explanations
15 extra multiple-choice questions for Functions and Arrays 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. User-defined function names are completely case-sensitive.
- B. Only the first letter of the function name is case-sensitive.
- C. User-defined function names are not case-sensitive.Correct
- D. Only functions containing numbers are case-sensitive.
- A. A dollar sign (\$) or a number
- B. A letter or an underscoreCorrect
- C. A number or a special symbol
- D. A semicolon (;) or an asterisk (*)
- A. Arguments are used in the function definition, while parameters are used in the function call.
- B. Parameters are used in the function definition, while arguments are used in the function call.Correct
- C. Parameters must be strings, while arguments must be numeric values.
- D. Arguments are always optional, while parameters are always mandatory.
- A. Traditional languages allow any data types, whereas PHP restricts arrays to only one data type.
- B. PHP does not require all elements in an array to be of the same data type, unlike traditional languages.Correct
- C. PHP arrays can only store integer types, while traditional languages support mixed types.
- D. Both PHP and traditional languages strictly forbid mixed data types in arrays.
- A. Indexes
- B. Parameters
- C. LabelsCorrect
- D. Nodes
- A. #
- B. &
- C. \$Correct
- D. _
- A. ->
- B. =>Correct
- C. =
- D. ::
- A. Column and Row
- B. Key and Value
- C. Row and ColumnCorrect
- D. Index and Label
- A. Indexed array
- B. Nested arrayCorrect
- C. Linear array
- D. Flat array
- A. name
- B. Barath
- C. age
- D. 23Correct
- A. \$colors = { "red", "green", "blue" };
- B. \$colors = array("red", "green", "blue");Correct
- C. \$colors = ( "red", "green", "blue" );
- D. \$colors = "red" . "green" . "blue";
- A. def
- B. funct
- C. functionCorrect
- D. define
- A. It allows code to be executed faster on the browser side.
- B. It breaks down the code into smaller, manageable pieces that are easier to maintain.Correct
- C. It encrypts the database connection string automatically.
- D. It converts PHP code directly into native machine code.
- A. 2
- B. 5
- C. 6Correct
- D. 8
More for this chapter
About these Functions and Arrays in PHP questions
These are the Additional multiple-choice questions for Functions and Arrays 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 Functions and Arrays 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 Functions and Arrays 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.