16 marks question form unit 1 and 2 web technology
Unit-I
1)Explain the various methodologies by which you can retrieve data from Internet?
Internet Search Engine
Protocols used to retrieve the Data
i)FTP –Concepts
Commands &Semantics
Anonymous FTP
ii)TELNET
Network Virtual Treminal
Commands *Control Functions
Negotiable Options
iii)HTTP
iv)TFTP (16)
2)Explain about SGML?
Introduction
Basic Principles
Concepts of Logical Markup
Components of SGML
Defining your own Tag sets
Defining The Attributes of elements (16)
3)What is meant by Scripting Language?Explain any one of the Scripting Languages?
Definition-To create Dynamic Web content.
Eg:VB Script & Java Script
Introduction about VB Script
Functions of VB Script
VB Script Execution Environment
Embeding VB Script in to HTML.
Objects & Events.
Manipulating VB Script Variables with Operators.
Functions & Procedures. (16)
4)Explain about <TABLE> &<FRAME> tags in Detail?
Code for Basic HTML Table
<TABLE>
<TR>----------</TR> <!---Row1--->
<TR>----------</TR> <!---Row2-->
-------------------------
<TR>----------</TR> <!---Rowm-->
</TABLE>
Creating a Table cell.
i)Header cell
ii)Data cell
Table Alifnment
i)Aligning the Entiere Table
ii)Alignment within a row.
ii) Alignment within a cell.
Spanning Multiple Rows & Columns
<FRAMES>
Creating the <FRAMESET> tag
Creating the <FRAME> tag
Eg:<FRAMESET Rows=”10%,80%,10%”>
<FRAME name=”top” src=”a.html”>
<FRAME name=”mid”src=”b.html”>
<FRAME name=”bot” src=”c.html”>
</FRAMESET> (16)
5)Discuss about various Client Server Technologies in Internet?
Introduction about Client/Server Model
Building Entities
i)Application Server
ii)Database Server
iii)Transaction Server
Various Client Server Model.
Archietecture of Web based Client Server.
6)Explain th econcept of ImageMaps by means of HTML?
Definitions for imagemaps.
To place an image on a map.
<IMG> tag
Attributes used
Concept of <ISMAP>-Server side Image Map
<USEMAP>-Client Side Image Map.
<MAP> ,<AREA> & attributes used.
Unit-II
7)Design a HTML Form for aRailwaay Reservation System?
<FOTRM METHOD=”Post” ACTION=http://server name/directory name/Script
name><HR>
PASSENGER NAME:
<INPUT TYPE=”Text” Name=” first” MAXLENGTH=” 24”<BR>
ADDRESS:
<INPUT TYPE=”Text” Name=” add” MAXLENGTH=” 24”<BR>
CITY:
<INPUT TYPE=”Text” Name=” city” MAXLENGTH=” 24”<BR>
STATE:
<INPUT TYPE=”Text” Name=” state” MAXLENGTH=” 24”
ZIP: <INPUT TYPE=”Text” Name=” first” MAXLENGTH=” 24”<BR>
</HR>
<INPUT TYPE=” submit” value=” reserve”></FORM>
8)Explain the various Specifics of SMTP Protocol?
Operational Scenario.
Command Semantics & Procedures
Forwaring of Messages.
Example of Forwarding (16)
9)Explain the concept of Session Tracking thyrough Srervlets?
Concept of Session Tracking
Coding &explanation.
Public void dopost(HttpServletRequest req,HttpServletResponse res) throws
SrevletException ,IO Exception
{
//Get user’s Session object
// Create session of (true) if one doesn’t exist
HttpSession ses=req.getsession(true);
//add a value for user’s choice to session
//send HTML page to client
output.close(); //close stream
}
Public void doget(HttpServletRequest req,HttpServletResponse res) throws
SrevletException ,IO Exception
{
//Get user’ s Session object
//Don’ t Create session of (false) if one doesn’ t exist
HttpSession ses=req.getasession (false);
//get name of session object value
if(session!=null)
value=ses.getvalueName();
else
value=null;
//get value for each name in valuenames.
//close stream
} (16)
10) Explain E-Mail Messaging Model?
Definition for Messaging
Relation between Clients,E-mail servers & Intrenet
Building Blocks
i)User Agents
ii)Message Transfer Agents
Entities
i)Message Streams.
ii)Gateways.
11)Explain how the following Operations are handled in PERL?
i)File Handling ii)database Handling iii)Cookies
i)<STDIN>-Perl defined File handle points to standard input device for reading
<STDOUT>- Perl defined File handle points to standard output device & writing
while($line=<STDIN>
{
print” $line” ;
last if($line eq “quit” );
}
ii)while($dbÆFetchrow())
{
% data=$dbÆdataHash();
print “$data{“authid” },$data{“auth” };
}
iii)Syntax:
name=value; expires=expdata;
coding:
use CGI qw/:standard
$name=param(Name);
$expires=”Monday,5-May-06,16:00:00”
print “Name” ,”=” ,” $Name” ;expires=” $expires;
12)Explain the concept of working of a CGI?
Definition of Common Gateway Interface
CGI Script Structure,
Request Methods used
i)GET
ii)POST
URL Encoding &Decoding
CGI Environmental Variables
No comments:
Post a Comment