Explore topic-wise MCQs in Testing Subject.

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

1.

Which one from following protocols are not supported by PHP?

A. POP3
B. IMAP
C. SMP
D. LDAP
Answer» D. LDAP
2.

Internationalization and localization mailing list is denoted by

A. php.announce
B. php.smarty
C. php.il8n
D. php.gtk
Answer» D. php.gtk
3.

Php.dev stands for

A. Main PHP Developers
B. Pear Developers
C. GTK Developers
D. None of them
Answer» B. Pear Developers
4.

What is gd in PHP?

A. A library
B. A class
C. A data type
D. Nothing
Answer» B. A class
5.

PHP-GTK developers are denoted by

A. php.gk
B. php.gtk.dev
C. php.dev
D. php.pear
Answer» C. php.dev
6.

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.
7.

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
8.

For creating an image in PHP, which gd function is used?

A. create ( )
B. picture_create ( )
C. imagecreate ( )
D. createfromgd ( )
Answer» D. createfromgd ( )
9.

PHPMyAdmin is created by

A. Microsoft
B. Linus Torvalds
C. Steve Jobs
D. Tobias Ratschiller
Answer» E.
10.

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
11.

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
12.

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
13.

How many ways that PHP offers to modify arguments of a function?

A. 1
B. 2
C. 3
D. 4
Answer» C. 3
14.

There are how many ways to configure PHP

A. 1
B. 2
C. 3
D. 4
Answer» D. 4
15.

In context of security every byte that comes from internet it treated as

A. Save
B. Hazard
C. Integer
D. None
Answer» C. Integer
16.

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
17.

Which gd function matches a color?

A. ImagecolorAlpha ( )
B. ImageLine ( )
C. ImageColorClosest ( )
D. None of them
Answer» D. None of them
18.

PHP currently in it's which write up?

A. 4th
B. 5th
C. 6th
D. 7th
Answer» D. 7th
19.

Gd library is used for creating and manipulating of

A. Images
B. Networks
C. Arrays
D. None of them
Answer» B. Networks
20.

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
21.

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
22.

PHP is a

A. Server side language
B. Scripting language
C. Markup language
D. Both a and b
Answer» E.
23.

ImageColorAllocate ( ) function is used for

A. Image creation
B. Color allocation
C. Color matching
D. Color reset
Answer» C. Color matching
24.

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
25.

Which of them is an example of painting and filling function?

A. ImageFill ( )
B. ImageFilledArc ( )
C. ImageFilledEllipse ( )
D. All of them
Answer» E.
26.

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.
27.

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.
28.

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.
29.

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
30.

Client side error indication series is

A. 300
B. 400
C. 500
D. 600
Answer» C. 500
31.

500 series codes indicates a

A. Client side error
B. Server side error
C. Redirection
D. Success
Answer» C. Redirection
32.

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
33.

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
34.

Most famous HTTP response error "Not Found", code is

A. 400
B. 404
C. 405
D. 408
Answer» C. 405
35.

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
36.

For redirection which response code series is used

A. 200
B. 300
C. 400
D. 500
Answer» C. 400