Interview Questions

AJAX Interview Questions Android Interview Questions Angular 2 Interview Questions AngularJs Interview Questions Apache Presto Interview Questions Apache Tapestry Interview Questions Arduino Interview Questions ASP.NET MVC Interview Questions Aurelia Interview Questions AWS Interview Questions Blockchain Interview Questions Bootstrap Interview Questions C Interview Questions C Programming Coding Interview Questions C# Interview Questions Cakephp Interview Questions Cassandra Interview Questions CherryPy Interview Questions Clojure Interview Questions Cobol Interview Questions CodeIgniter interview Questions CoffeeScript Interview Questions Cordova Interview Questions CouchDB interview questions CSS Buttons Interview Questions CSS Interview Questions D Programming Language Interview Questions Dart Programming Language Interview Questions Data structure & Algorithm Interview Questions DB2 Interview Questions DBMS Interview Questions Django Interview Questions Docker Interview Questions DOJO Interview Questions Drupal Interview Questions Electron Interview Questions Elixir Interview Questions Erlang Interview Questions ES6 Interview Questions and Answers Euphoria Interview Questions ExpressJS Interview Questions Ext Js Interview Questions Firebase Interview Questions Flask Interview Questions Flex Interview Questions Fortran Interview Questions Foundation Interview Questions Framework7 Interview Questions FuelPHP Framework Interview Questions Go Programming Language Interview Questions Google Maps Interview Questions Groovy interview Questions GWT Interview Questions Hadoop Interview Questions Haskell Interview Questions Highcharts Interview Questions HTML Interview Questions HTTP Interview Questions Ionic Interview Questions iOS Interview Questions IoT Interview Questions Java BeanUtils Interview Questions Java Collections Interview Questions Java Interview Questions Java JDBC Interview Questions Java Multithreading Interview Questions Java OOPS Interview Questions Java Programming Coding Interview Questions Java Swing Interview Questions JavaFX Interview Questions JavaScript Interview Questions JCL (Job Control Language) Interview Questions Joomla Interview Questions jQuery Interview Questions js Interview Questions JSF Interview Questions JSP Interview Questions KnockoutJS Interview Questions Koa Interview Questions Laravel Interview Questions Less Interview Questions LISP Interview Questions Magento Interview Questions MariaDB Interview Questions Material Design Lite Interview Questions Materialize CSS Framework Interview Questions MathML Interview Questions MATLAB Interview Questions Meteor Interview Questions MongoDB interview Questions Moo Tools Interview Questions MySQL Interview Questions NodeJS Interview Questions OpenStack Interview Questions Oracle DBA Interview Questions Pascal Interview Questions Perl interview questions Phalcon Framework Interview Questions PhantomJS Interview Questions PhoneGap Interview Questions Php Interview Questions PL/SQL Interview Questions PostgreSQL Interview Questions PouchDB Interview Questions Prototype Interview Questions Pure CSS Interview Questions Python Interview Questions R programming Language Interview Questions React Native Interview Questions ReactJS Interview Questions RequireJs Interview Questions RESTful Web Services Interview Questions RPA Interview Questions Ruby on Rails Interview Questions SAS Interview Questions SASS Interview Questions Scala Interview Questions Sencha Touch Interview Questions SEO Interview Questions Servlet Interview Questions SQL Interview Questions SQL Server Interview Questions SQLite Interview Questions Struts Interview Questions SVG Interview Questions Swift Interview Questions Symfony PHP Framework Interview Questions T-SQL(Transact-SQL) Interview Questions TurboGears Framework Interview Questions TypeScript Interview Questions UiPath Interview Questions VB Script Interview Questions VBA Interview Questions WCF Interview Questions Web icon Interview Questions Web Service Interview Questions Web2py Framework Interview Questions WebGL Interview Questions Website Development Interview Questions WordPress Interview Questions Xamarin Interview Questions XHTML Interview Questions XML Interview Questions XSL Interview Questions Yii PHP Framework Interview Questions Zend Framework Interview Questions Network Architect Interview Questions

Top 22 DOJO Interview Questions for 2022

1) What is DOJO?

DOJO is an open source JavaScript framework designed for very fast development of JavaScript/AJAX based application and websites having cross platform interdependencies.

2) Enlist all features of DOJO.

  • Widgets e.g. Menus, Sorted Tables, 2-D vector drawing etc.
  • Asynchronous Communication - It is the main feature of AJAX due to which information is exchanged and updated but page is not refreshed.
  • Packaging System - It provides modular development of functionality in individual or sub packages.
  • Client-Side Data Storage - Dojo Storage provides web-apps to store client side data in browsers.
  • Server-Side Data Storage - It implements under dojo.data namespace. Example- Csv Store, Opmi Store, Yahoo Store, Delicious Store, Rdf Store.

3) Give the architecture of DOJO.

  • dojo
  • dijit
  • dojox
  • util
  • dgrid
  • gridx

4) Explain Directory structure of DOJO.

It contains three specific files
  • /index.html- Starting point of Application.
  • /app- Application Module.
  • /app/main.js - Script for Application Module.

5) List the advantages of DOJO.

  • Regular Expression
  • Associative Array
  • Object and Classes
  • Loosely typed variables

6) List the disadvantages of DOJO.

  • Loading - Initial version was said to be bulky and slow to load but in version Dojo 1.7 have Asynchronous Module Definition (AMD) and nano loader which solved this issue.
  • Documentation - It has incomplete, scattered and outdated documentation which was improved when Dojo 1.8 release.
  • Learning Curve - It is difficult to learn as in comparison with jQuery.
  • Browser Support - Only limited browser supports Dojo.

7) Define Dijit and DojoX?

  • Dijit - It is an UI library of Dojo having namespace dijit. It requires Dojo Core and Dojo Base which provide the users to re-use the widgets.
  • DojoX -It contains utilities, classes and widgets that are not yet ready for inclusion in the main Dojo library.

8) Name the resources widget contains.

It contains two resources:
  • .js file: in this logic of the widget is stored.
  • HTML Snippet: Presentation of widget is shown.

9) List component of DOJO Framework.

  • DOJO GRID
  • DOJO BUTTON
  • DOJO TREE
  • DOJO LIST BOX etc.

10) Difference between DOJO and jQuery.

DOJO jQuery
It is a java script framework. It is a java script library.
High network bandwidth requires. Works good in low network bandwidth.
Few browser supports. Almost all browser supports.
It has built-in function. It has plug-in.

11) Enlist Dijit layout widgets.

  • Border Container
  • Split Container
  • Stack Container
  • Tab Container
  • Content Pane
  • Link Pane

12) What are the condition necessary for a function that record callback?

  • DOM should be ready.
  • All the modules of requested code have completed loading.
  • Higher priority function should be executed first.

13) What are modules in DOJO?

In Dojo, Modules are individual codes that can be loaded separately. They are identified using a string that is similar to the file path where the code is defined. Example: my/module/class.

14) Describe Language Libraries in DOJO.

It is the wrapper for common idioms which consist of functional programming API's Syntax:
  1. dojo.lang.*
Example: dojo.lang.forEach, dojo.lang.map, dojo.lang.assert.

15) Difference between AJAX and DOJO?

Ajax is a technology like XML whereas Dojo is a JavaScript framework also the binding techniques in Dojo are under its abstraction layer.

16) Define Widget Toolkit in Dojo?

Widget is a user interface object that has a layout. In Dojo widgets are HTML+CSS bound JavaScript. Example: Tabs, Dialogue, Sorting Table etc.

17) Describe Environment Specific Libraries in Dojo?

  • Libraries provide routines for handling the environment.
  • Consist of svg, html, style and dom packages.
  • Provides some methods for arrange HTML document.
  • There are also methods for handling DOM trees and SVG models.
  • Those routines extend existing routines.

18) Write a code for widget in Dojo?

  1. <script>
  2.                dojo.require(?dojo.widget.Editor2?);
  3. </script>
  4. <!-- ... -->
  5. <textarea dojoType=?Editor2?>
  6.     ...
  7. </textarea>

19) Describe Package System in Dojo?

Package System includes only needed files. Each JavaScript file can be named as package dojo.provide(dojo.string).

20) Explain Event System in Dojo?

Event system notifies when other function is called. Any DOM object can be connected to any function dojo.event.connect(”id”, ”onClick”, listenerObj, ”handleOnClick”);.

21) Describe Application Support Libraries in Dojo?

Application Support Libraries consist of routines where IO package provides routines e.g. for AJAX binding. There is also some useful routines in logging, storage and animation packages

22) Describe Package System in Dojo?

Package System includes only needed files. Each JavaScript file can be named as package dojo.provide(dojo.string).