Home C C++ Java Python Perl PHP SQL JavaScript Linux Selenium QT Online Test

Home » PHP » Objective Questions Set-3

PHP Objective Questions Set-3


Question: 41

(A) hello
(B) hello hello
(C) hello is printed infinite times
(D) Compilation Error

Compiler
Level: Beginner
Category: methods
[Posted by: Admin | Chicago, USA]


Question: 42

(A) Compilation Error
(B) cppbuzz
(C) "cppbuzz"
(D) None of the above

Compiler
Level: Beginner
Category: classesAndobjects
[Posted by: Admin | Chicago, USA]


Question: 43

(A) cppbuzz
(B) ""
(C) "cppbuzz"
(D) None of the above

Compiler
Level: Practionar
Category: classesAndobjects
[Posted by: Admin | Chicago, USA]


Question: 44

(A) cppbuzz
(B) "cppbuzz"
(C) ""
(D) Nothing is printed

Compiler
Level: Practionar
Category: classesAndobjects
[Posted by: Admin | Chicago, USA]


Question: 45

(A) cppbuzz
(B) "cppbuzz"
(C) Nothing is printed
(D) error: can't access private property

Compiler
Level: Practionar
Category: classesAndobjects
[Posted by: Admin | Chicago, USA]


Question: 46

(A) 0, 3
(B) 2, 3
(C) 3, 2
(D) 0, 4

Compiler
Level: Expert
Category: variables
[Posted by: Haze | Serbia, Belgrade]


Question: 47

(A) validateAddress
(B) ValidateMail
(C) CheckAddress
(D) CheckMail

Compiler
Level: Beginner
Category: methods
[Posted by: Harshit Gupta | Allahabad India]


Question: 48

(A) 10 10
(B) 6 4
(C) 4 10
(D) 10 4

Compiler
Level: Practionar
Category: operators
[Posted by: Harshit Gupta | Allahabad India]


Question: 49

(A) 10 10
(B) 4 6
(C) 10 6
(D) 6 10

Compiler
Level: Beginner
Category: variables
[Posted by: Harshit | Gupta]


Question: 50

(A) 80
(B) 0.008
(C) 0.08
(D) 8

Compiler
Level: Beginner
Category: methods
[Posted by: KWED | Lagos Nigeria]


Question: 51

(A) 0 Odd . 1 Even . 2 Odd . 3 Even . 4 Odd . 5 Even . 6 Odd . 7 Even . 8 Odd . 9 Even .
(B) 0 Even . 1 Odd . 2 Even . 3 Odd . 4 Even . 6 Even . 7 Odd . 8 Even . 9 Odd . 10 Even .
(C) 0 Even . 1 Odd . 2 Even . 3 Odd . 4 Even . 5 Odd . 6 Even . 7 Odd . 8 Even . 9 Odd . 10 Even .
(D) 0 Error. 1 Odd . 2 Even . 3 Odd . 4 Even . 5 Odd . 6 Even . 7 Odd . 8 Even . 9 Odd ..

Compiler
Level: Beginner
Category: loops
[Posted by: KWED | Lagos Nigeria]


Question: 52

(A) Compiler Error
(B) 122135.1
(C) Runtime Error
(D) None of the above

Compiler
Level: Beginner
Category: operators
[Posted by: beginner | GJ INDIA]