Computer Basics, Exercises of Logic

A computer is an electronic machine that accepts information, stores it until the information is needed, processes the information according to the instructions ...

Typology: Exercises

2022/2023

Uploaded on 03/01/2023

shokha
shokha 🇮🇳

4.5

(13)

234 documents

1 / 6

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
C
Co
om
mp
pu
ut
te
er
r
B
Ba
as
si
ic
cs
s
ByDr.JimmyBarnes(EditedbyBrentGriffin)
W
Wh
ha
at
t
i
is
s
A
A
C
Co
om
mp
pu
ut
te
er
r
A computer is an electronic machine that accepts information, stores it until the information
is needed, processes the information according to the instructions provided by the user, and
finally returns the results to the user (Input Data, Manipulate Data, Store Data, Recall Data,
and Output Data). The computer can store and manipulate large quantities of data at very
high speed, but a computer cannot think. A computer makes decisions based on simple
comparisons such as one number being larger than another. Although the computer can
help solve a tremendous variety of problems, it is simply a machine. It cannot solve
problems on its own.
H
Hi
is
st
to
or
ry
y
o
of
f
C
Co
om
mp
pu
ut
te
er
rs
s
Since civilizations began, many of the advances made by science and technology have
depended upon the ability to process large amounts of data and perform complex
mathematical calculations. For thousands of years, mathematicians, scientists and
businessmen have searched for computing machines that could perform calculations and
analyze data quickly and efficiently. One such device was the abacus.
The abacus was an important counting machine in ancient Babylon, China, and throughout
Europe where it was used until the late middle ages. It was followed by a series of
improvements in mechanical counting machines that led up to the development of accurate
mechanical adding machines in the 1930’s. These machines used a complicated assortment
of gears and levers to perform the calculations but they were far to slow to be of much use
to scientists. Also, a machine capable of making simple decisions such as which number is
larger was needed. A machine capable of making decisions is called a computer.
The first computer like machine was the Mark I developed by a team from IBM and Harvard
University. It used mechanical telephone relays to store information and it processed data
entered on punch cards. This machine was not a true computer since it could not make
decisions.
In June 1943, work began on the world's first electronic computer. It was built at the
University of Pennsylvania as a secret military project during World War II and was to be
used to calculate the trajectory of artillery shells. It covered 1500 square feet and weighed
30 tons. The project was not completed until 1946 but the effort was not wasted. In one of
its first demonstrations, the computer solved a problem in 20 seconds that took a team of
mathematicians three days. This machine was a vast improvement over the mechanical
calculating machines of the past because it used vacuum tubes instead of relay switches. It
contained over 17,000 of these tubes, which were the same type tubes used in radios at
that time.
The invention of the transistor made smaller and less expensive computers possible.
Although computers shrank in size, they were still huge by today’s standards. Another
innovation to computers in the 60’s was storing data on tape instead of punch cards. This
gave computers the ability to store and retrieve data quickly and reliably.
pf3
pf4
pf5

Partial preview of the text

Download Computer Basics and more Exercises Logic in PDF only on Docsity!

CoCommppuutteerr BBaassiiccss

By Dr. Jimmy Barnes (Edited by Brent Griffin)

WWhhaatt iiss AA CCoommppuutteerr

A computer is an electronic machine that accepts information, stores it until the information is needed, processes the information according to the instructions provided by the user, and finally returns the results to the user (Input Data, Manipulate Data, Store Data, Recall Data, and Output Data). The computer can store and manipulate large quantities of data at very high speed, but a computer cannot think. A computer makes decisions based on simple comparisons such as one number being larger than another. Although the computer can help solve a tremendous variety of problems, it is simply a machine. It cannot solve problems on its own.

HHiissttoorryy ooff CCoommppuutteerrss

Since civilizations began, many of the advances made by science and technology have depended upon the ability to process large amounts of data and perform complex mathematical calculations. For thousands of years, mathematicians, scientists and businessmen have searched for computing machines that could perform calculations and analyze data quickly and efficiently. One such device was the abacus.

The abacus was an important counting machine in ancient Babylon, China, and throughout Europe where it was used until the late middle ages. It was followed by a series of improvements in mechanical counting machines that led up to the development of accurate mechanical adding machines in the 1930’s. These machines used a complicated assortment of gears and levers to perform the calculations but they were far to slow to be of much use to scientists. Also, a machine capable of making simple decisions such as which number is larger was needed. A machine capable of making decisions is called a computer.

The first computer like machine was the Mark I developed by a team from IBM and Harvard University. It used mechanical telephone relays to store information and it processed data entered on punch cards. This machine was not a true computer since it could not make decisions.

In June 1943, work began on the world's first electronic computer. It was built at the University of Pennsylvania as a secret military project during World War II and was to be used to calculate the trajectory of artillery shells. It covered 1500 square feet and weighed 30 tons. The project was not completed until 1946 but the effort was not wasted. In one of its first demonstrations, the computer solved a problem in 20 seconds that took a team of mathematicians three days. This machine was a vast improvement over the mechanical calculating machines of the past because it used vacuum tubes instead of relay switches. It contained over 17,000 of these tubes, which were the same type tubes used in radios at that time.

The invention of the transistor made smaller and less expensive computers possible. Although computers shrank in size, they were still huge by today’s standards. Another innovation to computers in the 60’s was storing data on tape instead of punch cards. This gave computers the ability to store and retrieve data quickly and reliably.

CCoommppuutteerr TTaasskkss

  • Input
  • Storage
  • Processing
  • Output

When a computer is asked to do a job, it handles the task in a very special way:

  1. It accepts the information from the user. This is called input.
  2. It stored the information until it is ready for use. The computer has memory chips, which are designed to hold information until it is needed.
  3. It processes the information. The computer has an electronic brain called the Central Processing Unit, which is responsible for processing all data and instructions given to the computer.
  4. It then returns the processed information to the user. This is called output.

Every computer has special parts to do each of the jobs listed above. Whether it is a multimillion dollar mainframe or a thousand dollar personal computer, it has the following four components, Input, Memory, Central Processing, and Output.

The central processing unit (CPU) is the electronic brain of the computer. The CPU in a personal computer is usually a single chip. It organizes and carries out instructions that come from either the user or from the software. The processor is made up of many components, but two of them are worth mentioning at this point. These are the arithmetic and logic unit and the control unit. The control unit controls the electronic flow of information around the computer. The arithmetic and logic unit, ALU, is responsible for mathematical calculations and logical comparisons.

The processor is plugged into the computer’s motherboard. The motherboard is a rigid rectangular card containing the circuitry that connects the processor and all the other components that make up your personal computer. In most personal computers, some of the components are attached directly to the motherboard and some are housed on their own small circuit boards that plug into the expansion slots built into the motherboard.

IInnppuutt DDeevviicceess

A computer would be useless without some way for you to interact with it because the machine must be able to receive your instructions and deliver the results of these instructions to you. Input devices accept instructions and data from you the user. Some popular input devices are listed below.

Keyboard Mouse Scanner Microphone CD/DVD-ROM Joystick

Byte – The amount of space in memory or on a disk needed to store one character.

8 bits = 1 Byte

1 Kilobyte (KB) = 1000 bytes

1 Megabyte (MB) = 1000 KB

1 Gigabyte (GB) = 1000 MB

1 Terabyte (TB) = 1000 GB (Lots of zeros and ones!)

Since computers can handle such large numbers of characters at one time, metric prefixes are combined with the word byte to give some common multiples you will encounter in computer literature.

Kilo means 1000 Kilobyte (KB) = 1000 Bytes Mega means 1,000,000 Megabyte (MB) = 1,000,000 Bytes Giga Means 1,000,000,000 Gigabyte (GB) = 1,000,000,000 Bytes

Or, alternately:

1 Kilobyte (KB) = 1000 bytes

1 Megabyte (MB) = 1000 KB

1 Gigabyte (GB) = 1000 MB

1 Terabyte (TB) = 1000 GB (Lots of zeros and ones!)

CCeennttrraall PPrroocceessssiinngg UUnniitt ((CCPPUU))

The central processing unit is one of the two most important components of your microcomputer. It is the electronic brain of your computer. In addition to processing data, it controls the function of all the other components. The most popular microprocessors for PC’s are manufactured by Intel or AMD. Typically Apple processors are manufactured by Motorola.

Older generations of microprocessors are listed below.

1993 Pentium 2000 Pentium IV

The table lists Intel processors, along with memory and hard drive limitations.

Output Devices

Monitor Speakers Printer Impact Dot Matrix Non-Impact Ink Jet Laser