All India Exams
  • Sign In / Register Sign In
Home AptitudeBankEngineeringEnglishGKInterviewOnline TestPlacement PapersReasoning
  • Home
  • Aptitude
  • Bank
  • Engineering
  • English
  • GK
  • Interview
  • Online Test
  • Placement Papers
  • Reasoning

PHP Basics Questions And Answers

Here you can find PHP Basics Questions and Answers.

Why PHP Basics Questions and Answers Required?

In this PHP Basics Questions and Answers section you can learn and practice PHP Basics Questions and Answers to improve your skills in order to face technical inerview conducted by organisations. By Practicing these interview questions, you can easily crack any Exams interview.

Where can I get PHP Basics Questions and Answers?

AllIndiaExams provides you lots PHP Basics Questions and Answers with proper explanation. Fully solved examples with detailed answer description. All students, freshers can download PHP Basics Questions and Answers as PDF files and eBooks.

How to solve these PHP Basics Questions and Answers?

You no need to worry, we have given lots of PHP Basics Questions and Answers and also we have provided lots of FAQ's to quickly answer the questions in the Competitive Exams interview.

PHP Basics Questions & Answers

1. What does PHP stand for? i) Personal Home Page ii) Hypertext Preprocessor iii) Pretext Hypertext Processor iv) Preprocessor Home Page

PHP Basics Questions & Answers

2. Who is the father of PHP?

PHP Basics Questions & Answers

3. PHP files have a default file extension of.

PHP Basics Questions & Answers

4. A PHP script should start with ___ and end with ___:

PHP Basics Questions & Answers

5. Which of the looping statements is/are supported by PHP? i) for loop ii) while loop iii) do-while loop iv) foreach loop

PHP Basics Questions & Answers

6. Which of the following is/are a PHP code editor? ditor? i) Notepad ii) Notepad++ iii) Adobe Dreamweaver iv) PDT

PHP Basics Questions & Answers

7. Which of the following must be installed on your computer so as to run PHP script? i) Adobe Dreamweaver ii) PHP iii) Apache iv) IIS

PHP Basics Questions & Answers

8. Which version of PHP introduced Try/catch Exception?

PHP Basics Questions & Answers

9. We can use ___ to comment a single line? i) /? ii) // iii) # iv) /* */

PHP Basics Questions & Answers

10. Which of the below symbols is a newline character?

Home EngineeringComputer Science & EngineeringPHP Questions and AnswersPHP Basics

PHP Basics Questions and Answers

This is the questions and answers section on "PHP Basics" with the explanation for various interview, competitive examination and entrance test. Solved examples with detailed answer description, explanation are given and it would be easy to understand. Are you failing to answer the PHP Basics Questions at the time of interviews? If your answer is yes, then refer to this article. We have provided the PHP Basics Online Test which includes the multiple choice questions and answers. By taking part in the PHP Basics Quiz, the aspirants can know how to answer the questions at the time of the examination. So, the contenders can move to the below sections and practice the PHP Basics Interview Questions. We have provided the PHP Basics Interview Questions and Answers for experienced and freshers students in this article. With the help of this post, the individuals can gather the PHP Programming Interview Questions.



PHP Basics Questions - PHP Basics Quiz Details

Online Test Name PHP Basics
Exam Type Multiple Choice Questions
Category Computer Science Engineering Quiz
Number of Questions 26


The PHP Hypertext Preprocessor is a programming language that allows the web developers to create dynamic content that interacts with databases. It is used for developing the web-based software applications. The provided PHP Basics Questions will help the applicants to improve the programming skills of the PHP. So, all the competitors need to participate in the PHP Basics Mock Test and collect the various number of questions along with the answers. From the above table, the candidates can get the data about the PHP Basics Quiz.



PHP Basics Multiple Choice Questions

To score high in the PHP section, the aspirants need to start the preparation from the PHP Basics. So, on this page, we have provided the PHP Basics Online Test for the sake of contenders. The competitors who are interested in knowing about the PHP programming can check out this post. With the help of the PHP Basics Quiz, the hopefuls can understand the various kinds of questions and answers along with the explanations. Moreover, aspirants can check our web portal @ Allindiaexams.in to practice more online tests related to the Computer Science Engineering Quiz.

PHP Basics MCQ Quiz Answers with Solutions

Click on the View Answer tab to check which is the right option among the given alternatives along with the explanation. In addition to this, the applicants can use the workspace provided to do the correct logic related to the PHP Basics Questions. If the candidates opt the right choice for the given question then it will turn to green in color. Finally, All the Best to the Aspirants who are preparing for the various interviews and examinations.


1. What does PHP stand for?
i) Personal Home Page
ii) Hypertext Preprocessor
iii) Pretext Hypertext Processor
iv) Preprocessor Home Page
  • A. Both (i) and (ii)
  • B. Both (ii) and (iv)
  • C. Only (ii)
  • D. Both (i) and (iii)
  • View Answer
  • Workspace
  • Report
  • Discuss

Answer & Explanation

Answer: Option A

Explanation:

PHP previously stood for Personal Home Page now stands for Hypertext Preprocessor.

Workspace

Report Error


2. Who is the father of PHP?
  • A. Rasmus Lerdorf
  • B. Willam Makepiece
  • C. Drek Kolkevi
  • D. List Barely
  • View Answer
  • Workspace
  • Report
  • Discuss

Answer & Explanation

Answer: Option A

Explanation:

Rasmus Lerdorf

Workspace

Report Error


3. PHP files have a default file extension of.
  • A. .html
  • B. .xml
  • C. .php
  • D. .ph
  • View Answer
  • Workspace
  • Report
  • Discuss

Answer & Explanation

Answer: Option C

Explanation:

.php

Workspace

Report Error


4. A PHP script should start with ___ and end with ___:
  • A.
    < php >
    
  • B.
    < ? php ?>
    
  • C.
    < ? ? >
    
  • D.
    < ?php ? >
    
  • View Answer
  • Workspace
  • Report
  • Discuss

Answer & Explanation

Answer: Option D

Explanation:

Every section of PHP code starts and ends by turning on and off PHP tags to let the server know that it needs to execute the PHP in between them.

Workspace

Report Error


5. Which of the looping statements is/are supported by PHP?
i) for loop
ii) while loop
iii) do-while loop
iv) foreach loop
  • A. (i) and (ii)
  • B. (i), (ii) and (iii)
  • C. All of the mentioned
  • D. None of the mentioned
  • View Answer
  • Workspace
  • Report
  • Discuss

Answer & Explanation

Answer: Option C

Explanation:

All of the mentioned

Workspace

Report Error


  • «
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • »

Related Topics:

  • Arrays
  • Object Oriented PHP
  • Variables
  • HTML Forms
  • Functions
  • MySQL Basics
  • Strings & Regular Expressions
  • Exception Handling

Mock Tests & Online Quizzes

  • Aptitude Online Test

  • Reasoning Online Test

  • GK Online Test

  • English Online Test

  • RRB Mock Test

  • RBI Mock Test

  • Free SBI Mock Test

  • IBPS Mock Test FREE

  • SSC Mock Test

  • CAT Exam Mock Test

  • GATE Mock Test

  • LIC Mock Test Series

  • MAT Mock Test

  • SEBI Mock Test

  • ESIC Mock Test

  • IT Courses Quiz

Newsletter

Contact Us

Questions and Answers

  • Aptitude Questions
  • Verbal Reasoning Questions
  • Non Verbal Reasoning Questions
  • Logical Reasoning Questions
  • Data Sufficiency Questions
  • Data Interpretation Questions
  • C Programming
  • C++ Programming
  • PHP Programming
  • Java Programming
  • eLitmus Sample Papers
  • ECE Questions and Answers
  • EEE Questions and Answers
  • Verbal Ability Questions
  • GK Questions
  • AMCAT Mock Online Test
  • LIC Mock Test
  • IBPS Mock Test

Interview Questions

  • Java Interview Questions
  • .Net Interview Questions
  • Networking Interview Questions
  • C Language Interview Questions
  • C++ Interview Questions
  • Testing Interview Questions
  • Android Interview Questions
  • HR Interview Questions
  • Group Discussion Topics
  • iOS Interview Questions
  • Web Technologies
  • Database Interview Questions
  • MS Office Interview Questions
  • Software Tools
  • Data Interpretation
  • PHP Interview Questions
  • CAT Mock Test
  • SSC Mock Test
© by AllIndiaExams.in. All Rights Reserved | Copyright | Terms of Use & Privacy Policy