Nowadays computer becomes the basic part of our daily life. We use them to solve complex problems, looking for driving directions, for entertainment, and to communicate each other all over the world. It is difficult to imagine existence without them because it becomes neural system of our lives. Everybody use this but everyone does not know how they work, In reality it is not the computer but the software (Program) which run on them. Due to that software the end user becomes able to use different type of services from a computer. Mobile, Laptop and other electronic devices can not run with out a program.
"The step to solve a particular problem is called program" It means that when we say that we have a program, it means we have a complete set of activities to be performed in particular order. The purpose of these activities is to solve a given problem. Through program we are telling a computer what to do. "Do this, then do that, then take the two results, mix them and repeat until the you get a result out of it. A computer can do many things, but at a very basic level, programs consist of the following types of instructions.
1. Input: get data from the keyboard or other input device.
2. Math: Perform some calculation, like addition, subtraction, multiplication etc.
3. Conditional execution: Check some condition and execute one sequence of statements or another
4. Repetition: Repeat some sequence of operation, usually with some variation.
5. Output: give the the result to us through screen or other output device.
2. Math: Perform some calculation, like addition, subtraction, multiplication etc.
3. Conditional execution: Check some condition and execute one sequence of statements or another
4. Repetition: Repeat some sequence of operation, usually with some variation.
5. Output: give the the result to us through screen or other output device.


0 Comments