Computer Programming mcqs questions
Here is the MCQs guide for the topic of Computer Programming. you will find various types of questions along with there answers in this
Q. | Which command will be used to print data? A.
echo "mcqsbucket.com"; B.
Echo mcqsbucket.com C.
Print "mcqsbucket.com"; D.
Print_r mcqsbucket.com Show Answer |
Q. | What is the correct way to end a PHP statement? A.
; B.
New line Show Answer |
Q. | The PHP syntax is most similar to A.
Perl and C B.
VBScript C.
JavaScript Show Answer |
Q. | When using the POST method, variables are displayed in the URL A.
False B.
True Show Answer |
Q. | Include files must have the file extension ".inc" A.
False B.
True Show Answer |
Q. | PHP allows you to send emails directly from a script A.
True B.
False Show Answer |
Q. | What is a correct way to add a comment in PHP? A.
/*...*/ B.
*\...\* D.
Show Answer |
Q. | PHP can be run on Microsoft Windows IIS(Internet Information Server) A.
True B.
False Show Answer |
Q. | The die() and exit() functions do the exact same thing. A.
True B.
False Show Answer |
Q. | How do you create a cookie in PHP? A.
setcookie() B.
makecookie() C.
createcookie Show Answer |
Advertisment