All India Exams
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.

PHP Basics Questions

Online Test Name PHP Basics
Exam Type Multiple Choice Questions
Category Computer Science Engineering Quiz
Number of Questions 26
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:

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

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

  • IT Courses Quiz

Questions and Answers

  • Aptitude Questions
  • Verbal Reasoning Questions
  • Non Verbal Reasoning
  • Logical Reasoning Questions
  • Data Sufficiency Questions
  • Data Interpretation
  • eLitmus Sample Papers
  • ECE Questions and Answers
  • EEE Questions and Answers
  • Verbal Ability Questions
  • GK Questions

Programming Quiz

  • C Programming
  • C++ Programming
  • PHP Programming
  • Java Programming
  • Python Programming
  • DataScience MCQ
  • Hadoop MCQ
  • Mongo DB MCQ
  • MySQL MCQ

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

Our Sites

AView.in

© by AllIndiaExams.in. All Rights Reserved | Copyright | Terms of Use & Privacy Policy