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 Creative Questions in Class 12 Computer Applications Subject - PHP Function and Array, 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.
Give the example for user-defined function?
2.
Give the example for parameterized function with two arguments?
3.
Write short note an parameterized function?
4.
What the important steps the programmer has to create for user defined functions?
5.
How does the function work? And what are the advantages of function in PHP?
6.
Write the advantages of functions.
7.
Write the rules for parameters.
8.
Differentiate Associate array and Multidimensional array.
1.
<?php
function insertMsg( )
{
echo "student details inserted Successfully!";
}
insertMsg( );
?>
2.
The following example has a function with two arguments (\(\$\)name and \(\$\)Strength):
function School_Name(\(\$\)snare,\(\$\)Strength) {
echo \(\$\)sname."in Tamilnadu and Student Strength is".\(\$\)Strength;
}
School-Name ("Government Higher Secondary School Madurai",200);
School-Name ("Government Higher Secondary School Thichy",300);
School-Name ("Govemment Higher Secondary School Chennai",250);
School-Name ("Government Higher Secondary School Kanchipuram"',100);
School-Name ("Government Higher Secondary School Tirunelveli",200);
?>
3.
(i) It is just like variables.
(ii) Parameter is also called as arguments.
(iii) Required information is shared between function declaration and function calling inside the Program.
(iv) Arguments are mentioned after the function name and inside the parenthesis.
(v) There is no limit for sending arguments and arguments are separated by comma.
4.
There are two important steps the programmer has to create for user defined functions. They are
(i) Function declaration;
(ii) Function calling.
Function Declaration begins with the keyword "function".
Syntax:
function functionName( )
{
list of code to be executed;
}
Function calling: Programmer has to make Function call inside the respective program.
Syntax:
functionName( );
5.
A function will be executed by a call to the Function and the function returns any data type values or NULL value to the called function in the part of respective program.
Advantages:
(i) Reducing duplication of the code.
(ii) Reuse of code.
(iii) Functions are information hiding.
(iv) It decomposes complex problems into simpler pieces.
6.
1. Reducing duplication of code
2. Decomposing complex problems into simpler pieces
3. Improving clarity of the code
4. Reuse of code
5. Information hiding
7.
1. PHP Parameterized functions are the functions with parameters or arguments.
2. The parameter is also called as arguments, it is like variables.
Rules:
1. The arguments are mentioned after the function name and inside of the parenthesis.
2. There is no limit for sending arguments, just separate them with a comma notation.
8.
| Associate array | Multidimensional array |
|---|---|
| Associative arrays are arrays that use named keys that you assign to them. | An array containing one or more arrays. |
| It storing data in a liner | Multi-dimensional arrays that are two, three, four, five, or more levels deep. |
| We can associate the name with each array element in PHP using = > symbol. | It can be represented in the form of a matrix which is represented by row * column. |
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