Home > Internet Programming > Quizzes > Dojo Fundamentals Test
Dojo Fundamentals Test
Fast practice, instant feedback. Timer auto-submits when time’s up.
Avg score: 78% Most missed: “What does dom.byId() return?”
Dojo Fundamentals Test
Time left 00:00
25 Questions

1. What is dojo/domReady! ?
2. To create a Dijit button widget - what module must be used?
3. What does registry.byId() return?
4. How should Dijit widgets be styled?
5. What does dojo DojoX handle?
6. Which Dojo module is used to make Ajax requests?
7. Which Dijit widget should be used to validate a telephone number? In this case a telephone number is defined as a string up to 16 characters - including digits - parentheses - dashes - periods - spaces and an upper or lower case x.
8. How do you bind a function to response to UI events?
9. When does the function in require(['dojo/domReady!'] - function() {}); execute?
10. What does Dojo Util provide?
11. Why should you place the script tag that loads Dojo at the end of the document body?
12. What function handles the call back feature?
13. In this code: require(['dojo/request'] - function(request){ request('example.json' - { handleAs: 'json'}).then(function(data){ // Do something }) }); data is
14. When we create dijits programatically rather than declaratively we must ensure to?
15. What does the dojo/_base/declare module contain?
16. dojo/on is
17. What server-side technology can Dojo work with?
18. What are the main packages of Dojo?
19. DojoX is
20. How do you use dojo/query to get all elements with class 'foo'?
21. What is JSON?
22. How do you import a module? (in this case dojo/query)
23. How do you load Dojo on your HTML page?
24. Which module provides enhancements to native Array functions which may not be available?
25. What does lang.hitch() do?