Вы находитесь на странице: 1из 2

CHAPTER-1 (INTRODUCTION TO WEB PROGRAMMING)

1. What is Web? What is the difference between Internet and Intranet?


Answer: A Web is a complex network of international, cross platform, and cross cultural communicating
devices, connected to each other without any ordering or pattern.
Internet and Intranet are both networks. However, the Internet is a network of networks, involving all
communicating devices over the Web. However, an Intranet is limited to the users, machines, and software
programs of a specific organization.
2. Explain GET and POST briefly?
Answer: The GET and POST methods are used to send an HTTP request to the Web server. The GET
method is used to request a document from the server. For example:
Get /Webdocs/index.html CRLF
The POST method allows Web browsers to send an unlimited amount of data to a Web server by allowing
them to tag it on to HTTP request headers as the message body.
3. Explain how HTTP is used in client/server system.
Answer: HTTP is a request-response type protocol that specifies that a client will open a connection to a
server and then send a request using a specific format. In the client server system, the client connects to
and sends a request to a server using HTTP. The server then receives and parses the request of the client to
send back the requested resource using HTTP again. For sending the response, the server software accesses
the server hardware and retrieves the requested document.
4. Discuss the difference between static and dynamic Web pages?
Answer: Static Web pages are not processed by the server and are sent as it is. These pages do not have any
scripting logic and they cannot change according to client's request parameters. Dynamic Web pages are
processed by the server and then the generated content is sent to the client. They may involve information
from a database or some other information such as client's user name.
5. "HTML is the language of the Web. Explain.
Answer: HTML is a markup language in which Web pages are defined. It is simplistic so that everyone can
use it. It is truly the language of the Web.Browsers treat all content given to them as HTML. Also, most of
the information on the Internet is in the HTML format. Servers generate the HTML content from the server
side scripts and send it to the browsers.
6. Why do we require JavaScript and DHTML?
Answer: JavaScript and DHTML make Web pages more interactive. HTML can be used to only present
information. It cannot process data and is therefore not interactive.
JavaScript can be used to write programs for creating interactive Web pages. For example, if a user leaves
out a field in an online form, JavaScript can be used to prompt the user to enter a value in that field.
DHTML can be used to make the pages more interactive by allowing you set properties of Web pages and
their look and feel.
7. Brief about role played by CGI programming in Web programming?
Answer: CGI opened the gates of more complex Web applications. It enabled developers to write scripts,
which can communicate with server applications and databases. In addition, it enables developers to write
scripts that could also parse client's input, process it, and present it in a user friendly way.
__________________SMALL___________
1. Name the popular languages for developing Web applications.
Answer: Some of the popular languages for developing Web applications are ASP, ASP.NET, JSP, PHP,
and Perl.

2. What is W3C?
Answer: W3C or the World Wide Web Consortium is a non-profit organization, which establishes Internet
standards. For more information visit http://www.w3c.org.
3. What is the difference between a scripting language and a programming language?
Answer: The main difference is that programming languages are generally compiled whereas scripting
languages

Вам также может понравиться