Question Answers – Web Applications:
1. Identify the web browser software from the following options:
(a) Apache Web Server (b) MS Word (c) HTML (d) Mozilla Firefox
Ans. (d) Mozilla Firefox
2. A …………………… document is created by web server whenever a browser requests the documents.
(a) active (b) static (c) dynamic (d) none of the above
Ans. (c) Dynamic
3. A document is a fixed content document that is created by web server whenever a
browser requests the documents.
(a) active (b) static (c) dynamic (d) none of the above
Ans. (b) Static
4. Identify the web server software from the following options:
(a) Apache (b) MS Word (c) HTML (d) Mozilla Firefox
Ans. (a) Apache
5. The address of a resource on the net is known as:
(a) ISP (b) HTTP (c ) URL (d) WWW
Ans. (c) URL
6. A program that serves requested HTML files and pages.
(a) Web Address (b) Web Page (c ) Web Server (d) None of these
Ans. (c) Web Server
7. What is Uniform Resource Locator?
Ans: The uniform resource locator (URL) is the unique identifier of a web page. The address or URL of the
current page you are on appears in the "Address Bar" of the web browser. You can go directly to a web
page if you know its URL by simply typing the URL in the address bar. The most general form of a URL
:: 65 ::
syntax is as follows:
Protocol://domain name/<directory path>/<object name>
For example: http://www.openoffice.org/dev_docs/features/rc2.html
8. What is Web Server? Explain its main functions and also give examples.
Ans: Web server delivers (serves) content, such as web pages, using the Hypertext Transfer Protocol (HTTP),
over the World Wide Web. Web servers are computers on Internet on which Web pages are stored. It is
equipped with a program which listens request from the web client (Web Browser) and sends web
pages.The major functions of a web server are-
Serving of Web pages on request of Browser.
Controlling access and security of the server.
Monitoring and logging server access statistics.
Some most popular Web Servers are Apache Web Server (Open Source software for Linux), MS
Internet Information Server (IIS) and Netscape Enterprise Web Server etc.
9. What is Web Browser? Explain its main functions and also give examples.
Ans: A web browser is a client that initiates communication by making a request for a specific resource. The
server then responds with the content of that resource, or an error message if unable to do provide the
contents due to any reason.
It provides an interface to interact with Internet.
It send request to Web Server for specified web page and displays at client machine.
It also maintains History of visited Web Pages and may provide tools for easy web surfing.
Some commonly used Web Browsers are Internet Explorer, Mozilla FireFox, Google Chrome, Opera etc.
10. HTML tags must be written within:(a) <> (b) { } (c) [ ] (d) ( )
Ans: (a) <>
11. Explain the various elements of HTML?
HTML is made up of elements called Tags and Attributes, which specifies the format of the
documents.
A Tag is a coded HTML command that indicates how parts of web page should be displayed.
Tags are not case sensitive and contained within Angle Bracket <> i.e. <HTML> and <html> are same.
Most of the Tags are used in pair i.e. begin and end of the Tag. End Tag are begins with /
character.
e.g. <Head> ………. </Head>
An Attribute is a special word inside a Tag, which specifies additional information to Tags such as
colour, alignment etc.
Most of the Attributes are followed by a Value (number or words).
e.g. <BODY BGColor = “RED”>
12. What are container and empty Tags?
Ans.These are two types of Tags are used in HTML.
Container Tags : These HTML Tag written in pair i.e. starting <..> as well as ending </…> .
Ex. <Title> My First Page < /Title>
Empty Tag : These Tags require just a starting tag and not ending tag.
Ex. <HR>, <BR><IMG > etc.
13. Give two differences between HTML and XML.
Ans: The three differences between HTML and XML are:
HTML is designed to display data and hence, focused on the ‘look’ of the data, whereas XML is
designed to describe and carry dataandhence,focuses on‘whatdatais’.
In HTML tags are predefined, while in XML, tags can be created as per needs.
HTML tags are not case sensitive, whereas XML tags are case sensitive
14. What is an unordered list?
Ans: Bulleted/unordered list <UL> tag is used to indicate a list item as contained in an unordered or
bulleted form.
15. What is ordered list?
:: 66 ::
Ans: The numbered/ordered list <OL> tag is used to indicate a list item as contained in an ordered
or numbered form.
16. What is table? What are the basic commands for creating a table?
Ans: Table is a collection of rows and column.
Followings are important tags
<Table> :- used to give identification to a table
<TH> :- To provide headings in a table
<TR>:- (Table Row) to create Row in a table
<TD> :- (Table Data) to create columns in a row
17. What do you understand by ALINK? Explain with an example.
Ans: Links which are currently being visited in web page are known as Active Links (ALINK).
Example:
<BODY TEXT = “#FFFFFF” ALINK=”#FF0000”>
<A HREF=”www.kvsangathan.nic.in”> Kendriya Vidyalaya Sangathan </A><BR>
<A HREF = www.cbse.nic.in> Central Board of Secondary Education </A>
</BODY>
18. What is FORM tag? Explain with example.
Ans: To create or use forms in a web page <FORM> tag is used. Form is means to collect data from
the site visitor. It is done with the help of controls that collect data and send it over.
Example: <FORM method = “POST” action=submitform.asp>
19. What is INPUT tag? Explain with example.
Ans: Text boxes are single line text input controls that are created using <INPUT> tag whose TYPE
attribute has a value as “Text”. Example:
<FORM method = “POST” action=submitform.asp>
First Name:<INPUT TYPE=”text” NAME = “fname”/><BR>
Last Name:<INPUT TYPE=”text” NAME = “lname” />
</FORM>
20. What is the purpose of select tag?
Ans: <SELECT> tag is used to create a drop down box in which many options are available; user can make
selection from the list. Example:
<SELECT name = “stream”>
<OPTION value=”Science”> Science</OPTION>
<OPTION value=”Commerce”> Commerce </OPTION>
<option value=”Humanities”> Humanities </OPTION>
</SELECT>
21. What is XML?
Ans. - XML is eXtensible Markup Language which allows creating application specific structured document by
allowing creation of new tags. These structured documents can later be presented in humanunderstandable
manner in different ways.
22. Describe features of XML
Ans. - Features of XML:
XML is designed to carry data not to display data.
XML is self-descriptive. Tags are not pre-defined; rather they are created to describe the content in
appropriate manner.
XML is free and extensible and XML is platform independent.
XML can be used to create new languages, since it is a Meta language.
XML is supported and recommended by World Wide Web Consortium (W3C)
1. Identify the web browser software from the following options:
(a) Apache Web Server (b) MS Word (c) HTML (d) Mozilla Firefox
Ans. (d) Mozilla Firefox
2. A …………………… document is created by web server whenever a browser requests the documents.
(a) active (b) static (c) dynamic (d) none of the above
Ans. (c) Dynamic
3. A document is a fixed content document that is created by web server whenever a
browser requests the documents.
(a) active (b) static (c) dynamic (d) none of the above
Ans. (b) Static
4. Identify the web server software from the following options:
(a) Apache (b) MS Word (c) HTML (d) Mozilla Firefox
Ans. (a) Apache
5. The address of a resource on the net is known as:
(a) ISP (b) HTTP (c ) URL (d) WWW
Ans. (c) URL
6. A program that serves requested HTML files and pages.
(a) Web Address (b) Web Page (c ) Web Server (d) None of these
Ans. (c) Web Server
7. What is Uniform Resource Locator?
Ans: The uniform resource locator (URL) is the unique identifier of a web page. The address or URL of the
current page you are on appears in the "Address Bar" of the web browser. You can go directly to a web
page if you know its URL by simply typing the URL in the address bar. The most general form of a URL
:: 65 ::
syntax is as follows:
Protocol://domain name/<directory path>/<object name>
For example: http://www.openoffice.org/dev_docs/features/rc2.html
8. What is Web Server? Explain its main functions and also give examples.
Ans: Web server delivers (serves) content, such as web pages, using the Hypertext Transfer Protocol (HTTP),
over the World Wide Web. Web servers are computers on Internet on which Web pages are stored. It is
equipped with a program which listens request from the web client (Web Browser) and sends web
pages.The major functions of a web server are-
Serving of Web pages on request of Browser.
Controlling access and security of the server.
Monitoring and logging server access statistics.
Some most popular Web Servers are Apache Web Server (Open Source software for Linux), MS
Internet Information Server (IIS) and Netscape Enterprise Web Server etc.
9. What is Web Browser? Explain its main functions and also give examples.
Ans: A web browser is a client that initiates communication by making a request for a specific resource. The
server then responds with the content of that resource, or an error message if unable to do provide the
contents due to any reason.
It provides an interface to interact with Internet.
It send request to Web Server for specified web page and displays at client machine.
It also maintains History of visited Web Pages and may provide tools for easy web surfing.
Some commonly used Web Browsers are Internet Explorer, Mozilla FireFox, Google Chrome, Opera etc.
10. HTML tags must be written within:(a) <> (b) { } (c) [ ] (d) ( )
Ans: (a) <>
11. Explain the various elements of HTML?
HTML is made up of elements called Tags and Attributes, which specifies the format of the
documents.
A Tag is a coded HTML command that indicates how parts of web page should be displayed.
Tags are not case sensitive and contained within Angle Bracket <> i.e. <HTML> and <html> are same.
Most of the Tags are used in pair i.e. begin and end of the Tag. End Tag are begins with /
character.
e.g. <Head> ………. </Head>
An Attribute is a special word inside a Tag, which specifies additional information to Tags such as
colour, alignment etc.
Most of the Attributes are followed by a Value (number or words).
e.g. <BODY BGColor = “RED”>
12. What are container and empty Tags?
Ans.These are two types of Tags are used in HTML.
Container Tags : These HTML Tag written in pair i.e. starting <..> as well as ending </…> .
Ex. <Title> My First Page < /Title>
Empty Tag : These Tags require just a starting tag and not ending tag.
Ex. <HR>, <BR><IMG > etc.
13. Give two differences between HTML and XML.
Ans: The three differences between HTML and XML are:
HTML is designed to display data and hence, focused on the ‘look’ of the data, whereas XML is
designed to describe and carry dataandhence,focuses on‘whatdatais’.
In HTML tags are predefined, while in XML, tags can be created as per needs.
HTML tags are not case sensitive, whereas XML tags are case sensitive
14. What is an unordered list?
Ans: Bulleted/unordered list <UL> tag is used to indicate a list item as contained in an unordered or
bulleted form.
15. What is ordered list?
:: 66 ::
Ans: The numbered/ordered list <OL> tag is used to indicate a list item as contained in an ordered
or numbered form.
16. What is table? What are the basic commands for creating a table?
Ans: Table is a collection of rows and column.
Followings are important tags
<Table> :- used to give identification to a table
<TH> :- To provide headings in a table
<TR>:- (Table Row) to create Row in a table
<TD> :- (Table Data) to create columns in a row
17. What do you understand by ALINK? Explain with an example.
Ans: Links which are currently being visited in web page are known as Active Links (ALINK).
Example:
<BODY TEXT = “#FFFFFF” ALINK=”#FF0000”>
<A HREF=”www.kvsangathan.nic.in”> Kendriya Vidyalaya Sangathan </A><BR>
<A HREF = www.cbse.nic.in> Central Board of Secondary Education </A>
</BODY>
18. What is FORM tag? Explain with example.
Ans: To create or use forms in a web page <FORM> tag is used. Form is means to collect data from
the site visitor. It is done with the help of controls that collect data and send it over.
Example: <FORM method = “POST” action=submitform.asp>
19. What is INPUT tag? Explain with example.
Ans: Text boxes are single line text input controls that are created using <INPUT> tag whose TYPE
attribute has a value as “Text”. Example:
<FORM method = “POST” action=submitform.asp>
First Name:<INPUT TYPE=”text” NAME = “fname”/><BR>
Last Name:<INPUT TYPE=”text” NAME = “lname” />
</FORM>
20. What is the purpose of select tag?
Ans: <SELECT> tag is used to create a drop down box in which many options are available; user can make
selection from the list. Example:
<SELECT name = “stream”>
<OPTION value=”Science”> Science</OPTION>
<OPTION value=”Commerce”> Commerce </OPTION>
<option value=”Humanities”> Humanities </OPTION>
</SELECT>
21. What is XML?
Ans. - XML is eXtensible Markup Language which allows creating application specific structured document by
allowing creation of new tags. These structured documents can later be presented in humanunderstandable
manner in different ways.
22. Describe features of XML
Ans. - Features of XML:
XML is designed to carry data not to display data.
XML is self-descriptive. Tags are not pre-defined; rather they are created to describe the content in
appropriate manner.
XML is free and extensible and XML is platform independent.
XML can be used to create new languages, since it is a Meta language.
XML is supported and recommended by World Wide Web Consortium (W3C)
No comments:
Post a Comment