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

What is the use of FOR XML in SQL Server?

Answer

SQL Server is having a fantastic feature to retrieve data persisted in the form of XML format. The data in the XML format can be retrieved using FOR XML clause appending to the SELECT statement.


It offers 3 modes.


- “FOR XML AUTO": Returns XML elements that are nested, based on which tables are listed in the "from" part of the query, and which fields are listed in the "select" part.


- "FOR XML RAW": Returns XML elements with the "row" prefix (ex: ""). Each column in a table is represented as an attribute and null column values aren't included.


- "FOR XML EXPLICIT": Explicit mode is the most complex shaping method used in SQL Server 2000. It allows users to query a data source in such a way that the names and values of the returned XML are specified before the query batch is executed. 

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1677
Q:

What is a Web Worker?

Answer

- A web worker is a JavaScript which runs in the background. It exists in external files. 


 - It is independent of other scripts and does not affect the performance of the page. 


 - Web workers are usually used for CPU intensive tasks.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1676
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 1676
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 1676
Q:

Explain Non Breaking space in HTML.

Answer

When we add many spaces in the content then HTML remove all space except one space this is Non Breaking Space. To overcome this problem we use “&nbsp”. Suppose we want to add 3 space between two words then we have to use &nbp three time. 


 

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1674
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 1665
Q:

Differentiate between Canvas and SVG.

Answer

Some important differences between Canvas and SVG:


- Canvas is resolution dependent while SVG is not. 


- Canvas does not provide any support for event handlers while SVG does. 


- Canvas is suitable for graphic-intensive games while SVG is not suitable for gaming.


- Canvas is suitable for small rendering areas while SVG is suitable for large rendering areas like Google maps.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1646