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);
}
Showing posts with label information Technology Lesson. Show all posts
Showing posts with label information Technology Lesson. Show all posts
Wednesday, 16 November 2011
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
</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:
Its is a One Row with Border
It is Two row
It is Called Column with border
It is a column with no border
Sample text2
It is Row with no Border
<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 |
Table 1 |
Table 2 |
Table 1 | table 2 |
Table 1 | table 2 |
Sample text2
Sample Text |
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.
<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:
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:
Its is an Alternate from left to right:
<marquee behavior="alternate"><h1>
Sample</h1>
</marquee>
The tags og Moving Html is a Marquee.
It is an Example:
<marquee><h1>Sample</h1></marquee>
This is a result in your browser:
Its is an Alternate from left to right:
<marquee behavior="alternate"><h1>
Sample</h1>
</marquee>
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:
<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.
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:
-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.
-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>..
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
- 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.
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.
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
-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
*Digital cameras
*Compact discs
*Point-of-sale scanners
*Personal digital assistants, such as the Palm Pilot
*Game consoles, such as Sony’s PlayStation
Subscribe to:
Posts (Atom)
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.