Home Programming Kids Programming Hardware & Software Hardware & Networking APP security Software Education Kids Study MCQS Download OTHERS Login

PHP MCQ Questions with Answer for Fresher

Categories: MCQS

PHP MCQ Questions with Answer for Fresher

 

1) PHP represents -

  1. Hypertext Preprocessor
  2. Appearance Hypertext Preprocessor
  3. Individual Home Processor
  4. Nothing unless there are other options

Reply: (a) Hypertext Preprocessor

 

2) Who is known as the dad of PHP?

  1. Drek Kolkevi
  2. List Scarcely
  3. Rasmus Lerdrof
  4. Nothing unless there are other options

Reply: (c) Rasmus Lerdrof

 

3) Variable name in PHP begins with -

  1. ! (Interjection)
  2. $ (Dollar)
  3. & (Ampersand)
  4. # (Hash)

Reply: (b) $ (Dollar)

 

4) Which of coming up next is the default record expansion of PHP?

  1. .php
  2. .hphp
  3. .xml
  4. .html

Reply: (a) php

 

5) Which of coming up next is definitely not a variable extension in PHP?

  1. Extern
  2. Nearby
  3. Static
  4. Worldwide

Reply: (a) Extern

 

6) Which of coming up next is right to add a remark in php?

  1. & …… &
  2. // ……
  3. /* …… */
  4. Both (b) and (c)

Reply: (d) Both (b) and (c)

 

7) Which of coming up next is utilized to show the result in PHP?

  1. reverberation
  2. compose
  3. print
  4. Both (a) and (c)

Reply: (d) Both (a) and (c)

 

8) Which of coming up next is the utilization of strlen() capability in PHP?

  1. The strlen() capability returns the kind of string
  2. The strlen() capability returns the length of string
  3. The strlen() capability returns the benefit of string
  4. The strlen() capability returns both worth and sort of string

Reply: (b) The strlen() capability returns the length of string

 

9) Which of coming up next is utilized for connection in PHP?

  1. + (additionally)
  2. *(Reference mark)
  3. . (spot)
  4. affix()

Reply: (c) . (spot)

 

10) Which of the accompanying beginnings with __ (twofold highlight) in PHP?

  1. Inbuilt constants
  2. Client characterized constants
  3. Sorcery constants
  4. Default constants

Reply: (c) Wizardry constants

Top articles
Angular Multiple-Choice Questions with Answer Published at:- PHP MCQ Questions with Answer for Fresher Published at:- Node js MCQ Questions with Answer Published at:- JavaScript MCQ Questions and Answers for Freshers Published at:- Science Questions with Answer for class 5th Published at:- JavaScript MCQ Questions with Answer Published at:- Science Class 5th MCQ Question and Answer Published at:- Angular MCQ Question with Answer For Freshers Published at:- Mastering Electrical Engineering: A Comprehensive Guide to Objective Questions Published at:- Electrical Engineering MCQ Questions with Answer Published at:- Cyber Security Multiple Choice Question MCQ Published at:- C Programming Multiple Choice Question MCQ Published at:- C Programming Multiple Choice Question MCQ Published at:- Hardware Basic Multiple Choice Question MCQ Published at:- NEET (Human Brain MCQs) Published at:- Computer Software Multiple Choice Question MCQ Published at:- July, 2024 Current Affairs (MCQs) Published at:- August, 2024 (Current Affairs MCQs) Published at:- Environment & Biodiversity (MCQs) Published at:-

PHP MCQ Questions with Answer for Fresher