Web Technology Questions

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 1393
Q:

How do you parse/validate the XML document?

Answer

Parsing the XML document is the only way to validate the XML file. Validation is done by either DOM parser or the SAX parser. 

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1391
Q:

What is the use of CSS sprites?

Answer

- A web page with large number of images takes a longer time to load. This is because each image separately sends out a http request.


- The concept of CSS sprite helps in reducing this loading time for a web page by combining various small images into one image. This reduces the numbers of http request and hence the loading time.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1387
Q:

How to Accessing Elements using javascript?

Answer

The elements of JavaScript are accessed by their names. By default the browser is accessed by the element ‘windows’ and the page by ‘document’. The corresponding element has user defined names for forms and its elements. For example


var pwd = windows.document.frmLogin.password.value;


assigns the value of the password field of the form fromLogin in the current document, where password is the name of the element and frmLogin is the name of the form. Like wise any form element is accessed.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1385
Q:

What are the principles in providing the security for the computer programs?

Answer

- The principle of least privilege is used to provide more security to the computer programs. 


- The principle allows the designing of the program such that any unauthorized access is not allowed and only the person who owns the program will be able to access it. 


- The services provided should be able to access only those products that need the services. 


- Web servers that are involved in responding the queries of the web users provide only accessing to the HTML files that will serve the purpose of the programs. 


- Computer programs should be made such that it provides secure features of logging into the program with proper authentication.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1384
Q:

What are the advantages of the external over inline style methods?

Answer

- External Style Sheets are useful as it keeps the style and content separately and doesn’t allow it to mix with each other. It can control the styles for multiple documents, whereas inline style mixes the content with the style and make the code messier.


- External style sheet allows the creation of various classes in a structured way, whereas inline style sheet can’t create or control class elements.


- External style sheet can use selector and grouping methods to apply styles, whereas inline styles can’t use selector and grouping methods.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1380
Q:

What are the ways to change the cookie setting using the web browser?

Answer

The cookie settings include the enabling and disabling of the services that are used with the web browsers.


The following steps are taken to set the cookies:


- The TOOLS menu is being opened on web browser and the privacy tab is selected from where the privacy of individual user can be managed. 


- Using the ADVANCED tab the options to set the cookies will be visible and it will allow the overriding of cookie. 


- The cookies can be accepted by checking the first party cookies or the third party cookies. Out of these choices the first party cookies provide more security. 


- Check the checkbox for "Always allow session cookies" so that the session cookies can be maintained. 

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1377
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 1375