Posts

Showing posts from July, 2013

Visual Basic Examples

Image
Program 1:- To create Visual Basic application to find the area of rectangle. Code:-  Private Sub Command1_Click() Text3.Text = Text1.Text * Text2.Text End Sub Private Sub Command2_Click() Text1.Text = " " Text2.Text = " " Text3.Text = " " End Sub /*************************Output**************************/ Program 2:- To create Visual Basic application to average of 3 numbers. Design Window:- Code:- Private Sub Command1_Click() Text4.Text = Str((Val(Text1.Text) + Val(Text2.Text) + Val(Text3.Text)) / 3) End Sub Private Sub Command2_Click() Text1.Text = " " Text2.Text = " " Text3.Text = " " Text4.Text = " " End Sub Private Sub Command3_Click() Unload Me End Sub /*************************Output**************************/ Program 3: To create Visual Basic application to illustrate Date-Time functions. Code:- Private Sub Command1_Click () Text1.Text = Dat...

Qiuz Try It

Quiz :- 1. What does HTML stand for? Hyper Text Markup Language Home Tool Markup Language Hyperlinks and Text Markup Language Click here to Submit 2. Who is making the Web standards? Google The World Wide Web Consortium Microsoft Click here to Submit 3.Choose the correct HTML tag for the smallest heading:- <h6> <heading> <h1> Click here to Submit 4. What is the correct HTML tag for drawing horizontal line? <lb> <br> <hr> Click here to Submit 5.Inside which HTML element do we put the JavaScript? <script> <js> <javascript> Click here to Submit 6What is the correct JavaScript syntax to write "Hello World"? response.write("Hello World"); document.write("Hello World"); echo "Hello World"; Click here to Submit 7.Where is the correct place to insert a JavaScript? Both the <head> section and the <body> section are correct ...

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

ASP.NET

ASP.NET : -     ASP - The full form of it is : A for Active ,S for Server ,P for Pages. Active Server Pages (ASP), also known as Classic ASP, was introduced in 1998 as Microsoft's first server side scripting engine. ASP is a technology that enables scripts in web pages to be executed by an Internet server. ASP pages have the file extension .asp, and are normally written in VBScript. ASP.NET - ASP.NET pages are compiled. ASP.NET has better language support, a large set of user controls, XML-based components, and integrated user authentication. ASP.NET pages have the extension .aspx, and are normally written in VB (Visual Basic) or C# (C sharp). User controls in ASP.NET can be written in different languages, including C++ and Java. When a browser requests an ASP.NET file, the ASP.NET engine reads the file, compiles and executes the scripts in the file, and returns the result to the browser as plain HTML. Why .NET ? OR Advantages of .NET - 1)...

Hardware-Microprocessor

Image
IC - Integrated circuits ,we are totally surrounded by IC in today life hey are made by semiconductors which are like silicon ,germanium ,etc. have valency 4. Microprocessor are made up of  different IC .Nowadays,in our day to day life we are surrounded by different microprocessors ,many people think that they are only in computers but this not true they are in most of the electronic instruments like mobiles,smart phones,refrigerator,Air-conditioner,microwave,and many more appliances,also in calculators. Microprocessors are also used in other advanced electronic systems, such as computer printers, automobiles, home security systems, radio ,automotive and jet airliners . Actually the evolution of Microprocessor was ,it was the Japanese who told in 1960 to INTEL to make microprocessor for doing calculation .Then the work on it started and finally in 1971 they developed a 4 bit Microprocessor 4004 which not so powerful but did only the work of calculator. µΡ sy...

Tables in HTML

The table tag defines a table.Inside the table tag ,of opening <table> tag and closing </table> tag we use <tr></tr> tag to define rows in a table ,use the <th></th> tag to define row or column headings, and use the <td></td> tag to define table cells. The table tag can also contain a <caption </caption> tag,which specifies the caption for the table ,you can specify the width of border surrounding the table and default background color of the table. Example:- Marks of Students Roll No. Name Marks Paper I Paper II 101 ABC 75 85 102 XYZ 77 87 Html code to draw the above table is as:- <html> <head><title>Table tags</title></head> <body> <table border="1" cellpadding="10" cellspacing="5" align="center" bordercolor="maroon" bgcolor="silver" > <caption><span style="color: red; font-size: large;...