Olete.in
Articles
Mock Tests
đź§Ş AJAX MCQ Quiz Hub
Ajax Multiple Choice Question
Choose a topic to test your knowledge and improve your AJAX skills
1. What is AJAX?
is a programme
is a country name
is a football club name
None of These
2. What sever support AJAX?
SMTP
WWW
HTTP
None of the above
3. AJAX Stands for:
Asynchronous Javascript and XML
Abstract JSON and XML
Another Java Abstraction for X-Windows
Another Java and XML Library
4. What makes Ajax unique?
It works as a stand-alone Web-development tool.
It works the same with all Web browsers.
It uses C++ as its programming language.
It makes data requests asynchronously.
5. What does the XMLHttpRequest object accomplish in Ajax?
It’s the programming language used to develop Ajax applications.
It provides a means of exchanging structured data between the Web server and the client.
It provides the ability to asynchronously exchange data between Web browsers and a Web server.
It provides the ability to mark up and style the display of Web-page text.
6. _______ Of the following technologies, which one provides the ability to dynamically interact with Web page layout?
JavaScript.
XML
Document Object Model.
HTML
7. What is the first step in creating a Joke of the Day application?
Create the application’s text file.
Write the application’s HTML.
Turn the HTML application into an Ajax application.
Upload the application to a Web server.
8. Which one of these legendary Greek mythical figures or places is the code name for Microsoft’s version of AJAX?
Oracle
Atlas
Hercules
Delphi
9. Which Web browser is the least optimized for Microsoft’s version of AJAX?
Firefox
Opera
Safari
Internet Explorer
10. Which one of these technologies is NOT used in AJAX?
CSS
DOM
DHTML
Flash
11. AJAX comes in ____.
2003
2005
2004
2006
12. AJAX made popular by
Microsoft
IBM
Sun Microsystem
Google
13. AJAX based on
JavaScript and XML
JavaScript and Java
VBScript and XML
JavaScript and HTTP requests
14. Using AJAX we can make our web page
more interactive and faster
easy to connect web page with server
more dynamic
None of these
15. What does the <noscript> tag do?
Enclose text to be displayed by non-JavaScript browsers.
Prevents scripts on the page from executing.
Describes certain low-budget movies.
None of these
16. How many types of triggers are present in update panel? one two
One
TWO
three
four
17. Which of the following are the features of Ajax?
Live data binding
Declarative instantiation of client components
Client-side template rendering
all of the above
18. The advantages of Ajax is _______________ .
Bandwidth utilization
More interactive
Speeder retrieval of data
All of the these
19. Which of the following makes Ajax unique?
It works the same with all Web browsers.
It works as a stand-alone Web-development tool.
It makes data requests asynchronously.
It uses C++ as its programming language.
20. _________________ combination of technologies gives AJAX its name.
ASP and XAML
Atlas and XML
Asynchronous JavaScript and XML
None of the mentioned
21. Which of the following made AJAX popular.
IBM
Microsoft
Sun Micro system
Google
22. Which of the following technology is not used by Ajax?
JavaScript
Document Object Model
XMLHttpRequest
Flash
23. Which of the following are controls of Ajax except ?
ScriptManager
UpdateData
ScriptManagerProxy
UpdatePanel
24. _________________is the name of the DLL that contains Ajax control tool kit?
Ajaxtoolkit.dll
Ajaxcontroltoolkit.dll
Ajaxcontrol.dll
control.dll
25. How can you test the Ajax code?
JSU
JSUnit
AjaxJSU
JSUnitAjax
26. In Ajax ______________ready states are available.
4
6
8
2
27. How many types of triggers are present in update panel?
2
3
4
5
28. which of the following are the controls of Ajax? All of the mentioned
ScriptManager
ScriptManagerProxy
UpdateProgress
All of the mentioned
29. _____________ are the advantages of Ajax?
Bandwidth utilization
More interactive
Speeder retrieval of data
All of the above
30. What are the disadvantages of Ajax?
Debugging is difficult
Increases size of the requests
Slow and unreliable network connection.
All of the mentioned above
31. What are the technologies used by Ajax? All of the above
XMLHttpRequest
Cascading Style Sheets (CSS)
Extensible HTML (XHTML)
All of the above
32. How do we keep data inside an Object ?
Key : value
key = value
value : key
key = value
33. Which is an AJAX function?
can load data from the server to a web browser without reloading (refreshing)
make code more concise
add style to the web page
create slide animations
34. The functions provided by JQuery to hide elements are ...
fadeOut
fadeIn
fadeToggle
fadeSlow
35. The function in JQuery that is used to ensure all the desired elements are displayed on the web page is ...
document ready()
document complete()
document all()
document display()
36. Which is the wrong way to write variables in PHP?
$name
$_address
$1student
$school?
37. The following is not a way of writing PHP code in HTML is ...
&lt;? dan ?&gt;
&lt;?php dan ?&gt;
&lt;script language=”php”&gt; dan &lt;/script&gt;
&lt;$ dan $&gt;
38. PHP is a server-side programming, where the code will be executed on the server side. The following which one can act as a server on a local computer ...
XAMPP
HTDOCS
APACHE
MYSQL
39. The right syntax used to stop a loop when a condition occurs and continue the next loop is ...
WHILE
DO ... WHILE
BREAK
CONTINUE
40. Which operator is used to calculate the modulo?
*
/
+/
%
41. A PHP program will display the name of the month when entering a number between 1 and 12 in the input form. The use of the right branching is ...
IF
IF ... ELSE
IF - IF .. ELSE - ELSE
SWITCH
42. Which jQuery function is used to prevent code from running, before the document is finished loading?
$(body).onload()
$(document).load()
$(document).ready()
None of the above
43. Look at the following selector: $("div p"). What does it select?
The first p element inside a div element
All p elements inside a div element
All div elements with a p element
None of These
44. Which jQuery method is used to perform an asynchronous HTTP request?
$(body).onload()
$(document).load()
$(document).ready()
None of These
45. Which jQuery method is used to set one or more style properties for selected elements?
css()
style()
html()
both style and css
46. With jQuery, look at the following selector: $("div.intro"). What does it select?
All div elements with id=&quot;intro&quot;
All div elements with class=&quot;intro&quot;
The first div element with class=&quot;intro&quot;
The first div element with id=&quot;intro&quot;
47. What is the correct jQuery code to set the background color of all p elements to red?
$(&quot;p&quot;).manipulate(&quot;background-color&quot;,&quot;red&quot;);
$(&quot;p&quot;).style(&quot;background-color&quot;,&quot;red&quot;);
$(&quot;p&quot;).layout(&quot;background-color&quot;,&quot;red&quot;);
$(&quot;p&quot;).css(&quot;background-color&quot;,&quot;red&quot;);
48. Which of the following is a use case of AJAX ?
Google Maps : A user can drag an entire map by using the mouse, rather than clicking on a button.
Google Suggest : As you type, Google offers suggestions. Use the arrow keys to navigate the results.
Chat room and messaging
All the options
49. Which of the following is false about AJAX ?
AJAX IS Asystematic Javascript and XML
Update a web page without reloading the page
Request and Recieve data from a server - after the page has loaded
Send data to a server - in the background
50. Which of the following is the true regarding prototype
We can add new properties at later stage to a function which will be shared across all the instances
The prototype is an object
Prototype is associated with every functions and objects by default
All the Options
Submit