TN Online TestSamacheer Kalvi practice

12th Standard Computer Applications — PHP: Hypertext Preprocessor: Online Practice Test

Share this chapter: Telegram

Pick how many questions you want and set a time limit, then start. You'll get your score at the end with the correct answer and an explanation for every question. Free, in Tamil and English — 25 questions available.

Set up your test

Time remaining00:00
Q1
The expansion of PHP is _________
Q2
What is the extension of PHP file?
Q3
The PHP script should start with _________
Q4
How many data types does PHP support?
Q5
Every variable name in PHP must begin with a _________ symbol.
Q6
_________ in PHP are case - sensitive.
Q7
The assignment operator is ___________
Q8
_________ operators perform an action to compare two values.
Q9
Which operator is called "identical"?
Q10
_________ is a data type which contains decimal numbers.
Q11
Who created the PHP scripting language in 1994?
Q12
Which of the following describes why PHP is classified as an interpreted language?
Q13
Which of the following is an invalid variable name in PHP because it contains an illegal special character?
Q14
If a PHP script declares \$name = "Balu"; and later attempts to output \$Name, what will occur?
Q15
Which PHP data type represents a connection to an external database or file?
Q16
Which of the following is true regarding the case sensitivity of the NULL keyword in PHP?
Q17
Which of the following statements is true about using parentheses with the PHP echo statement?
Q18
To safely output a string of text that contains a single quote using the echo statement, which of the following is recommended?
Q19
If you compare 5 === 5.0 in PHP, what is the returned result and why?
Q20
How does the logical XOR operator work in PHP?
Q21
In PHP, what is the behavior of the post-increment operator (\$a++)?
Q22
Which of the following is the string concatenation operator in PHP?
Q23
Where are PHP scripts executed in a typical web application setup?
Q24
Which of the following can be used to initiate a single-line comment in PHP?