An input device presents data to the processing unit in a machine-readable form. Although the keyboard is a common input device for a small computer, a system may also support various other input devices such as Optical Character Recognition (OCR), Magnetic Ink Character Recognition (MICR), mark sense reader, etc.continue reading..
Digital Computer, any of a class of devices capable of solving problems by processing information in discrete form. It operates on data, including magnitudes, letters, and symbols, that are expressed in binary form—i.e., using only the two digits 0 and 1. By counting, comparing, and manipulating these digits or their combinations according to a set of instructions held in its memory, a digital computer can perform such tasks as to control industrial processes and regulate the operations of machines.continue reading..
Fibonacci series is a series of n numbers where n can be any natural numbers. The logic behind the fibonacci series is that the evry third number in the series is the sum of its previous two numbers.
Lets understand it with the simple example of c/c++.
The computer system essentially comprises three important parts – input device, central processing unit (CPU) and the output device. The CPU itself is made of three components namely, the arithmetic logic unit (ALU), memory unit, and the control unit. In addition to these, auxiliary storage/secondary storage devices are used to store data and instructions on a long-term basis.continue reading..
Factorial program in c: c++ code to find and print factorial of a number, three methods are given, first one uses for loop, second uses a function to find factorial and third using recursion. Factorial is represented using '!', so five factorial will be writen as 5!continue reading..
Have you ever been asked to swap two variables programetically. There could be variable approach but this article highlights two simplest possible way for you. try this algo in any of your favourite language.continue reading..