Explore topic-wise MCQs in Technical MCQs.

This section includes 9 Mcqs, each offering curated multiple-choice questions to sharpen your Technical MCQs knowledge and support exam preparation. Choose a topic below to get started.

1.

The PHP syntax is most similar to:

A. VBScript
B. JavaScript
C. Perl and C
D. All of the above
E.
Answer» D. All of the above
2.

On which Platform PHP Runs?

A. Windows
B. Linux
C. Mac OS X
D. All of the above
Answer» E.
3.

PHP can send and receive cookies?

A. True
B. False
C. PHP older version can not send and receive cookies but new version can.
D. PHP new version can not send and receive cookies but old version can.
Answer» B. False
4.

<?php&dollar;x = 8;&dollar;y = 8.0;echo (&dollar;x === &dollar;y);?>
17.The script that executes at the browser side is called _____

A. Client side scripting
B. Server side scripting
C. Both A and B
D. None of the above
Answer» B. Server side scripting
5.

PHP can create, open, read, write, delete, and close files on the server.

A. True
B. False
C. PHP can only create, open and close files on the server
D. PHP can read, write and delete files on the server
Answer» B. False
6.

Which of the conditional statements is/are supported by PHP? i) if statements ii) if-else statements iii) if-elseif statements iv) switch statements

A. Only i)
B. i), ii) and iv)
C. ii), iii) and iv)
D. i), ii), iii) and iv)
Answer» E.
7.

which of the following is new operator added in PHP 7?

A. <=!
B. <=&dollar;
C. <=>
D. <=?
Answer» D. <=?
8.

PHP files can contain ________ code.

A. text
B. HTML
C. python
D. Both A and B
Answer» E.
9.

Which of the below symbol is a newline character?

A. \r
B. \n
C. /r
D. /n
Answer» C. /r