Web Technology Questions

Q:

Which JavaScript objects are not accessible to web worker?

Answer

Following JavaScript objects are not accessible to web worker: 


- The window object


- The document object


- The parent object

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 2900
Q:

What is a REPL in context of Node.js?

Answer

Read - Reads users input, parse the input into JavaScript data-structure and stores in memory


Eval - Evaluates the data structure


Print - Prints the result


Loop - Loops the above command until user press ctrl-c twice

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology
Job Role: Software Architect

0 2885
Q:

What are the Advantages of Node.js?

Answer

Aynchronous and Event Driven - All APIs of Node.js library area unit aynchronous that's non-blocking. It basically means that a Node.js based mostly server not waits for a API to return information. Server moves to next API when calling it and a notification mechanism of Events of Node.js helps server to induce response from the previous API decision.


Very FastNode.js library is very fast in execution of code.


Single Threaded but highly Scalable Node.js uses a single threaded model with event looping. Node.js uses a single threaded program and same program can services much larger number of requests than traditional server like open source.


No Buffering - Node.js applications never buffer any data. These applications simply output the data in faster.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology
Job Role: Software Architect

0 2809
Q:

Are javascript and jQuery different?

Answer

jQuery is a quick as well as concise JavaScript Library that simplifies HTML document traversing, animating, event handling, & Ajax interactions for the purpose of quick web development needs. So although they are not entirely different, both are not the same either!

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 2797
Q:

Describe the Basic Steps used to create a tiles application in DHTML.

Answer

- Create a template that designs a layout for your application.


- Create the composing pages.


- Create a definition which means that suppose that you configured Tiles, in web.xml, to startup using the TilesServlet, we need to specify which files will contain the Tiles definitions to load.


- Render the definition.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

2 2776
Q:

What can javascript programs do?

Answer

Generation of HTML pages on-the-fly without accessing the Web server. The user can be given control over the browser like User input validation Simple computations can be performed on the client's machine The user's browser, OS, screen size, etc. can be detected Date and Time Handling

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 2726
Q:

What are the core directives of AngularJS?

Answer

Following are the 3 core directives of AngularJS.



  1. ng-app : This directive defines and links an AngularJS application to HTML.

  2. ng-model : This directive binds the values of AngularJS application data to HTML input controls.

  3. ng-bind : This directive binds the AngularJS Application data to HTML tags.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

1 2718
Q:

What are the privacy and security features being provided by web browsers?

Answer

- Web browser supports HTTP secure method that allows more security for the sites that are involved in day to day basis transaction. 


- Security offers quick and easy way to remove the unwanted material or the things that are stored without permission like cache, cookies and history. 


- Security is being provided by the use of blockers that blocks unwanted access to the websites from the outside. 


- Web browser uses other features like disabling of JavaScript and pop up blockers to block any unwanted scripts or messages to run on the system.


- Web browser also uses the security concerns in regard of blocking the access to the secure sites that provides money transfer facilities, etc.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

3 2697