Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 3

Q1: Which of the following is not a valid comparison operator??

a <=>

b !=

c ==

d None

e None

f <>

Q2: Can I run several versions of PHP at the same time??

a None

b None

c True

d False

e None

f None

Q3: Which of the following method of Exception class retrieve the error message when
error occurred??

a getLine()

b getMessage()

c getCode()

The correct Answer is: None

e getError()

f getFile()

Q4: Will a comparison of an integer 12 and a string "13" work in PHP??


a None

b False

c None

d None

e True

f None

Q5: Which command is used to create new directory??

a newdir

b cdir

c None

d None

e mkdir

f dir

Q6: PHP server scripts are surrounded by delimiters, which??

a <script>...</script>

b <&>...</&>

c <?php>...</?>

d None

e <?php...?>

f None

Q7: What will be the output of the query SELECT * FROM `members` LIMIT 1, 2;?

a the query will return all records from the members table

b the query will return the first 2 records


c None

d the query will generate an error

e None

f the query will return skip the first record then return the following 2 records only

You might also like