CSC 101-CSC 111 - Introduction To Computer Science - Lecture 2
CSC 101-CSC 111 - Introduction To Computer Science - Lecture 2
ASSISTANT LECTURER,
DEPARTMENT OF COMPUTER SCIENCE AND MATHEMATICS
MOUNTAIN TOP UNIVERSITY, OGUN STATE, NIGERIA
▪ Definition of Computer
▪ History and Overview of Computing and Computers
▪ Evolution of Ideas and Machines from Mechanical Computer to Multimedia Computer
▪ Introduction to computing system
▪ Basic elements of a computer system hardware
▪ Block diagram, data/instruction flow, control flow
▪ File management in Windows and basic word processors, spreadsheets, presentation, graphics
and other applications
▪ Introduction to programming:
▪ Statements, symbolic names, arrays, expressions and control statements
2
▪ The term computer dates back to the 1600s. However, until the
1950s, the term referred almost exclusively to a human who
performed computations.
▪ For human beings, the task of performing large amounts of computation
is one that is laborious, time consuming, and error prone.
▪ Thus, the human desire to mechanize arithmetic is an ancient one.
▪ Thus, in binary, the number eighteen would be written in Base-2 as 10010, understood
arithmetically as the sum of 1 sixteen, 0 eights, 0 fours, 1 two, and 0 ones:
▪ Why on earth would computer engineers choose to build a machine to do arithmetic using
such a cryptic, unfamiliar form of writing numbers as a binary, Base-Two numeral scheme? 7
▪ In any digital numeral system, each digit must be able to count up to one less than the base.
▪ Thus, in the case of the Base-10 system, counting sequence of each decimal digit runs from 0 up to 9,
and then back to 0.
▪ To represent a decimal digit, then, one must be able to account for all 10 possibilities in the counting
sequence, 0 through 9.
▪ So one must either use a device with ten possible states, like the ten-position gear used in the
Pascaline, or ten separate devices, like the ten separate vacuum tubes used for each digit in the
ENIAC.
▪ However, the binary numeral system is Base-2.
▪ Thus, given that its digits also need only to be able to count as high as one less than the base, this
means that the counting sequence of each binary digit runs from 0 only up to 1, and then back again to
0 already.
▪ In other words, whereas ten different numbers can appear in a decimal digit, 0 through 9, the only
number that will ever appear in a binary digit is a 0 or a 1.
▪ Thus, rather than having to account for the 10 possibilities of a decimal digit, one can represent a
binary digit with only a single device that has two possible states.
▪ For example, one could represent each binary digit with a simple on/off switch, where the ―on
position represents a 1 and the ―off” position represents a 0:
8
▪ These computers were created between the years 1940 to
1956.
▪ The first generation of the computer used vacuum tubes
for the circuitry and the magnetic drums for the memory
and taking up the big rooms.
▪ It was very expensive to operate and uses a great amount
of electricity and produced a large amount of heat.
▪ It relied on the machine language, the lowest level
programming language which was understood by the
computers to perform the various functions and
operations.
▪ It can only solve one problem at a time and can’t do
multitasking work.
▪ The input was based on the punched cards and the paper
tape and the output was displayed on the printouts.
▪ ENIAC and UNIVAC are examples of the first generation
of the computer.
▪ The first commercial computer was UNIVAC which was
delivered to the business client.
9
▪ These computers were created between the years 1956 to 1963
▪ Transistors were used in the second generation of the computer
and transistors replaced the vacuum tubes.
▪ The first transistor was invented in 1947 but didn’t find use in the
computer till 1950.
▪ Transistors are superior to the vacuum tube because computers
became smaller, cheaper and faster.
▪ However, transistors produced large amount of heat that subjected
the computer to damage.
▪ The input was based on the punched cards and paper tapes and
outputs were displayed on the printouts which were the same as
the first generation of computer.
▪ It moved to the symbolic or assembly language from the cryptic
binary machine language.
▪ This language allowed the programmers to specify the input or
instructions in words.
▪ High-level programming languages were also developed at the
same time.
▪ The first computer of the second generation was developed for the
atomic energy industry.
10
▪ These computers were created between the years 1964 to 1971
▪ The integrated circuits were used in the third generation of the computer.
▪ Computers were smaller, cheaper and more reliable than its predecessors. 11
▪ These computers were created between the years 1971 to 2010
▪ Themicroprocessor brought in the fourth generation of
computers.
▪ Thousands of the integrated circuits (ICs) were built on the
single silicon chip.
▪ The first generation of computer occupied an entire room but
the fourth generation of computer could fit into the palm of the
hand.
▪ In 1971 Intel 4004 chips were developed which was located to
all the components of the computer.
▪ IBM introduced its first computer for home users in 1981.
▪ The fourth generation of the computer became more powerful
and could be linked together to form the networks which led to
internet development.
▪ In the fourth generation of computer, we saw the development of
12
the GUIs, keyboard, mouse and other hand handled devices.
▪ These computers were created between the years 2010 till present.
▪ The fifth generation of the computer is based on artificial intelligence and is still in
development.
▪ Computer devices with artificial intelligence are still in development, but some of
these technologies are beginning to emerge and be used such as voice recognition.
▪ There are many applications which are used in this generation like voice
recognition which is being used today.
▪ The use of superconductors and parallel processing helps to make the AI a reality.
▪ Leaning to the future, computers will be radically transformed again by quantum
computation, molecular and nano technology.
▪ The goal or target of this generation is to develop the devices that respond to
natural languages.
13
▪ The term hardware refers to all of the physical devices, or components, that a
computer is made of.
▪ A computer is not one single device, but a system of devices that all work together. Like the
different instruments in a symphony orchestra, each device in a computer plays its own part.
▪ If you have ever shopped for a computer, you’ve probably seen sales literature listing
components such as microprocessors, memory, disk drives, video displays, graphics
cards, and so on.
▪ In the earliest computers, CPUs were huge devices made of electrical and mechanical
components such as vacuum tubes and switches.
▪ The ENIAC, which is considered by many to be the world’s first programmable electronic
computer, was built in 1945 to calculate artillery ballistic tables for the U.S. Army. This
machine, which was primarily one big CPU, was 8 feet tall, 100 feet long, and weighed 30
tons.
▪ Today, CPUs are small chips known as microprocessors.
▪ In addition to being much smaller than the old electromechanical CPUs in early computers,
microprocessors are also much more powerful.
16
▪ You can think of main memory as the computer’s work area.
▪ This is where the computer stores a program while the program is
running, as well as the data that the program is working with.
▪ For example, suppose you are using a word processing program to
write an essay for one of your classes.
▪ While you do this, both the word processing program and the
essay are stored in main memory.
▪ Output Devices
▪ Output is any data the computer produces for people or for other devices.
▪ It might be a sales report, a list of names, or a graphic image.
▪ The data is sent to an output device, which formats and presents it.
▪ Common output devices are video displays and printers. Disk drives and CD recorders can
also be considered output devices because the system sends data to them in order to be
saved.
19
▪ Software
▪ If a computer is to function, software is not optional.
▪ Everything that a computer does, from the time you turn the power switch on until you shut
the system down, is under the control of software.
▪ There are two general categories of software: system software and application software.
▪ System Software
▪ An operating system is the most fundamental set of programs on a computer. The operating system
controls the internal operations of the computer’s hardware, manages all of the devices connected to
the computer, allows data to be saved to and retrieved from storage devices, and allows other
programs to run on the computer.
▪ Utility Programs performs a specialized task that enhances the computer’s operation or
safeguards data. Examples of utility programs are virus scanners, file compression
programs, and data backup programs.
▪ Software Development Tools are the programs that programmers use to create, modify, and
test software. Assemblers, compilers, and interpreters are examples of programs that fall into
this category.
20