Web Technology Questions

Q:

If an array with name as "names" contain three elements, then how will you print the third element of this array?

Answer

Print third array element document.write(names[2]);

Note:- Array index starts with 0.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 2791
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 2770
Q:

In HTML document the tags are

A) hidden keywords B) used to display the content
C) Both A & B D) None of the above
 
Answer & Explanation Answer: C) Both A & B

Explanation:

Hypertext Markup Language (HTML) is the standard markup language for creating web pages and web applications.

HTML tags are the hidden keywords within a web page that define how your web browser must format and display the content. Most tags must have two parts, an opening and a closing part. For example, <html> is the opening tag and </html> is the closing tag.

Report Error

View Answer Report Error Discuss

Filed Under: Web Technology
Job Role: IT Trainer

8 2727
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 2707
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 2695
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 2659
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 2628
Q:

How are documents accessed and manipulated in XML?

Answer

The XML DOM (document object model) is used the access and management of xml. It is a platform that is language neutral and allows a program or a script to dynamically access a document. It also allows the updation of content as well as the structure and style of the document. It is responsible for the defining of the object and properties of all xml elements as well as to define the methods for their access. There are various methods that can be used in xml dom such as:


- getElementsByTagName: used to call a specific user defined tag.


- setAttribute: used to change the value of an existing attribute.


- appendChild: used to add a child node to another node.


 

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

1 2624