Name :___________M A HAKEEM QURESHI___________
Registration No. : _521106056_____________________________
Learning Center : Bhargavi Institute of Management & Technology .
Learning Center Code : ___00146_________________________
Course/Program : ___BSc IT _________________________
Semester : ______Four_________________________________
Subject Code : ___ BT0083_________________________
Subject Title : ___ Server Side Programming _____________
Date of submission : ___11-05-2013_____________________________
Marks awarded : ________________________________________
Signature of Coordinator Signature of Center Head Signature of Evaluator
Directorate of Distance Education
Sikkim Manipal University
II Floor, Syndicate House, Manipal – 576 104
Bachelor of Science in Information Technology (BScIT) – Semester 4 BT0083 – Server Side Programming - Theory – 4 Credits
(Book ID: B1088)
Assignment Set (60 Marks) Answer all questions 6x10 = 60 1. What is HTTP? How does it work?
HTTP is a client-server protocol by which two machines can communicate over a TCP/IP connection.
An HTTP server is a program that listens HTTP requests on through machine’s port.
http request http response
Fig.: HTTP Request - Response
Working of HTTP
1. An HTTP client opens a TCP/IP connection to the server via a socket.
2. Transmits a request for a document, then waits for a reply from the server.
3. Once the request-reply sequence is completed, the socket is closed.
So the HTTP protocol is a transactional one. The lifetime of a connection corresponds to a single request-reply sequence; which means it will maintain the state of previous request.
HTTP is the protocol used for document exchange in the World-Wide-Web. Everything that happens on the Web happens over HTTP transactions. TCP/IP networking and