Posts

Javascript Examples

Example1.html :- <HTML> <HEAD> <SCRIPT LANGUAGE="JavaScript"> function Hello() { alert("Hello,Welcome and  have a good day."); } </SCRIPT> </HEAD> <BODY> <INPUT TYPE="button" NAME="Button" VALUE="Press me" onClick="Hello()"> </BODY> </HTML> Output :- Example2.html :- <HTML> <HEAD> <SCRIPT LANGUAGE="JavaScript"> function Name()     {         var answer = prompt("What is your name?", "");         if (answer)         alert("God bless You, " + answer);     } </SCRIPT> </HEAD> <BODY> <INPUT TYPE="button" NAME="Button" VALUE="Press me" onClick="Name() "> </BODY> </HTML> Output:- Example3.html:- <html> <body> <p>This example calls a function which performs a calculation, and ...

Networking

Computer Network-  It is an interconnected collection of autonomous computers or system of computers capable of sharing resources and controlling services.  Interconnecting a set of computers with each other using transmission media is called a network. The rules governing computer communication are called protocols. Networking allows us to do the following;:- 1)Exchanging information 2)Sharing hardware resouces 3)Preserving information 4)Protecting information Network installations is major factor in networking, they are of three types:- 1)Centralized installation 2)Distibuted installation 3)Collaborative installation Types of networks:- 1)LAN -Local Area Network 2)MAN-Metropolitan Area Network 3)WAN- Wide Area Network Network Topologies:- 1)Star topology 2)Bus topology 3)Ring topology 4)Mesh topology Network Configurations:- 1)Network configuration means the method of operating a network by deciding the node authorities. There are two basic con...