Internet and web technology
1.(a) What is Internet and Web Technology?
Ans:- Internet is a collection of various types of networks, located in the web servers. Web technology is defined as the technology through which we can develop or create various types of web pages.
(b) What do you mean by a web page?
Ans:- A web page is a document or resoursce pf information is usually written in HTML that is suitable for the world wide web(WWW),
(c) What do you mean by World Wide Web(WWW)?
Ans:- World wide web is a system, based on the hypertext and HTTP, for providing, organizing, and accessing a wide variety of resources.
(d) What is a mark up language?
Ans:- It is a language which is used to format the text inside the HTML document. So that the look and feel of a webpage will increase.
(e) What is the format of HTML document?
<title>Title of the page</title>
// Body of the Web page
(f) How many types of tags present in HTML?
Ans:- Two types.
(i) paired tag:- The tag is said to be paired if it is along with a companion tag and they have an opening and ending tag.
(ii) singular tag:- The tag is said to be singular if it does not have a companion tag and they have only one opening tag.
(g) What is the required HTML code for linking?
Ans:- The required HTML code for linking is
<a href=”page destination“>Click here to go</a>
2. What is the difference between programming language and markup language?
Ans:- A programming language is an artificial language designed to communicate instruction to a machine, particularly a computer, where as markup language is a language that is used to format the text inside the HTML document, so that the look and feel of a web page will increase. Programming languages can be used to create programs that control the behavior of a machine and/or to express algorithm precisely. The term Markup means the only particular text will change that is specified within the opening and closing tag. For instance, the <b> tag instructs a browser to display the text that comes after it in bold text. To end the bold text, the </b> tag is inserted.
3. What do you mean by Web server?
Ans:- A web browser is a software that runs on a computer and responds to the requests made by other computers on the network. The web browser, an application program sends request to a web server and accepts response from the server.
A web server manages the web sites, accepts a client’s request and responds to a client request by sending required information.
The Apache HTTP server commonly referred to as Apache, is a web server notable for playing a key role in the initial youth of the world wide web. Apache was the first viable alternative to the Netscape communications corporation web server. The first version of Apache web server was created by Robert McCool, who was involved with the National Center of Super computing Applications web server, known as NCSAHTTP.
4. What do you mean by protocol? Describe different types of protocols.
Ans:- Protocol means the set of rules by which more than one network can be connected with each other. Different types of protocols are described below.
Transmission Control Protocol(TCP) is responsible for verifying the correct delivery of data from client to server. It adds support to detest errors or lost data and to trigger re transmission until the data is correctly and completely received.
Internet Protocol(IP) is responsible for verifying the correct delivery of data from client to server. It forwards each packet based on a four byte destination address(IP number).
File Transfer Protocol(FTP) is used for transferring files from one computer to another typically from your computer to a web server.
Hyper Text Transfer Protocol(HTTP) governs the transfer of hypertext between two or more computers in hypertext or hyper media environment.
5. Write down the HTML code for Create the following Table.
Ans:- As in most scripting languages, types are associated with values, not with variables. For example , a variable “x” could not bound to a number, then later rebound to a string.
var a, b;
a=prompt(“Enter the first number”);
b=prompt(“Enter the second number”);
document.write(“a is greater than b”);
document.write(“b is greater than a”);
document.write(Both are Equal);