Introduction to Programming (Lecture 1 – Part 1:
Algorithms and Flowcharts)
What is a Computer?
A computer is a sophisticated electronic device designed to process data,
transforming it into meaningful information. It is an indispensable tool in modern
society, used in various fields such as education, healthcare, finance, and
entertainment. At its core, a computer performs four basic operations: input,
processing, storage, and output.
1. Input : This involves feeding data into the computer through various input
devices such as keyboards, mice, scanners, and cameras.
2. Processing : The central processing unit (CPU) manipulates the input data
according to a set of instructions, performing calculations, data management, and
other operations.
3. Storage : Data and information are stored in storage devices like hard drives,
solid-state drives, and memory cards for immediate or future use.
4. Output : The processed data is then presented as information through output
devices like monitors, printers, and speakers.
Functions of a Computer
A computer’s capabilities extend far beyond basic data processing. Here are some
of its key functions
- Store Large Amounts of Data : Computers can store vast quantities of
information, from simple text files to complex databases, ensuring that data is
easily accessible when needed.
- Process Data Quickly : They handle and compute data at remarkable speeds, far
exceeding human capabilities.
- Fast Access to Information and Records : Computers can retrieve stored data
almost instantaneously, making them crucial for tasks requiring quick access to
information.