Subscribe:

Quick

Wednesday, 8 February 2012

What is a computer language?


Computer Language
The computer works by executing instructions. Each instruction directs one operation of the computer system. Several instructions are written to perform one task. This set of instructions given to the computer to perform a task is called the computer program.
The computer instructions are written in a specific manner and according to a set of rules. These rules are called the computer language.
Several languages have been developed for writing computer programs. These languages are divided into two main categories. These are:
1.          Low Level Languages
2.          High Level Languages


Thursday, 26 January 2012

Top 7 Operating System


Windows OS is the most widely used in the world. Windows is a series of OS produced by Microsoft. It’s programmed in C, C++ and Assembly languages. Initially release in November 20, 1985.Graphical user interface and license based. Website link www.microsoft.com
Mac OS developed by Apple Inc. Graphical user interface and license based. It’s programmed in C, C++ and Objective-C. Initially released in March 24 2001. Official website www.apple.com .
Andriod is Mobile devices Operating system. We can use in smartphones and tablets computers. it’s developed by google. Initialy release in 2005. Programming languages are used C core , java and C++. Graphical Interface and license based.Offical website www.andriod.com
IOS know as Iphone OS is Apple’s Mobile  Operating system. We can use in IPOD touch Ipad  and Apple TV. it’s developed by Apple inc. It’s programmed in C, C++ and Objective-C. Initially release in June 29, 2007.Graphical user interface licensed based and open source. Official website www.apple.com/ios
Linux is a computer OS which is based on free and open source software. Programming in many languages. User interface many license also. It’s Unix-like family. Many trademark owned by companies.
Symbian is a mobile OS. We can use in Smartphone’s and currently maintained by Nokia. Graphical users interface and licensed by proprietary. Embedded OS family. Developed in C++ language. Official website Symbian.nokia.com
Ubuntu is a computer OS. It’s Linux distribution as free and open source software. Unix-like OS family. Initially release in 2004.Graphical user interface and open source. Supported platforms i386, AMD64. Official website is www. ubuntu.com













Saturday, 31 December 2011

Happy New Year



Thursday, 15 December 2011

electricity bill program in php


Write a program to calculate the electricity bill. The rates of electricity per units are as follow:
If the units consumed are equal or less than 300, then the cost is Rs.3/-per unit.
If units consumed are more than 300, then the cost is Rs. 3.5/- per unit and a surcharge of 5% of bill is added.

Create a HTML file with name ( Bill.HTML ) create a form like this

<form action="data.php" method="post">
Enter current reading: <br/><input type="text" name="cu"/><br/>
Enter previous reading :<br/><input type="text" name="pu"/><br/>
<input type="submit" name="submit" value="submit"/>
</form>

Create another file with name (data.php) write a code

<?php
$cu = $_POST['cu'];
$pu = $_POST['pu'];
$units=$cu-$pu;

if ($units>300)
                $bill=$units*3.5 + $units*0.05/100;

if ($units<=300)
$bill=$units*3.0;
{
                echo “Electricity Bill: ".$bill;
}
?>




Wednesday, 5 October 2011

HTML Tags


  • Angle brackets like <html>
  • come in pairs like start tag<b> and end tag</b>
  • Start and end tags are also called opening tags and closing tags
  • HTML documents are also called web pages

start tag

<html>
<body>

<h1>My First h1 Heading</h1>

<p>My first paragraph.</p>

</body>
</html>

end tag
  • text between <html> and </html> describes the web page
  • text between <body> and </body> is the visible page content
  • text between <h1> and </h1> is displayed as a heading
  • text between <p> and </p> is displayed as a paragraph

HTML


  • HTML stands for Hyper Text Markup Language
  • HTML is not a programming language, it is a markup language
  • A markup language is a set of markup tags
  • HTML uses markup tags to describe web pages