Chapter: Ajax with PHP
1.

AJAX stands for --------------------------------.

A. Asynchronous java script and xml
B. Asyanchronous and extented language
C. Asyanchronous and ajax extended
D. none of these
Answer» A. Asynchronous java script and xml
2.

-----is a new technique for creating better, faster, and more interactive webapplications with the help of XML, HTML, CSS and Java Script.

A. Ajax
B. Synchronous
C. synchronous XML
D. Asynchronous JavaScript
Answer» A. Ajax
3.

Conventional web application transmit information to and from the sever using----- requests

A. Ajax
B. Synchronous
C. synchronous XML
D. Asynchronous JavaScript
Answer» B. Synchronous
4.

With-----when submit is pressed, JavaScript will make a request to the server, interpret the results and update the current screen.

A. Ajax
B. Synchronous
C. synchronous XML
D. Asynchronous JavaScript
Answer» A. Ajax
5.

------is very strict when it comes to document structure Sol:

A. XML
B. Synchronous
C. synchronous HTML
D. Asynchronous JavaScript
Answer» A. XML
6.

---------------and XML. AJAX is a technique for creating fast and
dynamic web pages.
Sol:

A. Ajax
B. Synchronous
C. synchronous XML
D. Asynchronous JavaScript
Answer» D. Asynchronous JavaScript
7.

Ajax refers to----------------technologies that are widely used for creating dynamic and
asynchronous web content
Sol:

A. Ajax &xml
B. Synchronous &php
C. XML & php
D. JavaScript & xml
Answer» D. JavaScript & xml
8.

While Ajax is not limited to-----------technologies, more often than not they are used
togetherby web applications.
Sol:

A. Ajax &xml
B. Synchronous &php
C. XML & php
D. JavaScript & xml
Answer» D. JavaScript & xml
9.

--------is a technique for creating fast and dynamic web pages.

A. Ajax
B. Synchronous
C. synchronous XML
D. Asynchronous JavaScript
Answer» A. Ajax
10.

AJAX allows web pages to be updated-----------by exchanging small amounts of data
with the server behind the scenes
Sol:

A. Ajax
B. Asynchronous
C. synchronous XML
D. Asynchronous JavaScript
Answer» B. Asynchronous
11.

it is possible for Ajax to update parts of a web page, without reloading the
whole page..
Sol:

A. Ajax
B. Synchronous
C. synchronous XML
D. Asynchronous JavaScript
Answer» A. Ajax
12.

----------capabilities can be especially useful when dealing with forms. Sol:

A. jQuery's ajax
B. serialize()
C. Client-side validation
D. ajaxStart
Answer» A. jQuery's ajax
13.

The-------method serializes a form's data into a query string Sol:

A. jQuery's ajax
B. serialize()
C. Client-side validation
D. ajaxStart
Answer» B. serialize()
14.

---------is required for input, valid usernames/emails/phone numbers/etc. Sol:

A. jQuery's ajax
B. serialize()
C. Client-side validation
D. ajaxStart
Answer» C. Client-side validation
15.

-----------events can be disabled for a particular Ajax request by passing
inthe global option
Sol:

A. jQuery's ajax
B. serialize()
C. Global
D. ajaxStart
Answer» C. Global
16.

--------(Global Event):This event is triggered if an Ajax request is started
and no other Ajaxrequests are currently running.
Sol:

A. jQuery's ajax
B. serialize()
C. Client-side validation
D. ajaxStart
Answer» A. jQuery's ajax
17.

------------(Local Event):This event, which is triggered before an Ajax
request is started, allows you tomodify the XMLHttpRequest object.
Sol:

A. jQuery's ajax
B. beforeSend
C. ajax Send
D. ajaxStart
Answer» B. beforeSend
18.

------(Global Event):This global event is also triggered before the request is
run.
Sol:

A. jQuery's ajax
B. beforeSend
C. ajax Send
D. ajaxStart
Answer» C. ajax Send
19.

-----------(Local Event):This event is only called if the request was
successful (no errors from theserver, no errors with the data):
Sol:

A. jQuery's ajax
B. beforeSend
C. ajax Send
D. success
Answer» D. success
20.

---------(Global Event):This event is also only called if the request was
successful.
Sol:

A. jQuery's ajax
B. beforeSend
C. ajax Send
D. ajaxSuccess
Answer» D. ajaxSuccess
21.

----------(Global Event):This global event behaves the same as the local
error event.
Sol:

A. jQuery's ajax
B. beforeSend
C. ajax Send
D. ajaxError
Answer» D. ajaxError
22.

-------------(Local Event):This event is called regardless of if the request
was successful, or not. Youwill always receive a complete callback, even for synchronous requests.
Sol:

A. complete
B. ajaxComplete
C. ajaxStop
D. The ajax()
Answer» A. complete
23.

-------------(Global Event):This event behaves the same as the complete
event and will be triggeredevery time an Ajax request finishes.
Sol:

A. complete
B. ajaxComplete
C. ajaxStop
D. The ajax()
Answer» B. ajaxComplete
24.

(Global Event):This global event is triggered if there are no more Ajax
requests beingprocessed.
Sol:

A. complete
B. ajaxComplete
C. ajaxStop
D. The ajax()
Answer» C. ajaxStop
25.

The--------method is used to perform an AJAX (asynchronous HTTP)
request
Sol:

A. complete
B. ajaxComplete
C. ajaxStop
D. The ajax()
Answer» D. The ajax()
26.

PHP supports the following data types: Sol:

A. string
B. interger
C. float
D. all the above
Answer» D. all the above
27.

PHP divides the operators in the following groups: Sol:

A. increment decrement
B. logical
C. string
D. all the above
Answer» D. all the above
28.

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

A. <>
B. ?
C. ""
D. =
Answer» D. =
29.

the _________ statement is used to perform different actions based on different
conditions
Sol:

A. switch
B. if condition
C. whie loop
D. for loop
Answer» A. switch
30.

In PHP, we have the following loop types: Sol:

A. for each
B. for
C. whie loop
D. all the above
Answer» D. all the above
31.

the _________ statement is used to check the action on each step and perform
different actions based on different conditions
Sol:

A. if else
B. else if ladder
C. whie loop
D. for loop
Answer» B. else if ladder
32.

In PHP, ______in this loop we check show true statement first then check the
condition :
Sol:

A. for each
B. for
C. whie loop
D. do while
Answer» D. do while
33.

-----is very strict when it comes to document structure Sol:

A. XML
B. Asyanchronous java script
C. Ajax
D. java script
Answer» A. XML
34.

-------and XML. AJAX is a technique for creating fast and dynamic
web pages.
Sol:

A. XML
B. Asyanchronous java script
C. Ajax
D. java script
Answer» B. Asyanchronous java script
35.

Ajax refers to------and XML, technologies that are widely used for creating dynamic
and asynchronous web content
Sol:

A. XML
B. Asyanchronous java script
C. Ajax
D. java script
Answer» D. java script
36.

While-----is not limited to JavaScript and XML technologies, more often than not
they are used togetherby web applications.
Sol:

A. XML
B. Asyanchronous java script
C. Ajax
D. java script
Answer» C. Ajax
37.

-----is a technique for creating fast and dynamic web pages Sol:

A. XML
B. Asyanchronous java script
C. Ajax
D. java script
Answer» C. Ajax
38.

--------allows web pages to be updated asynchronously by exchanging small amounts
of data with the server behind the scenes.
Sol:

A. XML
B. Asyanchronous java script
C. Ajax
D. java script
Answer» C. Ajax
39.

-----works with predefined tags like <p>,<h1>, <table>, etc. Sol:

A. HTML
B. Asyanchronous java script
C. Ajax
D. java script
Answer» A. HTML
40.

With------the author must define both the tags and the document structure Sol:

A. XML
B. Asyanchronous java script
C. Ajax
D. java script
Answer» A. XML
41.

------not works with predefined tags like <p>,<h1>, <table>, etc. Sol:

A. XML
B. Asyanchronous java script
C. Ajax
D. java script
Answer» A. XML
42.

class needs to inherit multiple behaviours? OOP --------is used to solve this problem. Sol:

A. static
B. self
C. traits
D. single inheritance
Answer» C. traits
43.

-------are used to declare methods that can be used in multiple classes. Traits can have
methods and abstract methods that can be used in multiple classes.
Sol:

A. static
B. self
C. traits
D. single inheritance
Answer» C. traits
44.

----------are declared with the trait keyword Sol:

A. static
B. self
C. traits
D. single inheritance
Answer» C. traits
45.

----------methods can be called directly - without creating an instance of the class first. Sol:

A. static
B. self
C. traits
D. single inheritance
Answer» A. static
46.

----------values must always be quoted in xml. Either single or double
quotes can beused.
Sol:

A. attribute
B. element
C. UTF-8
D. Empty XML elements.
Answer» A. attribute
47.

An------------is a basic unit of XML information composed of elements
and other markup in an orderly package.
Sol:

A. XML document
B. descriptive
C. html document
D. Empty XML elements.
Answer» A. XML document
48.

An- - - - - - - - - - can contains wide variety of data.For example, database
of numbers, numbers representing molecular structure or a mathematical equation.
Sol:

A. XML document
B. descriptive
C. html document
D. Empty XML elements.
Answer» A. XML document
49.

-----------is a markup language that looks a lot like HTML Sol:

A. XML
B. descriptive
C. html document
D. Empty XML elements.
Answer» A. XML
Tags
Question and answers in Ajax with PHP, Ajax with PHP multiple choice questions and answers, Ajax with PHP Important MCQs, Solved MCQs for Ajax with PHP, Ajax with PHP MCQs with answers PDF download