PHP Basic Questions and Answers Pdf - 1

Question: 1

How many types of operators are there in PHP?

(A) 2

(B) 3

(C) 4

(D) 6

Ans: D

6

Question: 2

Which operator appends are text to the another?

(A) Strings

(B) Assignment

(C) Logical

(D) Character

Ans: A

Strings

Question: 3

The string concatenation operator is

(A) +

(B) .

(C) -=

(D) – =

Ans: B

.

Question: 4

Which operators compares two values?

(A) Increment

(B) Arithmetic

(C) Comparision

(D) Logical

Ans: C

Comparision

Question: 5

The statements in PHP ends with

(A) $

(B) =

(C) :

(D) ;

Ans: D

;

Related Questions
Recent Articles
Trending Posts

REGISTER TO GET FREE UPDATES