Wednesday 16 November 2011

Compute Square and Cube With Turbo C++

Code For Turbo C++
#include<stdio.h>
#include<conio.h>

int num,sq,cube;
comp_sq();
comp_cube();
int main()
{
    clrscr();
    printf("Enter Number:");
    scanf("%d",&num);
    comp_sq();
    comp_cube();
    getch();
    return 0;
}
comp_sq()
{
    sq=num*num;
    printf("The Square of %d is: %d\n",num,sq);
}
comp_cube()
{
    cube=num*num*num;
    printf("The cube of %d is: %d\n",num,cube);
}

Tuesday 8 November 2011

Table tags

Table tags

<table>
<tr>- it is Table Row
<td>-it is Table Data
It is a Code:
Its is a One Row with Border
<table border="1"><tbody>
<tr> <td>Sample Text</td> </tr>
</tbody></table>


It is Row with no Border
<table border="0"><tbody>
<tr> <td>Sample Text</td> </tr>
</tbody></table>
It is a column with no border

<table border="0"><tbody>
<tr> <td>Table 1</td> <td>table 2</td> </tr>
</tbody></table>

It is Called Column with border
<table border="1"><tbody>
<tr> <td>Table 1</td> <td>table 2</td> </tr>
</tbody></table>


This is The Result:

Sample Text
Its is a One Row with Border

Table 1
Table 2
It is Two row

Table 1 table 2
It is Called Column with border
Table 1 table 2
It is a column with no border

Sample text2
Sample Text
It is Row with no Border

Sunday 6 November 2011

Frame tags

Frame tags
<frameset cols="25%,50%,25%">
  <frame src="frame1.htm" />
  <frame src="frame2.htm" />
  <frame src="frame3.htm" />
</frameset>


This the Result :
Result may shown if you have an HTML page.

Thursday 3 November 2011

Tags For HEADING tags and there function.

Tags For HEADING tags and there function.
HEADING TAGS:
                *First Heading <h1></h1>
                *Second Heading <h2></h2>
                *Third Heading <h3></h3>
                *Fourth Heading <h4></h4>
                *Fifth Heading <h5></h5>
                *Six Heading <h6></h6>

This The Result:

Heading 1

Heading 2

Heading 3

Heading 4

Heading 5
Heading 6

Wednesday 2 November 2011

How to Move Your text in your HTML?

How to Move Your text in your HTML?
The tags og Moving Html is a Marquee.


It is an Example:


<marquee><h1>Sample</h1></marquee>

This is a result in your browser:

Sample



Its is an Alternate from left to right:

<marquee behavior="alternate"><h1>
Sample</h1>
</marquee>

Sample



Iframes Tags

Its is a Iframe tags:

   <iframe src="url/site" height="auto" width="100%"></iframe>

This tags End Tags is needed..

This is a result:

How To Add image in your HTML

How To Add image in your HTML 

Here are the tags of for image

        <img src="image.jpg" height="100px" width="100px">

there in no End Tags.

Basic CSS tags

CSS
     -which means Cascade Style Sheet, that give a good design for your website.

Here are the three parts of CSS.
1. External Sheet- An external style sheet is ideal when the style is applied to many pages. With an external style sheet, you can change the look of an entire Web site by changing one file. Each page must link to the style sheet using the <link> tag. The <link> tag goes inside the head section:

Tuesday 1 November 2011

What is Computer?

Computer
-is a programmable machine designed to sequentially and automatically carry out a sequence of arithmetic or logical operations. The particular sequence of operations can be changed readily, allowing the computer to solve more than one kind of problem. An important class of computer operations on some computing platforms is the accepting of input from human operators and the output of results formatted for human consumption. The interface between the computer and the human operator is known as the user interface.
Conventionally a computer consists of some form of memory for data storage, at least one element that carries out arithmetic and logic operations, and a sequencing and control element that can change the order of operations based on the information that is stored. Peripheral devices allow information to be entered from an external source, and allow the results of operations to be sent out.
A computer's processing unit executes series of instructions that make it read, manipulate and then store data.
Conditional instructions change the sequence of instructions as a function of the current state of the machine or its environment.

Basic HTML tags

How to make a simple HTML

First open Notepad, Notepad ++
<html>
<head>
<title>Sample Text</title>
</head>
<body>
<p>this is the sample of basic HMTL</p>
</body>
</html>

After you finished that save as with the format of HTML..
example: sample.html

make sure all tags have an a End Tags. like this is a starting tags<html>, this is a End Tags</html>..

DEV C++

DEV C++
- it is a software that used to Programme,.

Here an Example:


Will display even numbers

#include<stdio.h>
#include<conio.h>

int main()
{
int i,y;
printf("Enter Number: ");
scanf("%d",&y);
for (i=0; i<=y; i+=2)
{
printf ("%d\n",i);
}

getch();
return 0;
}

If  you don't have DEV C++ dowload here
Types of keyboard

Computer keyboard comes in several type and variation, however, the basic elements are the same in all keyboards.

The most common types include

- 101 or 102-Key enhanced keyboard (this is a popular type of keyboard now used almost in all system units)

- 104-Key Keyboard

Commonly, a keyboard layout type which is called QWERTY (takes its name from the first six letters of the typing keys) is used widely for English language keyboard.



Basically, all keyboards have the following parts:-

Typing area

It looks and arranged like a traditional typewriter where you press alphabetic keys. It holds alphabetic character such as letter, special characters and numbers. This is the area you use mostly when you do word processing.

Function keys

The functions keys are located at the top of a keyboard and grouped into four. There are 12 functions keys starting from F1 through F12. These keys are used for special purposes and most programmers use these keys to do a specific task.

For example, if you are writing text with Microsoft Word and wanted to read Help, you can press F1 to display the Help. F5 key will display Find and Replace dialogue box. F12 key will display Save As dialogue box.

These keys again used differently in other applications, for example, if you are a user of AutoCAD, pressing F2 will display AutoCAD text window.

Similarly, you can check all the keys and how they carry out specific task depending on the type of application you are running. Most applications will tell on their manuals and guides how these functions keys are used in the applications.

Generally, functions keys will greatly benefit you if you know how to use them well. More on computer keyboard shortcuts...


Numeric keypad

Numeric keypad is the other part of computer keyboard. Usually, it is located at the right side of a keyboard. It is arranged like a standard calculator used to enter numerical data.

It can also be used as directional keys. Pressing the Num Lock key above the numeric keypad will tell whether the keys are on numeric or directional mode. If it is on, it is on numeric mode and can enter numbers. If it is off, it is on directional mode and only used for moving a cursor on screen UP, Down, Left or Right.

Cursor and monitor controls

These are keys found between the typing keypad and the numeric keypad. It has two groups of keys, arranged top and bottom.

The top keys holds Insert, Home, Page Up, Page Down, Delete, and End keys.

Insert key switches between insert and overtype modes. Home key brings you back at the beginning of a page. Page Up and Page Down keys help you to move one page or screen up or down. Delete key erases a text or page. The End key takes you at the end of a page.

The bottom keys are independent directional keys, which let you to move the cursor Left, Right, Up and Down. Status lights, Escape key, Print Screen/SysRq, Scroll Lock, Pause/Break are user for frequent functions.

For example, if you press the Caps Lock on the typing keypad, the Caps Lock Status light tells you that is on and can type Capital letters. You press Print Screen key if you want to save the current Window as an image.

These are the parts found in standard computer keyboard and mostly used in desktop computers. Laptop and Notebook keyboard types are more compact, but recently we are beginning to see laptops that have dedicated numeric keypads as well.

Other than the above parts, some keyboards incorporate additional buttons. These buttons used to activate actions such as music buttons (play, pause, forward, rewind, stop and mute), Bluetooth, e-mail and so on.





How keyboard connects to a computer?

computer Keyboard can connect with a computer through a cable or signal (wireless connection). Until recently, a keyboard connects with the standard PS/2 type or Serial.

Now this trend is changed and the connection is replaced by USB (universal serial bus) and wireless connectors. Most modern PCs (motherboards) even don’t have PS/2 connectors, only USB.

Since there is no connection with main pc, wireless keyboard gets power from battery or AC power connection. This is the side effect of wireless keyboards, you often change battery.

Conclusion

In summary, computer keyboard is an input device that can’t be escaped. When you buy keyboards go for the known and best brand types, otherwise it will soon fail to operate.

How to install Windows XP

This procedure demonstrates how to install Windows XP Professional. The procedure to install Windows XP home edition is very similar to the professional edition. Since Windows XP Pro is more advanced operating system, it will be used to demonstrate the installation procedure.

The best way install Windows XP is to do a clean install. It is not difficult to perform a clean installation. Before you perform the installation I recommend that you check Windows XP Compatibility List to ensure that your hardware is supported by XP. If your hardware is not on the compatibility list you can check your hardware manufactures website to download the drivers for Windows XP. Save all the necessary drivers onto floppy disks or CD before you start the installation.

All versions of Windows XP CD are bootable. In order to boot from CD/DVD-ROM you need to set the boot sequence. Look for the boot sequence under your BIOS setup and make sure that the first boot device is set to CD/DVD-ROM. You can then perform the following steps to install Windows XP:

Step 1 - Start your PC and place your Windows XP CD in your CD/DVD-ROM drive. Your PC should automatically detect the CD and you will get a message saying "Press any key to boot from CD". Soon as computer starts booting from the CD your will get the following screen:


Step 2 - At this stage it will ask you to press F6 if you want to install a third party Raid or SCSI driver. If you are using a an IDE Hard Drive then you do not need to press F6. If you are using a SCSI or SATA Hard drive then you must press F6 otherwise Windows will not detect your Hard Drive during the installation. Please make sure you have the Raid drivers on a floppy disk. Normally the drivers are supplied on a CD which you can copy to a floppy disk ready to be installed. If you are not sure how to do this then please read your motherboard manuals for more information.

Step 3 - Press S to Specify that you want to install additional device.


Step 4 - You will be asked to insert the floppy disk with the Raid or SCSI drivers. Press enter after you have inserted the disk.


Step 5 - You will see a list of Raid drivers for your HDD. Select the correct driver for your device and press enter.




Step 6 - You will then get a Windows XP Professional Setup screen. You have the option to do a new Windows install, Repair previous install or quit. Since we are doing a new install we just press Enter to continue.

Step 7 - You will be presented with the End User Licensing Agreement. Press F8 to accept and continue


Step 8 - This step is very important. Here we will create the partition where Windows will be installed. If you have a brand new unformatted drive you will get a screen similar to below. In our case the drive size is 8190MB. We can choose to install Windows in this drive without creating a partition, hence use the entire size of the drive. If you wish to do this you can just press enter and Windows will automatically partition and format the drive as one large drive.


However for this demonstration I will create two partition. The first partition will be 6000MB (C: drive) and second partition would be 2180MB (E: drive). By creating two partition we can have one which stores Windows and Applications and the other which stores our data. So in the future if anything goes wrong with our Windows install such as virus or spyware we can re-install Windows on C: drive and our data on E: drive will not be touched. Please note you can choose whatever size partition your like. For example if you have 500GB hard drive you can have two partition of 250GB each.

Press C to create a partition.


Step 8 - Windows will show the total size of the hard drive and ask you how much you want to allocate for the partition you are about to create. I will choose 6000MB. You will then get the screen below. Notice it shows C: Partition 1 followed by the size 6000 MB. This indicates the partition has been created. We still have an unpartitioned space of 2189MB. Next highlight the unpartitioned space by pressing down the arrow key. Then press C to create another partition. You will see the total space available for the new partition. Just choose all the space left over, in our case 2180MB.


Step 9 - Now you will see both partition listed. Partition 1 (C: Drive) 6000MB and Partition 2 (E: Drive) 2180MB. You will also have 8MB of unpartitioned space. Don't worry about that. Just leave it how its is. Windows normally has some unpartitioned space. You might wonder what happened to D: drive. Windows has automatically allocated D: drive to CD/DVD-ROM.
Select Partition 1 (C: Drive) and press Enter.

Step 10 - Choose format the partition using NTFS file system.This is the recommended file system. If the hard drive has been formatted before then you can choose quick NTFS format. We chose NTFS because it offers many security features, supports larger drive size, and bigger size files.

What is IT?

IT means (Information Technology)

-Information technology is any electronic machine that lets people manipulate information, such as words, numbers, images, or sounds.


Here are a some examples of what people mean when they talk about information technology.

*Computers
*Networks
*Software
*Databases
*E-mail
*Digital cameras
*Compact discs
*Point-of-sale scanners
*Personal digital assistants, such as the Palm Pilot
*Game consoles, such as Sony’s PlayStation

What is Information Technology?

Information Technology, or IT,
-is the study, design, creation, utilization, support, and management of computer-based information systems, especially software applications and computer hardware.
IT is not limited solely to computers though. With technologies quickly developing in the fields of cell phones, PDAs and other handheld devices, the field of IT is quickly moving from compartmentalized computer-focused areas to other forms of mobile technology.