3. Which version of PHP introduced the instance of keyword?
Correct : B. . PHP 5
4. Which one of the following functions is used to determine whether a class exists?
Correct : A. exist()
5. Which one of the following functions is used to determine object type?
Correct : A. ) obj_type()
6. Which one of the following keyword is used to inherit our subclass into a super
class?
Correct : A. . extends
7. Which keyword is used to refer to properties or methods within the class itself?
Correct : A. . private
8. Which keyword allows class members (methods and properties) to be used without
needing to instantiate a new instance of the class?
Correct : B. . final
9. HTTP stands for ___________.
Correct : A. Hyper text transfer protocol
10. To upload the file ________ array is used.
Correct : B. $load
11. PHP was designed as a ________ scripting language.
Correct : A. Sever side
12. mysql_close() is use to ________database(wamp) in php .
Correct : A. create
13. XML is used to data.
Correct : B. store
14. XML tags are predefined -----------
Correct : B. false
15. Xml separate the data from presentation
Correct : A. true
16. Xml document are formed by trees
Correct : B. element
17. An XML tree start at root element and end at its child elements,
Correct : A. true
18. We can create our own tags in Xml , but it must properly defined and end.
Correct : A. true
19. An XML element can contain ___
Correct : A. text elements attribute
20. ________ define the properties and method for accessing and editing xml & html
document
Correct : A. Xml_DOM
21. Xml is use to separate the_____ form design.
Correct : A. Data
22. CSS is use to separate data from _____.
Correct : A. tag
23. The _______ defines a standard way for accessing and manipulating HTML
documents. It presents an HTML document as a tree-structure.
Correct : A. HTML DOM
24. __________ is used to display data and focuses on how data looks.
Correct : A. HTML
25. _________ is a software and hardware independent tool used to transport and
store data. It focuses on what data is.
Correct : A. XML
26. XML is neither a presentation language nor a programming language.
Correct : A. true
27. In XML we can define/create the tags according to your need.
Correct : A. true
28. ______is designed to read the XML and create a way for programs to use XML.
Correct : A. XML PERSOR
29. An_________starts at a root element and branches from the root to child
elements.
Correct : C. XML-TREE
30. The abs() function returns the absolute (positive) value of a number:
Correct : A. true
31. the sqrt() function returns the square root of a number:
Correct : A. true
32. The round() function rounds a floating-point number to its nearest integer:
Correct : A. true
33. The rand() function generates a random number:
Correct : A. true
34. ________ is a server scripting language, and a powerful tool for making dynamic
and interactive Web pages.
Correct : A. PHP
35. _______ is a object oriented programming language , it is used to create the
object…
Correct : A. PHP
36. A ________ script can be placed anywhere in the document.
Correct : A. PHP
37. The default file extension for PHP files is _________
Correct : A. .PHP
38. __________ is used to show the out put …or give message..same as printf in c
language…
Correct : A. Echo
39. A PHP script starts with <?php and ends with ?>:
<?php // PHP code goes here ?>
Correct : A. true
40. PHP code is executed on the server, and the result is returned to the browser as
plain HTML
Correct : A. true
41. PHP files can contain text, HTML, CSS, JavaScript, and PHP code
Correct : A. true
42. PHP runs on various platforms (Windows, Linux, Unix, Mac OS X, etc.)
Correct : A. true
43. PHP is compatible with almost all servers used today (Apache, IIS, etc.)
Correct : A. true
44. PHP supports a ___________ range of databases
Correct : A. wide
45. PHP supports the following data types:
Correct : D. all of the above .
46. PHP divides the operators in the following groups:
Correct : D. all of the above
47. The basic assignment operator in PHP is __________ It means that the left operand
gets set to the value of the assignment expression on the right.
Correct : A. =
48. the _________ statement is used to perform different actions based on different
conditions
Correct : B. if condition
49. In php, A ___________ is a block of statements that can be used repeatedly
in a program.
Correct : A. function
50. In php A function will not execute automatically when a page loads.
Correct : A. true
51. ----------is a technique for creating fast and dynamic web page.
Correct : A. Ajax
52. allows to web pages to be upload asynchronously and exchange the small
of data wit server .
Correct : A. Ajax
53. is main example of ajax application .
Correct : A. google map
54. Ajax method and method is used to perform Ajax request
Correct : A. Jquery
55. Jquery ajax is usefull while working with forms it consist of serialization ,client side ,
validation ,it is
Correct : A. true
56. Ajax is not programming language , itis
Correct : A. true
57. long form of Ajax is
Correct : A. Asynchronous java script & xml
58. long form of WSDL is ___
Correct : A. web services description language
59. long form of UDDI is _______
Correct : C. Universal description,discovery language
60. In Ajax XMLHttpRequest this object is used to exchange data with web server .
Correct : A. true
61. __________Reduce the traffic travels between the client and the server
Correct : A. Ajax
62. The ajaxStart and ajaxStop are ______ that relate to all Ajax requests together
Correct : A. event
63. SOAP supports document-level transfer
Correct : A. true
64. XML-RPC is more about values transfer, although it can transfer structures such as
struts, lists etc. ,it is _______.
Correct : A. true
65. ________ function creates an XMLHttpRequest object, adds the function to be
executed when the server response is ready, and sends the request off to the server.
Correct : A. LoadDoc ()
66. loadDoc() function creates an XMLHttpRequest object, adds the function to be
executed when the server response is ready, and sends the request off to the server.
Correct : A. true
67. the long form of axis is Asynchronous java script & xml
Correct : A. true
68. long form of UDDI is _______
Correct : C. Universal description, discovery language
69. ______is a new technique for creating better, faster, and more interactive web applications
with the help of XML, HTML, CSS and Java Script.
Correct : A. Ajax
70. ______ doesn't define a specific set of tags
Correct : B. XML
71. PHP 5's new ______ module makes parsing an XML document, well, simple. It turns an
XML document into an object that provides structured access to the XML.
Correct : C. SimpleXML
72. While writing your PHP program, it is a good idea to use PHP-aware editors like ____
Correct : D. BBEdit
73. Every PHP statement ends with a semicolon (;).
Correct : A. true
74. A class that is inherited from by another class. This is also called a ____
Correct : D. parent Class or base class
75. ________ a type of polymorphism in which some or all of operators have different
implementations depending on the types of their arguments
Correct : A. overloading
76. ________Any representation of data in which the implementation details are hidden
Correct : B. data Abstraction
77. __________ refers to a concept where we encapsulate all the data and member functions
together to form an object.
Correct : C. Encapsulation
78. __________ These are the function defined inside a class and are used to access object
data.
Correct : C. member function
79. ________ This is a programmer-defined data type, which includes local functions as well as
local data.
Correct : B. class
80. _______ A class that inherits from another class. This is also called a subclass or derived
class.
Correct : A. child class
81. _________ An array with a numeric index. Values are stored and accessed in linear fashion.
Correct : C. Numeric array
82. ____________An array with strings as index. This stores element values in association with
key values rather than in a strict linear index order.
Correct : A. associative array
83. __________ An array containing one or more arrays and values are accessed using
multiple indices
Correct : B. multidimensional array
84. Validation means check the input submitted by the user.
Correct : A. true
85. There are two types of validation are available in PHP. They are as follows −
Correct : D. only a and b not c
86. _________ Validation is performed on the client machine web browsers.
Correct : A. Client-Side Validation
87. ___________ After submitted by data, The data has sent to a server and perform validation
checks in server machine.
Correct : B. Server Side Validation −
88. Core PHP means solving a Mathematical problem by using paper and pen and Frame work
means solving Mathematical problem by using a calculator.