100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Exam (elaborations)

Web Programming| AJAX Questions and Answers

Rating
-
Sold
-
Pages
3
Grade
A+
Uploaded on
05-07-2024
Written in
2023/2024

Web Programming| AJAX AJAX - Answer- Asynchronous JavaScript and XML. This is not a new programming language, but a new way to use existing standards. Definition of AJAX - Answer- Exchanging data with a server, and updating parts of a web page - without reloading the whole page True or False? AJAX is about updating parts of a web page, without reloading the whole page. - Answer- TRUE! AJAX is a technique for creating fast and dynamic web pages. True of False? AJAX allows web pages to be updated asynchronously by exchanging small amounts of data with the server behind the scenes. This means that it is possible to update parts of a web page, without reloading the whole page. - Answer- True 1st Step of: How AJAX Works - Answer- In Browser: An event occurs->Create an XMLHttpRequest Object ->Send HttpRequest [[Goes to Internet]] 2nd Step of: How AJAX Works - Answer- In Server: -> Process HTTPRequest ->Create a Response and send data back to browser [[Back to Internet]] 3rd Step of: How AJAX Works - Answer- Back In Browser: -> Process the returned data using JavaScript --> Update page content AJAX is based on internet standards, and uses a combination of: - Answer- - XMLHttpRequest object (to exchange data asynchronously with a server) - JavaScript/DOM (to display/interact with the information) - CSS (to style the data) - XML (often used as the format for transferring data) True of False? The keystone of AJAX is the XMLHttpRequest object - Answer- True True of False:: All modern browsers support the XMLHttpRequest object - Answer- True. All modern browsers have a built-in XMLHttpRequest object. Old versions of Internet Explorer (IE5 and IE6) uses an ActiveX Object. To handle all modern browsers, including IE5 and IE6, check if the browser supports the XMLHttpRequest object. If it does, create an XMLHttpRequest object, if not, create an ActiveXObject: How to send a request to server? - Answer- To send a request to a server, we use the open() and send() methods of the XMLHttpRequest object GET is simpler and faster than POST, and can be used in most cases. However, always use POST requests when: - Answer- A cached file is not an option (update a file or database on the server) Sending a large amount of data to the server (POST has no size limitations

Show more Read less
Institution
Web Programming| AJAX
Course
Web Programming| AJAX








Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
Web Programming| AJAX
Course
Web Programming| AJAX

Document information

Uploaded on
July 5, 2024
Number of pages
3
Written in
2023/2024
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
Freshy Oxford University
View profile
Follow You need to be logged in order to follow users or courses
Sold
50
Member since
1 year
Number of followers
4
Documents
6784
Last sold
3 days ago

3.6

10 reviews

5
3
4
4
3
1
2
0
1
2

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions