Académique Documents
Professionnel Documents
Culture Documents
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.
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.
[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.
(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.
[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
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
Attributes:=
(1) src: it is used to specify path of the web page or the source
e.g src=”c:\table.html”
(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”.
Advantages of Frames
[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.
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
<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>
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.
[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.
(B)
Attributes:
(1) Src: it is used to specify the location of a custom
image to be used instead of default line.
[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
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
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”
(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”.
Advantages of Frames
[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
<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>