UNIT 1 2marks
UNIT 1 2marks
1. Define Internet?
2. Define Protocol?
5. What are the two major protocols for accessing email from
servers?
HTTP - Hypertext Transfer Protocol and SMTP - Simple Mail Transfer
Protocol
Start line (Request method, Request URI portion of web address, HTTP
version) Header fields
This code provides the information about the HTTP Response from the
server. All status code is three-digit decimal numbers. The first digit
represents the general class of status code. The last two digits of a status
code define the specific status within the specified class
10. List out the five classes of HTTP 1.1 status codes.
Digit Class
1 International
2 Success
3 Redirection
4 Client Error
5 Server Error
11. List out the available HTTP methods.
Browsers often cache (save on disk) web pages so they can quickly reload
the pages. If there are no changes between the last version stored in the
cache and the current version on the Web, this helps speed up your
browsing experience.
A Web Server is software that accepts HTTP requests from web clients and
returns an appropriate resource in the HTTP response.
Hypertext is ordinary text that has been designed with extra features such
as formatting, images, multimedia and links to other documents. Markup is
the process of taking ordinary text and adding extra symbols. Each of the
symbols used for markup in HTML is a command that tells a browser how
to display the text. HTML is the technical term for the format used to create
normal web pages.
An HTML form is used to allow a user to input data on a web page and the
element used is form element and its main attributes
are action and method. Its format is <form action
= http://www.example.orgmethod = “get”> <form>
18. How will you create a password field in a HTML form?
(NOV/DEC2011)
This reference are second type of reference for each symbol in an HTML
document and begins with a number sign which follows the ampersand
beginning the reference and is followed by the Unicode Standard value of
the character. E.g. < , ñ , α.
Ordered – a number list and Definition – A list of terms and definitions for
each
data and mixed content types represent any string of characters excluding
less-than and
ampersand, which are included because they represent the start characters
for markup.
<HTML> </HTML>
<BODY> </BODY>
<FORM> </FORM>
<TABLE> </TABLE>
<PRE>, <BR>,
<H1>…. <H6>
<INPUT> <SELECT>
1. Firefox
2. Internet Explorer
3. Chrome
4. Safari
XML DTD can contain entity declarations each of which begins with the
keyword
ENTITY
<!ENTITY GT “>”>
Types of Entities are i) General Entities ii) Parameter Entities iii) External
Entities
An attribute list declaration is included in the DTD for each element that has
attributes and its declaration begins with the keyword ATTLIST followed by
an element type name and specifies the names for all attributes of the
named element, the type of data that can be used as the value of each
attribute, and default value information.
ID Identifier
The server log may be used to examine traffic patterns by time of day, day
of week, referrer, or user agent. Efficient web site administration, adequate
hosting resources and the fine tuning of sales efforts can be aided by
analysis of the web server logs. Marketing departments of any organization
that owns a website should be trained to understand these powerful tools.
31. Explain in brief the interaction between a web server and a Servlet.
Client
Web Server
Servlet Container
• Locates the servlet (Java code, loaded and running in the container JVM)
Servlet
• The servlet can store/retrieve objects (possibly session scoped) from the
servlet container.