Plus Two / 12th Computer Applications - Book Back Answers - Chapter 5 - English Medium
Chapter 5: Functions and Arrays in PHP
Tamil Nadu Board 12th Standard Computer Applications - Chapter 5: Book Back Answers and Solutions
This post covers the book back answers and solutions for Chapter 5 from the Tamil Nadu State Board 12th Standard Computer Applications textbook. These detailed answers have been carefully prepared by our expert teachers at KalviTips.com.
We have explained each answer in a simple, easy-to-understand format, highlighting important points step by step under the relevant subtopics. Students are advised to read and memorize these subtopics thoroughly. Once you understand the main concepts, you’ll be able to connect other related points with real-life examples and confidently present them in your tests and exams.
By going through this material, you’ll gain a strong understanding of Chapter 5 along with the corresponding book back questions and answers (PDF format).
Question Types Covered:
- 1 Mark Questions: Choose the correct answer, Fill in the blanks, Identify the correct statement, Match the following
- 2 Mark Questions: Answer briefly
- 3, 4, and 5 Mark Questions: Answer in detail
All answers are presented in a clear and student-friendly manner, focusing on key points to help you score full marks.
All the best, Class 12 students! Prepare well and aim for top scores. Thank you!
Chapter 5: Functions and Arrays in PHP
I. Choose the correct answer.
1. A_________is a block of code that performs a specific task.
a) parameter
b) function
c) class
d) label
Answer Key:
b) function
2. Pre-defined functions are also called _________.
a) user-defined functions
b) recursive functions
c) built-in functions
d) lambda functions
Answer Key:
c) built-in functions
3. Which one of the following is the right way of defining a function in PHP?
a) function functionname() { // code to be executed }
b) function() {}
c) def myFunction():
d) None of the above
Answer Key:
a) function functionname() { // code to be executed }
4. A user-defined function in PHP starts with the keyword _________.
a) function
b) def
c) defined
d) funct
Answer Key:
a) function
5. Which of the following is a correct way to call a function in PHP?
a) functionName();
b) call functionName;
c) execute functionName;
d) run functionName();
Answer Key:
a) functionName();
6. What is an array in PHP?
a) An array is a special data type.
b) It can hold many values under a single variable name.
c) An array element can be any type of data.
d) All of the above
Answer Key:
d) All of the above
7. How many types of arrays are there in PHP?
a) 2
b) 3
c) 4
d) 5
Answer Key:
b) 3
8. What is the index of the first element in an indexed array in PHP?
a) 0
b) 1
c) 2
d) 3
Answer Key:
a) 0
9. What is the index of the third element in an indexed array in PHP with 5 elements?
a) 2
b) 3
c) 4
d) 5
Answer Key:
a) 2
10. How do you create an indexed array in PHP?
a) By enclosing a comma-separated list of values in square brackets
b) By using the array() function
c) By enclosing a comma-separated list of values in curly braces
d) Both A and B
Answer Key:
d) Both A and B
11. How do you access the elements of an indexed array in PHP?
a) By using the array index in square brackets
b) By using the array key in square brackets
c) By using the array index in curly braces
d) By using the array key in curly braces
Answer Key:
a) By using the array index in square brackets
II.Answer the following questions.
12th Computer Application (soon)
III. Answer the following questions.
12th Computer Application (Soon)
IV. Answer the following questions.
12th Computer Application (Soon)








0 Comments:
Post a Comment