PHP Viva Question
PHP Viva Question
A. Hypertext Preprocessor
B. Hypertext multiprocessor
C. Hypertext markup Preprocessor
D. Hypertune Preprocessor
A. user-side scripting
B. client-side scripting
C. server-side scripting
D. Both B and C
A. Tim Berners-Lee
B. Brendan Eich
C. Guido van Rossum
D. Rasmus Lerdorf
A. 1993
B. 1994
C. 1995
D. 1996
A. .html
B. .xml
C. .php
D. .hphp
6. Which of the following is the correct syntax of php?
A. <?php >
B. <php >
C. ?php ?
D. <?php ?>
A. 7.1
B. 7.2
C. 7.3
D. 7.4
8. Which of the following is the Release date of latest version (7.2) of php?
A. 27 November 2017.
B. 28 November 2017.
C. 29 November 2017.
D. 30 November 2017.
A. \r
B. \n
C. /r
D. /n
A. text
B. HTML
C. python
D. Both A and B
11. 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
12. The script that executes at the browser side is called _____
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.
14. On which Platform PHP Runs?
A. Windows
B. Linux
C. Mac OS X
D. All of the above
A. VBScript
B. JavaScript
C. Perl and C
D. All of the above
A. 1
B. 2
C. 3
D. 4
A. 1
B. 2
C. 3
D. 4
A. 1
B. 2
C. 3
D. 0
A. True
B. False
C. Only for string it written under parentheses
D. Only for variable it written under parentheses
A. echo
B. print
C. echo and print has same speed
D. None of the above