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: 19/09/2019
PHP Function and Array
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.
Define function calling?
2.
What is indexed array?
3.
What is Multi-Dimensional Array?
4.
What is associative array?
5.
Write array Syntax in PHP
6.
Define associative array.
7.
List out the types of array in PHP.
8.
Usage of Array in PHP.
9.
Define Array in PHP.
10.
Name any two predefined functions.
11.
What is parameterized Function?
12.
Define User defined Function.
13.
Define Function in PHP.
14.
What is the syntax for defining a function in PHP?
1.
A function declaration part will be executed by a call to the function. Programmer has to create Function Calling part inside the respective program.
SYNTAX:
function Name ( );
2.
The index can be assigned automatically in a collection of data set
3.
A multidimensional array is an array containing one or more arrays.
4.
Associative arrays are arrays that use named keys that you assign to them.
5.
array(key= >value,key= >value,key= >value,etc.);
key = Specifies the key (numeric or string value = Specifies the value
6.
Associative arrays are a key-value pair data structure.
Syntax:
array (key⇒ value, key ⇒ value, etc);
key ⇒ Specifies the key (numeric or string)
value ⇒ Specifies the value
7.
There are 3 types of array concepts in PHP.
(i) Indexed Arrays,
(ii) Associative Array and
(iii) Multi-Dimensional Array.
8.
1. The array() function is used to create an array.
2. In PHP,there are three types of arrays:
i). Indexed arrays - Arrays with numeric index
ii). Associative arrays - Arrays with named keys
iii). Multidimensional arrays - Arrays containing one or more arrays
9.
Array is a concept that stores more than one value of same data type in single array variable.
10.
PHP String Functions:
1. trim(): Removes whitespace or other characters from both sides of a string
2. strcmp():Compares two strings (case-sensitive) PHP Array Functions:
3. count():Counts elements in an array, or properties in an object
4. current(): Returns the current element in an array
11.
(i) Values can be passed from one function to another function thru parameters.
(ii) The parameter is also called as arguments, it is like variables.
(iii) The arguments are mentioned after the function name and inside of the parenthesis.
12.
It gives privilege to user to write their own specific operation inside of existing program module is called as User Defined Function.
13.
A function is a type of sub routine or procedure in a program. 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.
14.
Syntax
function functionName([parameter list])
{
// code to be executed
}
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