Web
Analytics

Internet Programming
AJAX Test
Answer 25 questions in 10 minutes.

Practice this Upwork Skill Test. Freelancers take skill tests on Upwork to show their skills to potential clients and to make themselves more marketable. Upwork suggests you take as many tests as you want -  your skills are shown on your Upwork profile page.

AJAX Test |


What is NOSCRIPT tag for?
MY_VAR
To prevent the page scripts from executing
To shield a part of a page from being modified by JS (like aDiv.innerHTML = 'something' has no effect)
To enclose text to be displayed if the browser doesn't support JS
NOSCRIPT tag doesn't exist

Can WebDav methods like PROPFIND be used with XMLHttpRequest.open()?
It can only be implemented with the XMLHttpRequest object
It can be used to make requests to the server without blocking the user (async)
It requires a special AJAX enabled web server
No
Yes

Can an HTML form be sent with AJAX?
yes
myRequest.addCallback (calc - "loaded");
Partial page update
no
myRequest.execute = calc;

Is JavaScript the same as Java?
yes
__MyVar2__
MY_VAR
no

The server returns data to the client during an AJAX postback. Which of the following is correct about the returned data?
new
It may contain anything
It only contains the data of the page elements that need to be changed
It contains the data of the whole page
It contains both the data of the whole page and the data that needs to be changed in separate blocks

Can AJAX be used with PHP?
no
Yes
yes
PHP
Ruby

Which of the following is a block comment in JavaScript?
#
Sun application server
/* */
<!-- -->/p>


//


Which of the following describes the term 'Asynchronous' correctly?
Ability to handle processes independently from other processes
Yes
Processes are dependent upon other processes
None of the above
Processes are not fully dependent on other processes

Can an AJAX application communicate with other applications on the client computer?
No
var array = new Array/p>


var array = [];
myRequest.addCallback (calc - "loaded");
Yes


What is the correct way to have the function checkState called after 10 seconds?
If true - the javascript engine is blocked while making the request
window.setTimeout(checkState() - 10);
None of the above
window.setTimeout(checkState - 10)/p>


window.setTimeout(checkState - 10000)/span>


Which of the following list is/are true regarding AJAX?
It can only be implemented with the XMLHttpRequest object
no
It requires a special AJAX enabled web server
It can be used to update parts of a webpage without reloading it
It can be used to make requests to the server without blocking the user (async)

Javascript uses static bindings.
PHP
no
Ruby
true
false

Can you start multiple threads with JavaScript?
build ()
init ()
<script name="myScript.js">/p>


Yes
No


Can you call responseBody or responseText to get a partial result when the readyState of an XMLHttpRequest is 3(receiving)?
Yes
var array = [];
myRequest.addCallback (calc - "loaded");
No
var array = new Array/p>



Which of the following cannot be resolved by using AJAX?
Unresponsiveness of web pages
Partial page processing
Server side communication initiation
Server crashes (failover)
myReq.contentType = "xml"/p>



What is the correct syntax to include a script named myScript.js into a page?
Processes are not fully dependent on other processes
<script name="myScript.js">/p>


<script root="myScript.js">
<script src="myScript.js">/span>
<script href="myScript.js">


How can you create an XMLHttpRequest under Internet Explorer 6?
var oReq = new ActiveXObject ("MSXML2.XMLHTTP.3.0")/span>
var oReq = new IEHttpRequest ("XML");
var oReq = new XMLHttpRequest ()/p>


Resource to access
None of the above


What is the third (async) parameter of the XMLHttpRequest open method?
If true - the request doesn't return anything.
It will remove the onreadystatechange event handler
If true - the send method returns immediately
If true - the javascript engine is blocked while making the request
If true - the request object is destroyed when 'send' is executed

When doing an AJAX request - will the page be scrolled back to top as with normal requests?
It contains both the data of the whole page and the data that needs to be changed in separate blocks
Yes
No
It contains the data of the whole page
It may contain anything

Which of the following is/are not addressed by AJAX?
All of the above
Partial page update
PHP
Server side scripting
Offline browsing

When may asynchronous requests be used?
To retrieve data from the server
To submit data to the server
HTTP GET request for retrieving data (which will not change for that URL)
To load additional code from the server
To download an image

Can AJAX be used with offline pages?
To submit data to the server
yes
To load additional code from the server
no
To download an image

GET PROVEN ADVICE FROM
100+ BEST BOOKS IN 1 BOOK

250 Top Work & Personal Skills Made Easy

The World's First & Only Encyclopedia of
Self Help, Self Improvement & Career Advice

250+ Easy-to-Follow Guides
5000+ Proven Tips
13 Types of Essential Skills

502 Pages | $3.99 | PDF / EPub, Kindle Ready



 
 
 




Please report any error in fatskills quizzes and questions to 'simpleversity at gmail.com'.

Without work one finishes nothing. - Ralph Waldo Emerson

© The Simple Project 2020