Download as pdf or txt
Download as pdf or txt
You are on page 1of 6

Introduction to Computer Science (C++)

Q: History of Computer:
The first counting device was used by the primitive people. They used sticks, stones and
bones as counting tools. As human mind and technology improved with time more
computing devices were developed. Some of the popular computing devices starting with
the first to recent ones are described below:
1. Abacus:
The history of computer begins with the birth of abacus which is believed to be the first
computer. It is said that Chinese invented Abacus around 4,000 years ago. It was a wooden
rack which has metal rods with beads mounted on them. The beads were moved by the
abacus operator according to some rules to perform arithmetic calculations.

2. Napier's Bones:
It was a manually-operated calculating device which was invented by John Napier (1550-
1617) of Merchiston. In this calculating tool, he used 9 different ivory strips or bones marked
with numbers to multiply and divide. So, the tool became known as "Napier's Bones. It was
also the first machine to use the decimal point.

Instructor: M Altaf 1 Course: C++


3. Pascaline:
Pascaline is also known as Arithmetic Machine or Adding Machine. It was invented between
1642 and 1644 by a French mathematician-philosopher Biaise Pascal. It is believed that it
was the first mechanical and automatic calculator.
It was a wooden box with a series of gears and wheels. When a wheel is rotated one
revolution, it rotates the neighboring wheel. A series of windows is given on the top of the
wheels to read the totals. An image of this tool is shown below;

4. Difference Engine:
In the early 1820s, it was designed by Charles Babbage who is known as "Father of Modern
Computer". It was a mechanical computer which could perform simple calculations. It was
a steam driven calculating machine designed to solve tables of numbers like logarithm
tables.

5. Analytical Engine:
This calculating machine was also developed by Charles Babbage in 1830. It was a
mechanical computer that used punch-cards as input. It was capable of solving any
mathematical problem and storing information as a permanent memory.

Instructor: M Altaf 2 Course: C++


6. Tabulating Machine:
It was invented in 1890, by Herman Hollerith, an American statistician. It was a mechanical
tabulator based on punch cards. It could tabulate statistics and record or sort data or
information.

7. Differential Analyzer:
It was the first electronic computer introduced in the United States in 1930. It was an analog
device invented by Vannevar Bush. This machine has vacuum tubes to switch electrical
signals to perform calculations. It could do 25 calculations in few minutes.

8. Mark I:
The next major changes in the history of computer began in 1937 when Howard Aiken
planned to develop a machine that could perform calculations involving large numbers. In
Instructor: M Altaf 3 Course: C++
1944, Mark I computer was built as a partnership between IBM and Harvard. It was the first
programmable digital computer.

Q: What is Computer? Explain the elements of computer system.


1. Computer:
A computer is a programmable electronic device that accepts raw data as input and processes
it with a set of instructions (a program) to produce the result as output. It renders output just
after performing mathematical and logical operations and can save the output for future use.
It can process numerical as well as non-numerical calculations. The term "computer" is
derived from the Latin word "computator" which means to calculate.
➢ The basic parts without which a computer cannot work are as follows:
• Input Devices
• Processor
• Memory
• Output Devices
• Storage Devices

2. Input Devices:
Input refers to the data or information that is entered into a computer. It can take various
forms, such as text, numbers, images, sound, or any other type of information that is
processed by a computer.
Input devices are hardware components or peripherals that allow users to provide input to a
computer
Common examples of input devices include:
• Keyboard
• Mouse
• Touchscreen
• Digital Pen or Stylus
• Scanner
• Microphone

Instructor: M Altaf 4 Course: C++


3. Processor :
A processor, also known as a central processing unit (CPU), is a main component in a
computer or electronic device responsible for executing instructions and performing
calculations. It is often considered the "brain" of the computer because it carries out the
fundamental operations that enable the device to function.
4. Memory:
RAM stands for Random Access Memory, and it is a type of computer memory that is used
to temporarily store data that the computer is currently working on. RAM is a vital
component in a computer's hardware architecture and plays a crucial role in the overall
performance of a system.
Here are some key characteristics and functions of RAM:
Volatile Memory: RAM is volatile memory, which means that its contents are only retained
while the computer is powered on. When the computer is turned off or restarted, the data
stored in RAM is erased.
Fast and Temporary Storage: RAM is much faster than other types of storage such as hard
drives or solid-state drives. It provides quick access to data and allows the computer to read
and write information rapidly.

5. Output Devices:
Output refers to the information, data, or results that a computer or electronic device
generates and presents to the user or another system. Output can take various forms,
including text, images, sounds, videos, or any other type of information that a device
provides as a result of processing input or executing tasks. Output is essential for users to
interact with and make sense of the data and operations performed by a computer or device.
Output devices are hardware components or peripherals that facilitate the presentation of
output data to users or other systems. These devices translate digital information into a
format that humans can perceive or understand. Common examples of output devices
include:
• Monitor
• Printer
• Speaker
• Headphones
• Projector

6. Storage Devices:
Storage devices are hardware components or media used to store and retain digital data,
files, and information over an extended period. These devices come in various forms and
have different characteristics, including capacity, speed, and durability. Here are some
common types of storage devices:
• Hard Disk Drive (HDD)
• Solid-State Drive (SSD)
• USB Flash Drive
Instructor: M Altaf 5 Course: C++
• Memory Card
• Optical Discs
• Tape Drives

Instructor: M Altaf 6 Course: C++

You might also like