1. Which of the following is NOT correct about single page applications? A.SPA u
ID: 3745948 • Letter: 1
Question
1. Which of the following is NOT correct about single page applications?
A.SPA utilizes AJAX for dynamic and continuous communication without full page reloading.
B.SPA only communicates with the server side once at the beginning of the application loading.
C.SPA still needs the server to provide a first-time page loading before all interactions.
D.SPA can still dynamically change the URL in the browser address bar even without a full page request/loading.
2. Which of the following is not a type of selector in jQuery?
A.id based selector
B.element/tag based selector
C.class based selector
D.JSON based selector
3. All JavaScript/jQuery code has to be place inside the $(document).ready() jQuery event/method.
True/False
Explanation / Answer
1. B.SPA only communicates with the server side once at the beginning of the application loading.
SPA does not mean that entire application loads at once. It means that the entire page wont change for a small change in a page. The SPA calls the server everytime when the user performs some actions
2. D.JSON based selector
There is no type of selection in jQuery for JSON based
3. True
If you want to prevent any JS/jQuery code from running before the page is ready then we have to use $(document).ready().
**Comment for any queries. Happy to help ...:)
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.