TN Online TestSamacheer Kalvi practice

12th Standard Computer Applications — PHP: Hypertext Preprocessor: Book Back MCQs with Answers & Explanations

Share this chapter: Telegram

Every Book Back multiple-choice question from PHP: Hypertext Preprocessor (12th Standard Computer Applications, Samacheer Kalvi) — each with the correct option highlighted and a clear, worked explanation. Free to read in English and Tamil.

Answer key at a glance

Q1
The expansion of PHP is _________
  • A. PHP: Hypertext PreprocessorCorrect
  • B. Personal Hypertext Preprocessor
  • C. Pretext Home page
  • D. Preprocessor Home Page
Explanation. PHP stands for PHP: Hypertext Preprocessor, which is a widely-used open source server-side scripting language.
Q2
What is the extension of PHP file?
  • A. .html
  • B. .xml
  • C. .phpCorrect
  • D. .ph
Explanation. PHP files must be saved with a .php extension to be recognized and executed by the web server's PHP interpreter.
Q3
The PHP script should start with _________
  • A. Correct
  • B.
  • C.
  • D. <:?
Explanation. PHP default tags begin with to enclose the PHP code.
Q4
How many data types does PHP support?
  • A. 18
  • B. 28
  • C. 8Correct
  • D. 38
Explanation. PHP supports eight primitive data types: Integer, Float, String, Boolean, Array, Object, Resource, and NULL.
Q5
Every variable name in PHP must begin with a _________ symbol.
  • A. #
  • B. //
  • C. \$Correct
  • D. <
Explanation. In PHP, variable names are denoted by a dollar sign (\$) followed by the name of the variable.
Q6
_________ in PHP are case - sensitive.
  • A. variable namesCorrect
  • B. keywords
  • C. Variable names and keywords
  • D. None of the above
Explanation. Variable names in PHP are case-sensitive, whereas keywords, class names, and function names are case-insensitive.
Q7
The assignment operator is ___________
  • A. =Correct
  • B. ==
  • C. ===
  • D. !=
Explanation. The single equal sign (=) is the assignment operator in PHP used to assign values to variables.
Q8
_________ operators perform an action to compare two values.
  • A. arithmetic
  • B. comparisonCorrect
  • C. increment
  • D. logical
Explanation. Comparison operators are used to compare two values and evaluate whether the condition is true or false.
Q9
Which operator is called "identical"?
  • A. =
  • B. ==
  • C. ===Correct
  • D. <>
Explanation. The triple equal sign (===) is the identical operator, which returns true if values are equal and of the same type.
Q10
_________ is a data type which contains decimal numbers.
  • A. Integer
  • B. FloatCorrect
  • C. Boolean
  • D. NULL
Explanation. A float, or double, is a PHP data type specifically used to represent decimal or fractional numbers.
Take the Book Back practice test → Open the app

More for this chapter

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

About these PHP: Hypertext Preprocessor questions

These are the Book Back multiple-choice questions for PHP: Hypertext Preprocessor from the Tamil Nadu State Board (Samacheer Kalvi) 12th Standard Computer Applications syllabus. Each question shows the correct option and an original, step-by-step explanation so you understand the method, not just the answer. Use the answer key above to jump to any question, then take the practice test to check yourself under exam-like conditions.

Frequently asked questions

How many MCQs are there in PHP: Hypertext Preprocessor?

This chapter has 10 book-back multiple-choice questions, each with the correct answer and a step-by-step explanation.

Are these 12th Standard Computer Applications MCQs free to practise online?

Yes. Every question, answer and explanation here is free, and you can also take them as a timed practice test.

Where can I find the PHP: Hypertext Preprocessor book-back answers?

The correct option for each question is highlighted on this page with a worked explanation, plus a quick answer-key summary at the top.

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