Basics of PHP Mcqs
Our collections of Multiple choice questions and answers focuses on study of Basics of PHP. These questions are chosen from a collection of most authoritative and best reference books on Basics of PHP. Our aim is to prepare an individual for competitive exams like NTS, GAT, ECAT, University and College entrance exams and various tests and job interviews. One should practice our Mcqs to assimilate Basics of PHP Topic comprehensively.
PHP Programming Mcqs
- Basics of PHP Mcqs
- PHP Arrays and Functions Mcqs
- PHP Constants and Operators Mcqs
- PHP Controls Structures Mcqs
- PHP Error and Exception Handling Mcqs
- PHP Filesystem Mcqs
- PHP Functions Mcqs
- PHP Objects Tools and Variables Mcqs
- PHP OOP Mcqs
- PHP Session Handling Mcqs
- Strings and Regular Expressions Mcqs
Computer MCQS
Sciences MCQS
2.
Error reporting is turned off and on in
IIS file
Php.ini file
Display_error file
Error file
Answer & Solution
No Solution for this Answer..! Report or Discus this Question
3.
Which apache log file notes every HTTP request, including its date, time, and result?
Apache/logs/access.log
Apache/logs/error.log
Apache/request_file.log
Apache/HTTP/request.log
Answer & Solution
No Solution for this Answer..! Report or Discus this Question
4.
Response code 200 series indicates
Client side error
Redirection
Success
Server side error
5.
How many types of bugs plague during execution of program?
1
2
3
4
6.
How many log files are maintained by Apache HTTP server?
One log file
Two log files
Three log files
None of them
Answer & Solution
No Solution for this Answer..! Report or Discus this Question
7.
An error that causes by failed code, is called as
Notice error
Fatal error
Warning error
None of them
Answer & Solution
No Solution for this Answer..! Report or Discus this Question
8.
Include ( ) and include_once ( ) will generate a warning message on failure, While require ( ) and require_once ( ) will cause
A fatal error
Termination of script
No error
Both a and b
Answer & Solution
No Solution for this Answer..! Report or Discus this Question
9.
SAPI stands for
Java Service Access Point Identifier
Java Scripts Access Point Identity
Java Sockets Applet Point
None
Answer & Solution
No Solution for this Answer..! Report or Discus this Question
10.
Exceptions are caught and handled by using
Try control construct
Catch control construct
Exception control construct
Both a and b
Answer & Solution
No Solution for this Answer..! Report or Discus this Question
11.
For first time PHP5 included the
Exception handling object
Syntax handling object
Design handling functions
None of them
Answer & Solution
No Solution for this Answer..! Report or Discus this Question
12.
We can integrate PHP into a java servlet environment using
IIS
SAPI
API
None of them
13.
Weblog favorites.php file includes a
Links.php file
Aboutme.php
Semi static pages
All of them
Answer & Solution
No Solution for this Answer..! Report or Discus this Question
14.
Most universally effective PHP tags style is
<php>
{? php?}
<? php?>
None of them
Answer & Solution
No Solution for this Answer..! Report or Discus this Question
15.
There are how many types of native errors in PHP?
1
2
3
4