Introduction to Computer Science Gst 114
Introduction to Computer Science Gst 114
INTRODUCTION
The field of computer science affects almost every area of human activities. It’s
relevance on societies is seen in the abundant production of computers, editors
used for text, phones, and lots of areas where computer is developed to make
programming and software more reliable.
A computer can therefore be defined as a machine that can work on
sequences of operations that are long, complex and can be repeated. Such
operations can be used on unprocessed information called data given by a user
and are used to give out the required results or information.
One can also say that a computer is an electronic device that is able to
perform an instruction(s). The simplest command or instruction which computers
perform are getting data (input), arithmetically and logically operating on the
given data, storing and displaying the result of operation (output).
Note: Examples of computing devices are mobile phone – Mobile phones are
smart phones with hard ware and software capabilities, they also have mobile
operating systems, Tablets – these are mobile devices held in the hand (large
smart phones), Laptops, Work stations- Work stations use processors and video
card. They are computers or group of computers that are used to perform work
by individual for email purposes, browsing the net etc., Servers- servers are
hardware or software that accepts and responds to request over a network. The
device that makes the request is the called CLIENT and the device that gives the
response is called the SERVER. Gaming consoles is another example of computing
device and these are specialized computer system designed for interactive video
game play and display. It functions like a PC with same component like the CPU,
GPU, RAM, e.g.’s are blue ray drives, IOT – IOT are systems of inter related
computing devices, made up of mechanical and digital objects which are provided
with unique id and ability to transfer data over network without requiring human-
human or human – computer interaction system.
HISTORY AND DEVELOPMENT OF COMPUTERS
The history of computer is all about the development from simple devices that
aided calculations to modern day computers.
Computers began from way back the first of its devices known as the abacus
performing calculations. According to history, the abacus device was created in
Asia although its usage was seen in China, all of Europe, ancient Babylon until
later in the ages. Abacus made use of system where beads are made to slide in a
rack and are used for basic mathematical operations such as additions as well as
for subtractions.
A French Philosopher who was also a mathematician called Blaise Pascal
made a device called Pascaline in 1642 that could only perform addition and
subtraction operation. It had eight dials that was on wheels, and it calculate sums
that were up to eight figures.
Note that Pascaline and Abacus could just perform addition and subtraction.
As time went on precisely in the 17th century, a calculating Step Reckoner
device that added, subtracted multiplied and divided was invented by a man
known as Gottfried Von Leibniꝫ a German mathematician & philosopher in 1671.
In later development of Computers, precisely in 1819, a French weaver
called Joseph Jacquarcl found out that instructions that he used for his loom could
be entered and stored on cards that have punched holes in them. This worked by
having the cards sequentially move through the loom, and needles went through
these holes picking up thread that has the same color and texture thus one who
weaves can arrange the cards again and the pattern that is being woven can be
changed. This whole way of having information stored on cards by punching holes
became a great addition in developing computers later.
Going further away from devices that could carry out simple mathematical
operations, Charles Babbage who won an English mathematician as well as a
physical scientist in the early to mid-1800’s designed the 2 machines that could
calculate and they were called the DIFFERENCE and ANALYTICAL engine. Although
the difference engine could carry out operations that are termed complex such as
numbers that are squared automatically, it was a prototype as the main device
was never made.
The analytical engine on the other hand was designed in such a way that it
had a device used as input, another which was called the unit for control which
gave room for instructions to be processed sequentially and a device for output.
All of these designs however were known through his colleague, as his designs
stayed at the stage of blue print. Charles Babbage was considered the first
computer programmer.
When the nineteenth century came to an end and the census officials of
the U.S. wanted to specifically put their census data into a table, an inventor
called Herman Hollerith made a machine which used electricity and could
calculate, and made use of same punch card to store data. This machine was very
successful. The computer and technology cooperation known as IBM founded by
Hollerinth was first known as the Tabulating Machine Company.
Under the leadership of Howard Aiken in 1944 together with IBM and
Harvard University, Mark 1 which was the very first machine that was like
computer was built. Data was entered into this machine with the aid of a punch
card.
Mark 1, was 52 feet in length, it weighed 50 tons and had a total of about
750,000 parts. 2 years later precisely in 1946, the Electronic Numerical Integrator
and Computer (ENIAC) with about 18,000 vacuum tubes with weight of about 30
tons built at the University of Pennsylvania in the United States of America.
John Von Neuman made design rules in the late 1940’s that are used by
computers today. Basically, John Von Neumann’s, design was made up of the
arithmetic and logic unit, the unit for control, memory, as well as the devices that
are used for both input and output. This design makes it possible that the
instruction used for programming and the data are stored in the same memory
space. Note also that UNIVAC also known which is an acronym for Universal
Automatic Computer was built in 1951.
The invention of transistors that brought about energy- efficient computers
were small, fast and reliable. Following the moving forward of technology, chips
known as tiny Integrated Circuits took over transistors. These chips were smaller
and did not cost as much as the transistors and just one chip could contain so
much circuit numbering thousands. The very fast speed that computers have are
as a result of these chips. A whole central processing unit (CPU) which was on just
one chip was invented in 1970 and it was known as a microprocessor.
The first Apple computer was built in 1977 by Stephen Woꝫniak and Stephen jobs
in Job’s garage and it was known as PC (Personal Computer). As technology was
growing, Computers became very fast and were not so expensive.
Computers nowadays are reliable, very powerful and can be used for
almost everything. The computers that we have now, takes instructions spoken in
words and even behaves like human in terms of reasoning through A.I (Artificial
intelligence). There are expert systems that even helps doctors make diagnosis.
With the help of a Global Positioning system (GPS), drivers are able to verify
locations even with their phones. Emails, airline reservations, accessing bank
account etc. are now done using computers.
---- Output
Device
----
Arithmetic Logic unit (ALU)
Main Memory
Secondary Storage
Fig 1.1 Hardware Components of a computer system
The control unit has 3 main functions: They fetch, decode instructions and also
help to control the flow of instruction of data into and out of main memory as
well as control the working of the CPU’S internal component.
The ALU i.e. arithmetic logic unit executes the arithmetical and decision-making
operation (logical).
There are also various registers some for special purpose that are contained in
the CPU. Examples are that which holds instructions that are just being
executed called (IR) instruction register and the program counter (PC) that
shows the instruction that is to be carried out.
2. Main Memory: This is connected directly to the CPU and all programs are
loaded here. When the computer is turned off, it lost everything in the
main memory. They make it possible for a computer to store data or
information and programs temporarily.
i. Secondary or mass storage device: This device helps the computer to
store large amount of data (information) permanently. Common
secondary devices are disk and tape drives.
3. Input/output devices: The input devices are those devices that are used to
enter data and programs into the computer e. g’s. are mouse, keyboard,
secondary storage etc. while those devices that are used to show/display
results are called output device e.g’s monitor, printer, secondary storage
device.
COMPUTER SOFTWARE
Software is the term used to describe the set of instructions that tells the
computer hardware how to perform a task. They include the operating system,
application and utility software. Software is also seen as a collection of computer
programs that allows the user to use the computer for specific purpose. Without
software the hardware can do nothing useful. No software no work! By creating
appropriate software, a computer may be made to do almost anything under its
capability.
Software loaded into the primary memory is lost the moment power supply
to the memory is switched off. Therefore, software is usually stored on secondary
storage device so that you do not have to enter it into the computer’s memory
each time through an input device. Software is also seen as programs or set of
instructions, which is required to use the computer.
Software can be classified on a number or basis and its purpose.
1) System Software: This is the collection of programs that control the
functioning of all hardware resources directly. No computer hardware
exists in operational condition unless it is equipped with system software.
E.g. the operating system which is a software system that controls
the functions of all the resources without it the user cannot do
anything as it’s responsible for getting commands or a program from
a user and getting executed by the relevant hardware.
The operating system also controls the storage and retrieval of data and
programs to and from the secondary storage devices.
Examples of operating systems are DOS (Disk operating system),
Windows – Xp,8,10 OS/2, UNIX, LINUX, Macintosh
2) Application software which is defined as a subclass of computer software
that employs the capabilities of a computer directly to a task that the user
wishes to perform.
Application software consists of programs that direct computers to perform
specific information processing activities for and users. These programs are
called application packages because they direct the processing required for
a particular use, or application which users want to accomplish.
E.g. Games, instant messengers, wood processes, antivirus programs.
Application software is a type of software that you use on a computer that
helps the user complete a specific task.
Application software can be categorizing into
a) General purpose application programs e.g. word, spreadsheet,
database, graphic programs
b) Customized-specific software. Some frequently used application
software is:
1) Word processors, Spreadsheet used by engineers, researchers, managers
e.g.