Internet and Web Technology

Mar 24 • Engineering Sample Papers • 11556 Views • 1 Comment on Internet and Web Technology

7074702-web-technology-internet-abstract-as-a-concept

 

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?

Ans:- <html>

<head>

<title>Title of the page</title>

</head>

<body>

// Body of the Web page

</body>

</html>

(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>

(h) What is the difference between Java and JavaScript?

Ans:- Java is an object oriented programming language where as JavaScript is more of a scripting language. JavaScript is used to make the web page more interactive. However, Java can be used not only to make interactive webpages but can also be used to create server site applications and standalone programming.

(i) What can a JavaScript do?

Ans:- JavaScript gives HTML designer a programming tool. It can reach to event. It can read and write HTML documents. It can put dynamic text into an HTML page. It can be use to validate data.

(j) Write down the JavaScript code for Print “HELLO WORLD”.

Ans:- <html>

<head>

<script language=”JavaScript”>

function display()

{

document.write(“HELLO WORLD”);

}

</script>

</head>

</html>

 

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.

NameBranch
RamCSE
HariETC
Binod MECH

Ans:- <html>

<body>

<table>

<tr><th>Name</th><th>Branch</th></tr>

<tr><td>Ram</td><td>CSE</td></tr>

<tr><td>Hari</td><td>ETC</td></tr>

<tr><td>Binod</td><td>MECH</td></tr>

</table>

</body>

</html> 

6. What are the features of JavaScript?

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.

JavaScript is a powerful scripting language that helps HTML designers to effectively and interacting design websites and web pages in a very simple and efficient way.

It is such a powerful scripting language which has features to achieve a dynamic effects in webpages. Using the features available in JavaScript, the designer can decide to have dynamically placed text at run time.

It also has the feature of validating data  submitted at the client level. This helps in saving the processing time of the server because JavaScript initially creates the validation on the client side.

7. Write down the JavaScript code to find the largest  between two numbers.

Ans:-

<html>
<body>
<script language=”JavaScript”>
var a, b;
a=prompt(“Enter the first number”);
b=prompt(“Enter the second number”);
if(a>b)
document.write(“a is greater than b”);
else
if(b>a)
document.write(“b is greater than a”);
else
document.write(Both are Equal);
</script>
</body>
</html>
 

Tell us Your Queries, Suggestions and Feedback

Your email address will not be published.

One Response to Internet and Web Technology

  1. dipti says:

    Engineering programs

« »