Web Technology Questions

Q:

JavaScript vs. Jscript

Answer

JavaScript:


- JavaScript is a scripting language developed by Netscape Communications.


- The Netscape Navigator interprets JavaScript embedded into Web pages.


- JavaScript is used for developing web applications.


- It is not dependent on Sun Microsystem's Java language.


JScript:


- Microsoft JScript is an open implementation of Netscape's JavaScript.


- JScript is a scripting language designed to create active online content. ActiveX controls, Java programs, etc can be linked and automated in the web pages using JScript.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1739
Q:

What are windows object and navigator object in JavaScript?

Answer

Windows object is top level object in Java script. It contains several other objects such as, document, history, location, name, menu bar etc., in itself. Window object is the global object for Java script that is written at client-side.


Information pertaining to the client browser and system is returned by the navigator object of JavaScript. Navigator object is the top level object for all users.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1739
Q:

What are the different objects used in JavaScripts?

Answer

JavaScripts uses a hierarchical structure that applies to the objects in a document. There are some objects that show the relationship of one object to another using the language.

Window object: This is the topmost object in the hierarchy. It represent the content area of browser window that consists of HTML documents. Each frame is also a window that has some actions inside it.


Document object: This object gets loaded in a window and consists of objects of different kind in the model. It consists of the content that will be written in the script.

Form object: Form objects are used for more interaction with the users. It represents the form elements inside <FORM>...</FORM> tag.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1736
Q:

How to determine the state of a checkbox using Javascript?

Answer

var checkedP = window.document.getElementById("myCheckBox").checked;

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1732
Q:

What is the use of Name based hosting?

Answer

- Name based is the virtual hosting that allows the virtual hosts to serve multiple hostnames that runs on single machine and having only one IP address.


- This is used when the web browser is used to request the resource from the server then the server respond using the hostname. 


- Web server uses HTTP protocol to respond to the requested hostname as the part of the request. 


- The server contains all the information of the website and the user that requests for the resources given. 


- Name based web hosting includes the resources and services that need to be given at the time of client’s request.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1730
Q:

What are the new features provided in HTML5?

Answer

Some of the new features provided in HTML5 are:


- It provides support for local storage


- New form controls, like calendar, date, time, email, url, search


- <canvas> element is provided to facilitate 2D drawing


- The <video> and <audio> elements are provided for media playback


- New content-specific elements are provided. For e.g. <article>, <header>, <footer>, <nav>, <section>

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1729
Q:

List the major benefits of E-commerce.

Answer

The major benefits of Ecommerce are:


- Secure       : More secure than a cheque.


- Fast           : The transactions take not more than a few seconds


- Always on  : The purchases can be made 24/7


- Convenient:  Ease of purchasing


-Reduced cost price : Reduction of Marketing and Advertising Costs

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1724
Q:

What are the different types of hostings that exist?

Answer

There are different types of hosting provided to upload and share their files using the web or Internet. 


- Free web hosting service: It provides limited services and offers it to companies in that it offers advertisements and other services with limitations. 


- Shared web hosting service: where a server shares many websites all placed at one place having the range from few to hundred. 


* The domains are most probably remains shared with a common pool of resources that is based on the server like RAM and CPU.


- Reseller web hosting: This is the web hosting that allows clients to provide web hosting to others. This includes individual domains that are listed using the affiliated with a reseller. 


- Virtual Dedicated Server: This is also known as also known as a Virtual Private Server (VPS). This provided the divided server resources in the virtual servers and the method that doesn’t relate directly to the hardware. 


- Home server: This is a single machine server that can be thought as a personal server that is used to host one or more web sites using the connection.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1719