Web Technology Questions

Q:

Explain about services in Angular.js ?

Answer

In angular.js services are the singleton objects or functions that are used for carrying out specific tasks.
It holds some business logic and these function can be called as controllers, directive, filters and so on.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

4 2206
Q:

What is the purpose of web browser?

Answer

- Web browser is used to run the software application that allows retrieving, presenting and traversing the information from one place to another. 


- Web browser provides the resources using the WWW (World Wide Web) this can be identified by URI (Uniform Resource Identifier).


- Web browser fetches the data like web page, image, video or other piece of content from the server and displays it accordingly. 


- Web browser uses hyperlinks to display the resources and allow the users to navigate their browsers according to the resources. 


- Web browser defines the application software that is designed for the user to access and retrieve the documents using the Internet.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 2185
Q:

What is the primary function of the Web browsers?

Answer

- Web browser functions are to provide the resources or information to the user when asked by them. 


- It processes the user inputs in the form of URL like https://www.google.com in the browser and allows the access to that page. 


- URL is used to identify the resources and fetch them from the server and displays it to the client. 


- It allows the user to interact with the web pages and dynamic content like surveys, forms, etc. 


- It also allows the user to navigate through the complete web page and see its source code in the HTML format. 


- It provides security to the data and the resources that are available on the web that is by using the secure methods.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 2175
Q:

What is difference between HTML and XHTML?

Answer

The differences between HTML and XHTML are:


- HTML is application of Standard Generalized Markup Language(SGML) whereas XML is application of Extensible Markup Language(XML).


- HTML is a static Web Page whereas XHTML is dynamic Web Page.


- HTML allows programmer to perform changes in the tags and use attribute minimization whereas XHTML when user need a new markup tag then user can define it in this.


- HTML is about displaying information whereas XHTML is about describing the information.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

1 2167
Q:

Which command displays memory usage in linux?

A) Top B) Free
C) Buffer D) Swap
 
Answer & Explanation Answer: B) Free

Explanation:

Free command displays memory usage in linux.

Report Error

View Answer Report Error Discuss

3 2166
Q:

What is XML Namespace?

Answer

An XSL sheet or a document may have duplicate elements and attributes. Therefore, the XML namespaces define a way to distinguish between duplicate element types and attribute names.


An XML namespace is a collection of element type and attribute names. It is a URI due to which any element type or attribute name in an XML namespace can be uniquely identified. 


It consists of two parts : the name of the XML namespace and the local name.


e.g.: xmlns: h=”https://www.abc.com”


After this, you can write


<h:table>


……..


</h:table>


to associate the table with the declared namespace. 

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 2151
Q:

What are different ways to integrate a CSS into a Web page?

Answer

There are three ways to integrate CSS into a Web page 


1. Inline: HTML elements may have CSS applied to them via the STYLE attribute.


2. Embedded: By placing the code in a STYLE element within the HEAD element.


3. Linked/ Imported: Place the CSS in an external file and link it via a link element.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 2132
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 2120