Professional Documents
Culture Documents
ASSIGNMENT NO. 4
What is HTTP?
The Hypertext Transfer Protocol (HTTP), the Web's applicationlayer protocol, is at the heart of the Web.
HTTP is implemented in two programs: a client program and
server program.
A Web page (also called a document) consists of objects.
The base HTML file references the other objects in the page with
the objects' URLs.
Why HTTP is stateless protocol?
An HTTP server maintains no information about the clients, HTTP
is said to be a stateless protocol.
What are its versions?
Two versions: - Persistent and Non-persistent
What is persistent and non-persistent connection?
With persistent connections, the server leaves the TCP
connection open after sending responses.
With non-persistent connections , the server closes the TCP
connection after sending one response.
Explain HTTP request and response message?
Request Message :
The message is written in ordinary ASCII text, so that your
ordinary computer-literate human being can read it.
The message consists of five lines, each followed by a carriage
return and a line feed.
It consists of GET and POST methods
Read its complete structure
Response Message:
It has three sections: an initial status line, six header lines,
and then the entity body.
The entity body is the meat of the message -- it contains the
requested object itself (represented by data data data data
data ...).
The status line has three fields: the protocol version field, a
status code, and a corresponding status message. In this
example, the status lineindicates that the server is using
HTTP/1.1 and that that everything is OK.
Read its status code and phrase and its explanation
What is its port number?
Port 80
What is HTTPs?
HTTPS (also called HTTP over TLS,[1] HYPERLINK
"https://en.wikipedia.org/wiki/HTTPS"[2]
HTTP over SSL,[3] and HTTP Secure[4]
HYPERLINK "https://en.wikipedia.org/wiki/HTTPS"[5]
) is a protocol for secure
communication over a computer network which is widely used on
the Internet.
Explain its header in detail
HTTP Request Message
HTTP request message contains request line and header line. Request
line has 3 fields1. Method- The request method indicates the method to be performed
on the resource identified by the given Request-URI. It includes
GET,POST,HEAD
2. URL- It is a unique address for a file that is accessible on the
internet.
3. Version- HTTP version either 1.0 or 1.1
Header line has 2 fields, header field name and its value.
HTTP Response Message
HTTP response message contains status line and header line and
entity body.A Status-Line consists of the protocol version followed
by a numeric status code and its associated textual phrase. The
response-header fields allow the server to pass additional
information about the response which cannot be placed in the
Status- Line.
ASSIGNMENT NO. 5
What is DHCP protocol?
The Dynamic Host Configuration Protocol (DHCP) is a
standardized network protocol used on Internet Protocol (IP)
networks for dynamically distributing network configuration
Group :
Assignment no 1: grab the image from Camera and apply the edge
detection algorithm
What do u mean by edge detection in image processing and
what is its importance (its applications )
What is sobel operator?
How its equations are used for edge detection of the given image
Assignment no 3: WAN (RIP)
What is RIP
What are interior and exterior routing protocols
Versions of RIP and its comparison
Various times in RIP
What is packet tracer
Which version of packet tracer is used?
With what extension simulation of RIP is stored?
What is variable length subnet mask and Classless inter domain
routing 3-19
Assignment no 4: Linux networking commands emulation
What are various networking commands
Explain PING, TRACEROUTE, NETSTAT,IFCONFIG,NSLOOKUP
commands
Assignment no 5: FTP/Telnet program using socket programming
What is FTP?
Its stateless or stateful protocol
Compare between HTTP and FTP
Port numbers of all protocols(FTP data-20 ,control-21 ,TFTP
69,DNS 53,DHCP 0,TELNET 23,SMTP 25,POP3 110 ,IMAP 143)
What are various status code in FTP
200-suc
300-redirection
400-invalid/ prob with req
Only the frame which is lost or corrupted is The corrupted frame with all the frames
resent
Go Back N ARQ Sender Window Size is 2^ .in Sender and receiver Window Size is 2^ (m(m)-1 and receiver window size is 1.
1)
Go-Back-N ARQ is a specific instance of the Selective Repeat ARQ / Selective Reject ARQ
automatic repeat request (ARQ) protocol, in is a specific instance of the Automatic Repeatwhich the sending process continues to send Request
(ARQ)
protocol
used
for
even
without
receiving
acknowledgement (ACK) packet from the message units, or it may be used as a protocol
receiver. It is a special case of the general for the delivery of subdivided message subsliding window protocol with the transmit units.
window size of N and receive window size
of 1.
DSPA:
CN
Unit
1: Application Layer:
Layers of OSI and TCP/IP reference model
DNS function explanation
DNS types of queries: iterative and recursive query explanation
How many root level DNS available, What is its function
What is the function of authoritative and top level DNS
Port number of DNS
What is PUSH and PULL protocol
What is MTA
3: Network Layer:
Protocol header of IPV4 and IPV6
Length of addresses in IPV4 and IPV6
Write any IPV4 and IPV6 address
Write any MAC address
Who gives the IP address to ur machine
What is ISP
Who is the ISP for ur college
Which topology is used to establish network of ur dept/college
IP address is unique locally or globally?
MAC address is unique locally or globally? Explain
What is unicast , broadcast and multicast address and process?
What is subnetting and supernetting
What are the default subnet masks of each IP address class?
What is query message and error messages in ICMPV4, ICMPV6