

MCQOPTIONS
Saved Bookmarks
This section includes 86 Mcqs, each offering curated multiple-choice questions to sharpen your Php knowledge and support exam preparation. Choose a topic below to get started.
51. |
Which one from following protocols are not supported by PHP? |
A. | POP3 |
B. | IMAP |
C. | SMP |
D. | LDAP |
Answer» D. LDAP | |
52. |
Internationalization and localization mailing list is denoted by |
A. | php.announce |
B. | php.smarty |
C. | php.il8n |
D. | php.gtk |
Answer» D. php.gtk | |
53. |
Php.dev stands for |
A. | Main PHP Developers |
B. | Pear Developers |
C. | GTK Developers |
D. | None of them |
Answer» B. Pear Developers | |
54. |
What is gd in PHP? |
A. | A library |
B. | A class |
C. | A data type |
D. | Nothing |
Answer» B. A class | |
55. |
PHP-GTK developers are denoted by |
A. | php.gk |
B. | php.gtk.dev |
C. | php.dev |
D. | php.pear |
Answer» C. php.dev | |
56. |
All these func_num_args ( ), func_get_arg ( ), func_get_args ( ), functions are introduced in |
A. | PHP1, |
B. | PHP2 |
C. | PHP3 |
D. | PHP4 |
Answer» E. | |
57. |
ImagePng ( ), ImageJpeg ( ) is an example of |
A. | Text functions |
B. | Painting and filling function |
C. | Exporting function |
D. | Image destruction function |
Answer» D. Image destruction function | |
58. |
For creating an image in PHP, which gd function is used? |
A. | create ( ) |
B. | picture_create ( ) |
C. | imagecreate ( ) |
D. | createfromgd ( ) |
Answer» D. createfromgd ( ) | |
59. |
PHPMyAdmin is created by |
A. | Microsoft |
B. | Linus Torvalds |
C. | Steve Jobs |
D. | Tobias Ratschiller |
Answer» E. | |
60. |
An error reporting function, E_ALL &~E_NOTICE stands for |
A. | Enable All Options |
B. | Enable All Error Notices |
C. | All Errors Except Notices |
D. | None of them |
Answer» D. None of them | |
61. |
Server side scripts is |
A. | Visible to the end user |
B. | Invisible to the end user |
C. | Defined to user |
D. | None |
Answer» C. Defined to user | |
62. |
PHP function arguments are modified in function definition and |
A. | In a function call |
B. | In execution time |
C. | In deceleration time |
D. | None of them |
Answer» B. In execution time | |
63. |
How many ways that PHP offers to modify arguments of a function? |
A. | 1 |
B. | 2 |
C. | 3 |
D. | 4 |
Answer» C. 3 | |
64. |
There are how many ways to configure PHP |
A. | 1 |
B. | 2 |
C. | 3 |
D. | 4 |
Answer» D. 4 | |
65. |
In context of security every byte that comes from internet it treated as |
A. | Save |
B. | Hazard |
C. | Integer |
D. | None |
Answer» C. Integer | |
66. |
What is included in phpinfo ( ) function with release of PHP5.2.1 version? |
A. | A header tag |
B. | A footer tag |
C. | A Meta tag |
D. | None of them |
Answer» D. None of them | |
67. |
Which gd function matches a color? |
A. | ImagecolorAlpha ( ) |
B. | ImageLine ( ) |
C. | ImageColorClosest ( ) |
D. | None of them |
Answer» D. None of them | |
68. |
PHP currently in it's which write up? |
A. | 4th |
B. | 5th |
C. | 6th |
D. | 7th |
Answer» D. 7th | |
69. |
Gd library is used for creating and manipulating of |
A. | Images |
B. | Networks |
C. | Arrays |
D. | None of them |
Answer» B. Networks | |
70. |
Php.general, php.windows, php.install and php.db all this list belongs to |
A. | PHP user's mailing list |
B. | PHP server mailing list |
C. | Network connection functions |
D. | None of them |
Answer» B. PHP server mailing list | |
71. |
An open source, server side, web scripting language that is embedded with HTML is called |
A. | J-Query |
B. | JavaScript |
C. | PHP |
D. | SQL |
Answer» D. SQL | |
72. |
PHP is a |
A. | Server side language |
B. | Scripting language |
C. | Markup language |
D. | Both a and b |
Answer» E. | |
73. |
ImageColorAllocate ( ) function is used for |
A. | Image creation |
B. | Color allocation |
C. | Color matching |
D. | Color reset |
Answer» C. Color matching | |
74. |
Hackers and crackers that uses tools and PHP scripts to break into a computer system, is called |
A. | Script hackers |
B. | Script crackers |
C. | Script-kiddies |
D. | All of them |
Answer» D. All of them | |
75. |
Which of them is an example of painting and filling function? |
A. | ImageFill ( ) |
B. | ImageFilledArc ( ) |
C. | ImageFilledEllipse ( ) |
D. | All of them |
Answer» E. | |
76. |
Variable that are defined in php.ini file for sending a mail is |
A. | SMTP |
B. | MTP |
C. | sendmail_from |
D. | Both a and c |
Answer» E. | |
77. |
Which log file is maintained by apache HTTP server? |
A. | Apache/logs/access.log |
B. | Apache/logs/error.log |
C. | Apache/access/file.log |
D. | Both a and b |
Answer» E. | |
78. |
Which from following bug occurs during program execution in PHP? |
A. | Runtime bugs |
B. | Compile time bugs |
C. | Logical bugs |
D. | All of them |
Answer» E. | |
79. |
Which from following error defining codes has highest severity? |
A. | LOG_ALERT |
B. | LOG_INFO |
C. | LOG_DEBUG |
D. | LOG_EMERG |
Answer» D. LOG_EMERG | |
80. |
Client side error indication series is |
A. | 300 |
B. | 400 |
C. | 500 |
D. | 600 |
Answer» C. 500 | |
81. |
500 series codes indicates a |
A. | Client side error |
B. | Server side error |
C. | Redirection |
D. | Success |
Answer» C. Redirection | |
82. |
Tailacess.log will returns last |
A. | 5 lines of a specified file |
B. | 5 lines of any file |
C. | 10 lines of a specified file |
D. | None of them |
Answer» D. None of them | |
83. |
Error logging is similar to error reporting but causes error events to be recorded at a |
A. | Text file |
B. | Binary file |
C. | Screen |
D. | None of them |
Answer» B. Binary file | |
84. |
Most famous HTTP response error "Not Found", code is |
A. | 400 |
B. | 404 |
C. | 405 |
D. | 408 |
Answer» C. 405 | |
85. |
What type of bugs are difficult to fix? |
A. | Logical bugs |
B. | Runtime bugs |
C. | Compile time bugs |
D. | None of them |
Answer» B. Runtime bugs | |
86. |
For redirection which response code series is used |
A. | 200 |
B. | 300 |
C. | 400 |
D. | 500 |
Answer» C. 400 | |