TN Online TestSamacheer Kalvi practice

PHP: Hypertext Preprocessor One Mark Online Test (12th Standard Computer Applications)

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?
Q25
How can you output multiple variables in a single echo statement without concatenation in PHP?

More for this chapter

Book Back Questions10 textbook MCQs · solved Additional MCQs15 extra MCQs · solved Book Back TestTest yourself on the textbook set Additional MCQ TestTest yourself on the extra set Study NotesConcepts & methods Formula SheetAll key formulas

About this PHP: Hypertext Preprocessor test

This free online practice test covers PHP: Hypertext Preprocessor from the 12th Standard Computer Applications (Samacheer Kalvi) syllabus. Choose the number of questions and an optional time limit, then answer and submit — everything is checked in your browser, with the correct answers and a worked explanation shown at the end. For the full solutions to every question in this set, see the solved MCQs page.

More chapters in Computer Applications

View all
1 Multimedia 2 An Introduction to Adobe PageMaker 3 Introduction to Database Management System 5 Functions and Arrays in PHP 6 Conditional Statements in PHP 7 Loops in PHP 8 Forms and Files 9 Connecting PHP and MYSQL 10 Introduction to Computer Networks 11 Network Examples and Protocols 12 Domain Name System (DNS) 13 Network Cabling 14 Open Source Concepts 15 E-Commerce 16 Electronic Payment Systems 17 E-Commerce Security Systems 18 Electronic Data Interchange (EDI)