MCQOPTIONS
Saved Bookmarks
This section includes 10 Mcqs, each offering curated multiple-choice questions to sharpen your Technical MCQs knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
A module can also use a function for frameworks, without having dependencies. |
| A. | TRUE |
| B. | FALSE |
| C. | Can be true or false |
| D. | Can not say |
| E. | |
| Answer» B. FALSE | |
| 2. |
Which of the following query string arguments are used to fetch all resources that are loaded by using RequireJS? |
| A. | paths |
| B. | urlArgs |
| C. | context |
| D. | callback |
| Answer» C. context | |
| 3. |
Which of the following is true about RequireJS? |
| A. | It is an open source JavaScript library under the MIT license |
| B. | It provides asynchronous module loading. |
| C. | It has the ability to load nested dependencies. |
| D. | All of the above |
| Answer» E. | |
| 4. |
Module is defined using the ________ function; the same function is used for loading the module as well. |
| A. | declare() |
| B. | define() |
| C. | create() |
| D. | insert() |
| Answer» C. create() | |
| 5. |
waitSeconds specifies the number of seconds to wait before throwing up on script loading. |
| A. | Yes |
| B. | No |
| C. | Can be yes or no |
| D. | Can not say |
| Answer» B. No | |
| 6. |
Which of the following defines the value for script type attribute used in the document? |
| A. | callback |
| B. | xhtml |
| C. | scriptType |
| D. | skipDataMain |
| Answer» D. skipDataMain | |
| 7. |
Which provides the usage of non AMD libraries with RequireJS by configuring their dependencies and exporting their global values? |
| A. | baseUrl |
| B. | paths |
| C. | shim |
| D. | map |
| Answer» D. map | |
| 8. |
Which of the following are Features of RequireJS ? |
| A. | It reduces code complexity in large applications. |
| B. | It allows for easy debugging as it loads the files from plain script tags. |
| C. | It gathers different JavaScript files from different modules at the time of compilation. |
| D. | All of the above |
| Answer» E. | |
| 9. |
RequireJS was developed by David Mark and its initial version v1.0.0 was released in ? |
| A. | 2008 |
| B. | 2009 |
| C. | 2010 |
| D. | 2011 |
| Answer» C. 2010 | |
| 10. |
___________ is a JavaScript library and file loader which manages the dependencies between JavaScript files and in modular programming. |
| A. | PolymerJS |
| B. | VueJs |
| C. | RequireJS |
| D. | NodeJS |
| Answer» D. NodeJS | |