Vous êtes sur la page 1sur 18

Gujarat University paper

April-2008
105-Introduction to Internet and Html Scripting
1. (A) Fill in the blanks:(Any Seven)
1. Computer network that usually spread across a campus or city is known as
Metropolitan area network
2. BPS stands for Bits Per Second.
3. IP address is a 32 bit number.
4. Front page and dreamweaver is an example of WYSIWY based HTML editor.
5. Simple Mail Transfer protocol defines the format in which mail should be sent to
the mail server.
6. method converts a string to an integer number.
7. ol list is used to develop glossary list.
8. The <HR> tag is used to draw a line.
9. .mil and .gov is the domain type of military and government
Organization.
10. In javascript method of document object returns a collection
of objects with the specified name.

(B) State whether following statements are true/false (any seven)

1. Star topology consists of one central computer which acts as


router to transmit messages to other computer in the network.
TRUE
2. To create web pages, a language called http is used. TRUE
3. Any computer which is directly connected to the internet
requires 16 bit unique identification number which is known as
ip address. FALSE
4. Web portal is a websit that is considered as an entry point to
other websites. TRUE
5. In ftp , is command is used to get list of filenames and
subdirectories.
6. Netscape navigator is popular web server. TRUE
7. Html tags are case sensitive. FALSE
8. The onBlur event handler is executed when a form field has
been modified.
9. Text-decoration attribute of css is used to make the text blink.

2. (A)
[a] Explain in short e-commerce.
Ans. E-commerce is buying and selling of goods and services over the
internet. The main goal of e-commerce is to reduce transaction
cost and reform various business processes. It includes commercial
activities involving e-mail,an online information service, a bulletin board
system, electronic data interchange system etc.

It helps in generating demand for products and services. It improves


order management, payment and other business process too.

E-commerce application can be classified in three board categories-


Business-to-Consumer (B2C), Business-to-business and Consumer-to-
Consumer (C2C).

[b] What is topology? Give information about all topology and explain any one.
Ans. Topology is a pattern in which the computer in a LAN are
connected to each other.
There are five types of topologies are used in computer network which
are as follows .
• Bus topology
• Star topology
• Ring topology
• Hierarical topology
• Hybrid topology

BUS TOPOLOGY
A bus topology is a network architecture in which a
set of computers are connected via a shared
communication line,which is known as bus.

 Advantages of bus topology

It is the cheapest topology which is easy to implement


and extend for quick setup of computer network.
If any one computer system fails then it will not effect
the function of other computers in the network.

 Disadvantages of bus topology

Administration of computer network which have bus


topology is difficult and costly.
Limited number of computers can be connected using
bus topology
It provides low security because if shared
communication line break then it will cause crash of
entire network.
[c]What is a style sheet? Explain each type of Style sheet.

(B)
[a] Explain H.R.tag with all the attributes.
Ans. it is used to draw horizontal line across the
page. An image can be specified to
customize the rule on web page

Attributes:
(1) Src: it is used to specify the location of a custom
image to be used instead of default line.

(2) Align: it is used to specify the alignment of the


horizontal rule. it has values like LEFT,RIGHT and
CENTER.

(3) Noshade: it is used to denote that no shading is


desired when the horizontal rule is rendered.

(4) Size: it is specified as a number of pixels i.e


size=100. the size denotes the thickness of the
horizontal rule to display.

(5) width: it is specified as a length. It can be specified


as a number of pixels or as a percentage i.e
width=30%.

(6) color: it is used specify the color of the horizontal


rule.

[b] How would you distinguish between Distributed Network and Centralized
Network.

[c] State the utility of the following attributes: font-family, text-transform, margin
with respect to css.

3. (A)

[a] State the type use and attribute of the <A> tag. Explain the difference
between internal link and external link.
Ans. Type: - container tag

USE:-It is used to put hyperlinks in the web page. It is also


useful in adding internal and external links.

 Attributes: -
(1) href: it is used to specify path of the hyper document. Value should be the
source filename of the web page to be linked
(2) Name: it is used to name the link. It is useful in giving
internal links

(3) Target: it is used to define target where linked page should


be opened

Difference between internal and external links

• Internal link is link within the same web page. This


link can be absolute link path or relative link path.
• External link is a link given to some other HTML
document. This link can be absolute path

[b] Explain the <FRAME>tag with attributes.


ANS:=It is used to include the web page to into the framIt is an empty tag.

Attributes:=
(1) src: it is used to specify path of the web page or the source
e.g src=”c:\table.html”

(2) name: it is used to assign a name to the frame e.g


name=”main”

(3) scrolling : it is used to specify whether scroll bars


are to be displayed or not. Its
values are “auto ,yes, no”. Its default value is
auto e.g scrolling=”yes”

(4) margin width: it is used to specify in pixels the width of the left and
the right margins for a frame e.g marginwidth=”10”.

(5) margin height : it is used to specify in pixels the


height of the top and bottom margins for a frame e.g
margin height =“10”.

(6) noresize : it is used to indicate that the frame cannot be resized.

[c] Explain Frames in HTML, with examples. State its


advantages.
Ans. Frames are used to split the browser window in several
individual frames that contain a separate HTML document.
Frames are used to improve appearance and usability of a
web site. Frames generally include navigation link, header or
footers, which help user to find and navigate to required
information
Frame can be defined using <FRAMESET> tag. Each
frameset can contain two or more than frames.

Advantages of Frames

 Frame provides technical sophisticated


appearance to the web site.
 It helps to reduce downloading time and
improve the usability of the web site.
 It separates content of web site from navigation
elements, which is useful for web site
maintenance and content modification.

3. (B) Answer the following: (any two)

[a] State the difference between cell padding and cell spacing.
Ans. cell spacing: it is used to specify between the two cells.
Cell padding: it is used to specify space between cell boundary and
text.

[b] state the utility of <BLOCKQUOTE> and <PRE> tags with example.
1. Ans. 1. <BLOCKQUOTE>tag
It is used for displaying text which has margin at left side and right
sides. It is used for extended quotations.
<HTML>
<HEAD>
<TITLE>TABLE <TITLE>
</HEAD>
<BODY>
<BLOCKQUOTE>
Hyper text markup language (HTML) is a language which is used
to create web pages. In this chapter we will discuss fundamental o
HTML like HTML tags, how to create first HTML document,
structure of HTML.
</BLOCKQUATE>
</BODY>
</HTML>
2. <PRE>TAG
It is used to designate a section of text that is
already formatted for display. Preformatted text
is usually used for computer output.
<HTML>
<HEAD>
<TITLE>TABLE</TITLE>
</HEAD>
<BODY>
<P>C PROGRAM</P>
<PRE>
#include<stdio.h>
Void main()
{
Printf(“\n hello world”);
}
</PRE>
</BODY>
</HTML>
[c] write in brief about the unordered list. List and explain the
tag used to create the unordered list also give an example
for the same
Ans:= Unordered list is also known as bulleted list which can be developed
using<UL>tag with list items which are followed by <LI>tag . the default bullet
appears in unordered list is solid disc.
1. <UL>tag
It is used to display items in bulleted list.

 Attribute: a) type : it is used to specify unordered list and


value are”disc, square and circle” and by default value is
“disc”

2. <LI> tag
It is used to list the items of the list.

 Attribute: (1) it is used to specify the type of icon to display beside the item.
Its value are “ disc, square and circle “ in case of unordered list.

Example:

<HTML>
<HEAD>
<TITLE>TABLE</TITLE>
</HEAD>
<BODY>
SOUTH Asian countries
<UL>
<LI>INDIA
<LI>PAKISTAN
<LI>SRI LANKA
<LI>BANGLADESH
</UL>
</BODY>
</HTML>
4. (A) Write an HTML code to display the following table:
Name: Jill
Date of birth: 06-10-1977
Nationality: Indian
Address: Street Ram Street
Town: Ahmedabad
District: Ahmedabad
State: Gujarat
Hobbies: Reading, Writing
Hello How r u ?

<HTML>
<HEAD>
</TITLE> BIO-DATA </TITLE>
<TABLE>
<BODY>
<TABLE BORDER = 5 ALIGN = "CENTER">
<TR>
<TH> NAME
<TD> :
<TD COLSPAN =3 > NISHA
</TR>
<TR>
<TH> D.O.B
<TD> :
<TD COLSPAN =3 > 23-07-1991
</TR>
<TR>
<TH> NATIONALITY
<TD> :
<TD COLSPAN = 3 >INDIAN
</TR>
<TR>
<TH ROWSPAN = 4>ADDRESS
<TD ROWSPAN =4>:
<TD> STREET
<TD> :
<TD> RAM STREET
</TR>
<TR>
<TD> TOWN
<TD> :
<TD> AHMEDABAD
</TR>
<TR>
<TD> DISTRICT
<TD> :
<TD> AHMEDABAD
</TR>
<TR>
<TD> STATE
<TD> :
<TD> GUJARAT
</TR>
<TR>
<TD COLSPAN =5 >HELLO!HOW ARE U?
</TR>
</TABLE>
</BODY>
</HTML>

OR

ROLL NO I&H MATHS CFDP PCS


1 78 88 55 66
2 90 65 85
3 56
4 77
HELLO HOW R U?

<HTML>
<HEAD>
<TITLE> TABLE </TITLE>
</HEAD>
<TABLE>
<BODY>
<TABLE BORDER = 4 ALIGN = "CENTER"bgcolor="pink">
<TR>
<TH> ROLL NO
<TH> I&H
<TH> MATHS
<TH> C.F.D.P
<TH> PCS
</TR>
<TR>
<TD> 1
<TD> 78
<TD> 88
<TD> 55
<TD> 66
</TR>
<TR>
<TD> 2
<TD COLSPAN = 2 ALIGN = "CENTER" VALIGN = "CENTER">
90
<TD> 65
<TD ROWSPAN = 2 ALIGN = "CENTER" VALIGN =
"CENTER"> 85
</TR>
<TR>
<TD> 3
<TD COLSPAN = 3 ALIGN = "CENTER" VALIGN = "CENTER">
56
</TR>
<TR>
<TD> 4
<TD COLSPAN = 4 ALIGN ="CENTER" VALIGN
="CENTER">77
</TR>
<TR>
<TD COLSPAN = 5 ALIGN ="CENTER" VALIGN = "CENTER">
HELLO HOW ARE U?
</TR>
</TABLE>
</BODY>
</HTML>

Gujarat University paper


April-2008
105-Introduction to Internet and Html Scripting
2. (A) Fill in the blanks:(Any Seven)
1. Computer network that usually spread across a campus or city is known as
Metropolitan area network
2. BPS stands for Bits Per Second.
3. IP address is a 32 bit number.
4. Front page and dreamweaver is an example of WYSIWY based HTML editor.
5. Simple Mail Transfer protocol defines the format in which mail should be sent to
the mail server.
6. method converts a string to an integer number.
7. ol list is used to develop glossary list.
8. The <HR> tag is used to draw a line.
9. .mil and .gov is the domain type of military and government
Organization.
10. In javascript method of document object returns a collection
of objects with the specified name.

(B) State whether following statements are true/false (any seven)


10. Star topology consists of one central computer which acts as
router to transmit messages to other computer in the network.
TRUE
11. To create web pages, a language called http is used. TRUE
12. Any computer which is directly connected to the internet
requires 16 bit unique identification number which is known as
ip address. FALSE
13. Web portal is a websit that is considered as an entry point to
other websites. TRUE
14. In ftp , is command is used to get list of filenames and
subdirectories.
15. Netscape navigator is popular web server. TRUE
16. Html tags are case sensitive. FALSE
17. The onBlur event handler is executed when a form field has
been modified.
18. Text-decoration attribute of css is used to make the text blink.

2. (A)
[a] Explain in short e-commerce.
Ans. E-commerce is buying and selling of goods and services over the
internet. The main goal of e-commerce is to reduce transaction
cost and reform various business processes. It includes commercial
activities involving e-mail,an online information service, a bulletin board
system, electronic data interchange system etc.

It helps in generating demand for products and services. It improves


order management, payment and other business process too.

E-commerce application can be classified in three board categories-


Business-to-Consumer (B2C), Business-to-business and Consumer-to-
Consumer (C2C).

[b] What is topology? Give information about all topology and explain any one.
Ans. Topology is a pattern in which the computer in a LAN are
connected to each other.
There are five types of topologies are used in computer network which
are as follows .
• Bus topology
• Star topology
• Ring topology
• Hierarical topology
• Hybrid topology
BUS TOPOLOGY
A bus topology is a network architecture in which a
set of computers are connected via a shared
communication line,which is known as bus.

 Advantages of bus topology

It is the cheapest topology which is easy to implement


and extend for quick setup of computer network.
If any one computer system fails then it will not effect
the function of other computers in the network.

 Disadvantages of bus topology

Administration of computer network which have bus


topology is difficult and costly.
Limited number of computers can be connected using
bus topology
It provides low security because if shared
communication line break then it will cause crash of
entire network.
[c]What is a style sheet? Explain each type of Style sheet.

(B)

[a] Explain H.R.tag with all the attributes.


Ans. it is used to draw horizontal line across the
page. An image can be specified to
customize the rule on web page

Attributes:
(1) Src: it is used to specify the location of a custom
image to be used instead of default line.

(2) Align: it is used to specify the alignment of the


horizontal rule. it has values like LEFT,RIGHT and
CENTER.

(3) Noshade: it is used to denote that no shading is


desired when the horizontal rule is rendered.

(4) Size: it is specified as a number of pixels i.e


size=100. the size denotes the thickness of the
horizontal rule to display.
(5) width: it is specified as a length. It can be specified
as a number of pixels or as a percentage i.e
width=30%.

(6) color: it is used specify the color of the horizontal


rule.

[b] How would you distinguish between Distributed Network and Centralized
Network.

[c] State the utility of the following attributes: font-family, text-transform, margin
with respect to css.

3. (A)

[a] State the type use and attribute of the <A> tag. Explain the difference
between internal link and external link.
Ans. Type: - container tag

USE:-It is used to put hyperlinks in the web page. It is also


useful in adding internal and external links.

 Attributes: -
(1) href: it is used to specify path of the hyper document. Value should be the
source filename of the web page to be linked

(2) Name: it is used to name the link. It is useful in giving


internal links

(3) Target: it is used to define target where linked page should


be opened

Difference between internal and external links

• Internal link is link within the same web page. This


link can be absolute link path or relative link path.
• External link is a link given to some other HTML
document. This link can be absolute path

[b] Explain the <FRAME>tag with attributes.


ANS:=It is used to include the web page to into the framIt is an empty tag.

Attributes:=
(1) src: it is used to specify path of the web page or the source
e.g src=”c:\table.html”
(2) name: it is used to assign a name to the frame e.g
name=”main”

(3) scrolling : it is used to specify whether scroll bars


are to be displayed or not. Its
values are “auto ,yes, no”. Its default value is
auto e.g scrolling=”yes”

(4) margin width: it is used to specify in pixels the width of the left and
the right margins for a frame e.g marginwidth=”10”.

(5) margin height : it is used to specify in pixels the


height of the top and bottom margins for a frame e.g
margin height =“10”.

(6) noresize : it is used to indicate that the frame cannot be resized.

[c] Explain Frames in HTML, with examples. State its


advantages.
Ans. Frames are used to split the browser window in several
individual frames that contain a separate HTML document.
Frames are used to improve appearance and usability of a
web site. Frames generally include navigation link, header or
footers, which help user to find and navigate to required
information

Frame can be defined using <FRAMESET> tag. Each


frameset can contain two or more than frames.

Advantages of Frames

 Frame provides technical sophisticated


appearance to the web site.
 It helps to reduce downloading time and
improve the usability of the web site.
 It separates content of web site from navigation
elements, which is useful for web site
maintenance and content modification.

3. (B) Answer the following: (any two)

[a] State the difference between cell padding and cell spacing.
Ans. cell spacing: it is used to specify between the two cells.
Cell padding: it is used to specify space between cell boundary and
text.

[b] state the utility of <BLOCKQUOTE> and <PRE> tags with example.
2. Ans. 1. <BLOCKQUOTE>tag
It is used for displaying text which has margin at left side and right
sides. It is used for extended quotations.
<HTML>
<HEAD>
<TITLE>TABLE <TITLE>
</HEAD>
<BODY>
<BLOCKQUOTE>
Hyper text markup language (HTML) is a language which is used
to create web pages. In this chapter we will discuss fundamental o
HTML like HTML tags, how to create first HTML document,
structure of HTML.
</BLOCKQUATE>
</BODY>
</HTML>
2. <PRE>TAG
It is used to designate a section of text that is
already formatted for display. Preformatted text
is usually used for computer output.
<HTML>
<HEAD>
<TITLE>TABLE</TITLE>
</HEAD>
<BODY>
<P>C PROGRAM</P>
<PRE>
#include<stdio.h>
Void main()
{
Printf(“\n hello world”);
}
</PRE>
</BODY>
</HTML>
[c] write in brief about the unordered list. List and explain the
tag used to create the unordered list also give an example
for the same
Ans:= Unordered list is also known as bulleted list which can be developed
using<UL>tag with list items which are followed by <LI>tag . the default bullet
appears in unordered list is solid disc.
1. <UL>tag
It is used to display items in bulleted list.
 Attribute: a) type : it is used to specify unordered list and
value are”disc, square and circle” and by default value is
“disc”

2. <LI> tag
It is used to list the items of the list.

 Attribute: (1) it is used to specify the type of icon to display beside the item.
Its value are “ disc, square and circle “ in case of unordered list.

Example:

<HTML>
<HEAD>
<TITLE>TABLE</TITLE>
</HEAD>
<BODY>
SOUTH Asian countries
<UL>
<LI>INDIA
<LI>PAKISTAN
<LI>SRI LANKA
<LI>BANGLADESH
</UL>
</BODY>
</HTML>
4. (A) Write an HTML code to display the following table:

Name: Jill
Date of birth: 06-10-1977
Nationality: Indian
Address: Street Ram Street
Town: Ahmedabad
District: Ahmedabad
State: Gujarat
Hobbies: Reading, Writing
Hello How r u ?

<HTML>
<HEAD>
</TITLE> BIO-DATA </TITLE>
<TABLE>
<BODY>
<TABLE BORDER = 5 ALIGN = "CENTER">
<TR>
<TH> NAME
<TD> :
<TD COLSPAN =3 > NISHA
</TR>
<TR>
<TH> D.O.B
<TD> :
<TD COLSPAN =3 > 23-07-1991
</TR>
<TR>
<TH> NATIONALITY
<TD> :
<TD COLSPAN = 3 >INDIAN
</TR>
<TR>
<TH ROWSPAN = 4>ADDRESS
<TD ROWSPAN =4>:
<TD> STREET
<TD> :
<TD> RAM STREET
</TR>
<TR>
<TD> TOWN
<TD> :
<TD> AHMEDABAD
</TR>
<TR>
<TD> DISTRICT
<TD> :
<TD> AHMEDABAD
</TR>
<TR>
<TD> STATE
<TD> :
<TD> GUJARAT
</TR>
<TR>
<TD COLSPAN =5 >HELLO!HOW ARE U?
</TR>
</TABLE>
</BODY>
</HTML>

OR

ROLL NO I&H MATHS CFDP PCS


1 78 88 55 66
2 90 65 85
3 56
4 77
HELLO HOW R U?

<HTML>
<HEAD>
<TITLE> TABLE </TITLE>
</HEAD>
<TABLE>
<BODY>
<TABLE BORDER = 4 ALIGN = "CENTER"bgcolor="pink">
<TR>
<TH> ROLL NO
<TH> I&H
<TH> MATHS
<TH> C.F.D.P
<TH> PCS
</TR>
<TR>
<TD> 1
<TD> 78
<TD> 88
<TD> 55
<TD> 66
</TR>
<TR>
<TD> 2
<TD COLSPAN = 2 ALIGN = "CENTER" VALIGN = "CENTER">
90
<TD> 65
<TD ROWSPAN = 2 ALIGN = "CENTER" VALIGN =
"CENTER"> 85
</TR>
<TR>
<TD> 3
<TD COLSPAN = 3 ALIGN = "CENTER" VALIGN = "CENTER">
56
</TR>
<TR>
<TD> 4
<TD COLSPAN = 4 ALIGN ="CENTER" VALIGN
="CENTER">77
</TR>
<TR>
<TD COLSPAN = 5 ALIGN ="CENTER" VALIGN = "CENTER">
HELLO HOW ARE U?
</TR>
</TABLE>
</BODY>
</HTML>

Vous aimerez peut-être aussi