Itba Notes
Itba Notes
MODULE 1:
CONTENTS:
1. INTRODUCTION TO COMPUTERS
2. FUNDAMENTALS
3. HISTORY AND DEVELOPMENT
4. COMPUTER ARCHITECTURE
5. SOFTWARE AND HARDWARE
6. GENERATIONS OF A COMPUTER
7. TYPES OF SOFTWARE IN DETAIL
INTRODUCTION TO COMPUTERS:
What is a computer?
b. processes Processing
data
c. produces
output Output
The Information
Processing Cycle
d. stores
results Storage
Advantages of a computer:
For writing:
Quick entry
Many tools to produce various kinds of output (html, text, books, pdf
documents, etc.)
For organization
Easy Storage and Once a document is in electronic form it is easy to store and
many, many documents can be stored on one computer in much less space than
in a file cabinet.
Easy to search
For programming
Compilers: MSVC, Sun javac, GNU Compiler Collection (java, fortran, C, C++, and
more), Intel C Compiler...
For Research:
Easily search for new information or search the information already acquired
Almost instant access to many remote or obscure locations of the globe and
their researchers/experiences/knowledge.
The first counting device was the abacus, originally from Asia. It worked on a
place-value notion meaning that the place of a bead or rock on the apparatus
determined how much it was worth.
ABACUS
• 1600 : John Napier discovers logarithms. Robert Bissaker invents the slide rule.
• 1642 : Blaise Pascal, a French mathematician and philosopher, invents the first
mechanical digital calculator using gears, called the Pascaline. Although this
machine could perform addition and subtraction on whole numbers, it was too
expensive and only Pascal himself could repair it.
PASCALINE
• 1804 : Joseph Marie Jacquard used punch cards to automate a weaving loom.
• 1812 : Charles P. Babbage, the "father of the computer", discovered that many
long calculations involved many similar, repeated operations. Therefore, he
designed a machine, the difference engine which would be steam-powered,
fully automatic and commanded by a fixed instruction program. In 1833,
Babbage quit working on this machine to concentrate on the analytical engine.
A Vacuum Tube:
• 1939 : Dr. John V. Atanasoff and his assistant Clifford Berry build the first
electronic digital computer. Their machine, the Atanasoff-Berry-Computer (ABC)
provided the foundation for the advances in electronic digital computers.
• 1945 : Dr. John von Neumann presented a paper outlining the stored-program
concept.
That same year, the TRANSISTOR was invented by William Shockley, John
Bardeen and Walter Brattain of Bell Labs. It would rid computers of vacuum
tubes and radios.
ENIAC
• 1949 : Maurice V. Wilkes built the EDSAC (Electronic Delay Storage Automatic
Computer), the first stored-program computer. EDVAC (Electronic Discrete
Variable Automatic Computer), the second stored-program computer was built by
Mauchly, Eckert, and von Neumann. A Wang developed magnetic-core memory
which Jay Forrester would reorganize to be more efficient.
EDSAC
• 1950 : Turing built the ACE, considered by some to be the first programmable
digital computer.
COMPUTER ARCHITECTURE:
Control flow:
Any input given through the input devices will firstly enter the Control unit
and will be stored for temporary usage by the registers.
It then goes through the Arithmetic Logic Unit(ALU) for processing and will
be stored in the memory(RAM).
Finally, the processed and stored data will be displayed back to the user by
an output device.
Input devices:
Mouse:
A Mouse is used for navigation through the monitor screen and it makes
facilitates the usage of the computer.
Types of Mouse:
A mouse works very well for navigating a graphical user interface, such as
Windows or Mac. With additional buttons and a scroll wheel, increasingly
complex functions can be done from a mouse. These include opening, closing
and minimizing software; grouping, moving and deleting files; and even image
editing with software like Photoshop. In my experience, a mouse is better for
fine movements and adjustments than most of the alternatives.
Threats:
Motion controller.
Keyboards:
These are the default input devices. A 'keyboard' is a human interface device
which is represented as a layout of buttons. Each button, or key, can be used to
either input a linguistic character to a computer, or to call upon a particular
function of the computer. Traditional keyboards use spring-based buttons,
though newer variations employ virtual keys, or even projected keyboards.
Types of keyboards:
1.Wireless keyboards
2.Wired keyboards
Wireless Keyboards
Bluetooth Keyboards
Infrared (IR) Keyboards
Radio Frequency Keyboards
Wired keyboards:
The PS/2 and USB are the two wired connections that connect the keyboards
to your desktop computers. The PS/2 keyboards are very commonly used
and they are called so because they use the PS/2 connection. They are one of
the cheapest keyboards that are available in the market. The USB keyboards
use a USB (Universal Serial Bus) to connect to the CPU. The PS/2 and USB
keyboards are usually plug and play. Other types of keyboards are a bit
expensive and require expensive software applications to be installed.
Ergonomic Keyboards
Internet Keyboards
The internet keyboards are designed to increase the comfort level of the
internet user. The internet keyboards have hot-keys for the home page of
the web browser, inbox and the favorites menu on your computer.
The multimedia and gaming keyboards are designed for playing audio and
has hot-keys for volume control, play, stop and mute operations. The gaming
keyboards are designed for the convenience of the gamers and these types
of keyboards provide the required controls on the keyboards like
backlighting.
Threats:
Control unit:
Control Unit Co-ordinates the input and output devices of a computer system.
A control unit can be described as a sort of circuitry that supervises and controls
the path of information that runs over the processor and organizes the various
activities of those units that lie inside it.
• It carries out many tasks such as decoding, fetching, handling the execution
and finally storing the results.
• It guides the flow of data through the different parts of the computer.
Arithmetic logic unit is that part of the computer which performs the different
logic operations and arithmetic calculations like addition, subtraction,
multiplication and division. It is the high speed digital circuit that solves
calculations and does comparisons.
• Almost all the actions of the computer are done by it. It gets its data from a
certain computer memory called processor register . After the data gets
processed, its results get stored in output registers of the arithmetic logic unit .
• The arithmetic logic unit can perform integer arithmetic operations like
addition, subtraction, etc.
• It can also perform bitwise logic operations like AND, OR, XOR, etc
Registers:
Memory
Random access memory or RAM most commonly refers to computer chips that
temporarily store dynamic data to enhance computer performance. By storing
frequently used or active files in random access memory, the computer can
access the data faster than if it to retrieve it from the far-larger hard drive.
SRAM AND DRAM:
There are two types of Random Access Memory or RAM, each has its own
advantages and disadvantages compared to the other. SRAM (Static RAM) and
DRAM (Dynamic RAM) holds data but in a different ways. DRAM requires the
data to be refreshed periodically in order to retain the data.
SRAM does not need to be refreshed as the transistors inside would continue to
hold the data as long as the power supply is not cut off. This behavior leads to a
few advantages, not the least of which is the much faster speed that data can be
written and read.
One complication is the much higher power used by DRAM memory, this
difference is very significant in battery powered devices. SRAM modules are also
much simpler compared to DRAM, which makes it easier for most people to
create an interface to access the memory.
Summary:
There are two main reasons that read-only memory is used for certain functions
within the PC:
Permanence: The values stored in ROM are always there, whether the power is
on or not. A ROM can be removed from the PC, stored for an indefinite period
of time, and then replaced, and the data it contains will still be there. For this
reason, it is called non-volatile storage. A hard disk is also non-volatile, for the
same reason, but regular RAM is not.
Security: The fact that ROM cannot easily be modified provides a measure of
security against accidental (or malicious) changes to its contents. You are not
going to find viruses infecting true ROMs, for example; it's just not possible. (It's
technically possible with erasable EPROMs, though in practice never seen.)
TYPES OF ROM:
This is a type of ROM that can be programmed using special equipment; it can
be written to, but only once. This is useful for companies that make their own
ROMs from software they write, because when they change their code they can
create new PROMs without requiring expensive equipment. This is similar to the
way a CD-ROM recorder works by letting you "burn" programs onto blanks once
and then letting you read from them many times. In fact, programming a PROM
is also called burning, just like burning a CD-R, and it is comparable in terms of
its flexibility.
Output devices:
What most people think of as a computer can actually be divided into two parts.
The first part, computer hardware, does all of the physical work computers are
known for. The second part, computer software, tells the hardware what to do
and how to do it. If you were to think of a computer as a living being, then the
hardware would be the body that does things like seeing with eyes, lifting
objects, and filling the lungs with air; the software would be the intelligence,
interpreting the images that come through the eyes, telling the arms how to lift
objects etc. Computer software is most commonly created by computer
programmers using a programming language. The programmer writes
commands in the programming language that are similar to what someone
might use in everyday speech. These commands are called source code. Another
computer program called a compiler is then used on the source code,
transforming the commands into a language that the computer can understand.
The result is an executable computer program, which is another name for
software.
System software represents programs that allow the hardware to run properly.
Application software represents programs that allow users to do something
besides simply run the hardware. Some experts also include a third category,
programming software, though others put those programs into one of the other
previously mentioned categories.
Hardware:
Everything you can see and touch in your PC is hardware. Hardware is the
physical interface of a computer on which software runs.
It is tangible.
This following list represents a basic set of hardware found in most PCs.
PC Case
Motherboard
Power Supply
Keyboard
Mouse
Audio
Generations of Software:
With the onset of the Second World War, governments sought to develop
computers to exploit their potential strategic importance.
The Electronic Numerical Integrator and Computer (ENIAC), produced by a
partnership between the U.S. government and the University of Pennsylvania.
Consisting of 18,000 vacuum tubes, 70,000 resistors and 5 million soldered
joints, the computer was such a massive piece of machinery that it consumed
160 kilowatts of electrical power, enough energy to dim the lights in an entire
section of Philadelphia. Developed by John Presper Eckert (1919-1995) and John
W. Mauchly (1907-1980), ENIAC, unlike the Colossus and Mark I, was a general-
purpose computer that computed at speeds 1,000 times faster than Mark I.
ENIAC
Though transistors were clearly an improvement over the vacuum tube, they
still generated a great deal of heat, which damaged the computer's sensitive
internal parts. The quartz rock eliminated this problem. Jack Kilby, an engineer
with Texas Instruments, developed the integrated circuit (IC) in 1958. The IC
combined three electronic components onto a small silicon disc, which was
made from quartz. Scientists later managed to fit even more components on a
single chip, called a semiconductor. As a result, computers became ever smaller
as more components were squeezed onto the chip. Another third-generation
development included the use of an operating system that allowed machines to
run many different programs at once with a central program that monitored
and coordinated the computer's memory.
After the integrated circuits, the only place to go was down - in size, that is.
Large scale integration (LSI) could fit hundreds of components onto one chip. By
the 1980's, very large scale integration (VLSI) squeezed hundreds of thousands
of components onto a chip. Ultra-large scale integration (ULSI) increased that
number into the millions. The ability to fit so much onto an area about half the
size of a U.S. dime helped diminish the size and price of computers. It also
increased their power, efficiency and reliability. The Intel 4004 chip, developed
in 1971, took the integrated circuit one step further by locating all the
components of a computer (central processing unit, memory, and input and
output controls) on a minuscule chip.
In 1981, IBM introduced its personal computer (PC) for use in the home, office
and schools. The 1980's saw an expansion in computer use in all three arenas as
clones of the IBM PC made the personal computer even more affordable. The
number of personal computers in use more than doubled from 2 million in 1981
to 5.5 million in 1982. Ten years later, 65 million PCs were being used.
Computers continued their trend toward a smaller size, working their way down
from desktop to laptop computers (which could fit inside a briefcase) to
palmtop (able to fit inside a breast pocket). In direct competition with IBM's PC
was Apple's Macintosh line, introduced in 1984.
Programming Software: This is one of the most commonly known and popularly
used forms of computer software. These software come in forms of tools that
assist a programmer in writing computer programs. Computer programs are sets
of logical instructions that make a computer system perform certain tasks. The
tools that help the programmers in instructing a computer system include text
editors, compilers and interpreters.
System Software: It helps in running the computer hardware and the computer
system. System software is a collection of operating systems; devise drivers,
servers, windowing systems and utilities. System software helps an application
programmer in abstracting away from hardware, memory and other internal
complexities of a computer.
Apart from these three basic types of software, there are some other well-
known forms of computer software like inventory management software, ERP,
utility software, accounting software and others. Take a look at some of them.
Utility Software: Also known as service routine, utility software helps in the
management of computer hardware and application software. It performs a
small range of tasks. Disk defragmenters, systems utilities and virus scanners
are some of the typical examples of utility software.
Data Backup and Recovery Software: An ideal data backup and recovery
software provides functionalities beyond simple copying of data files. This
software often supports user needs of specifying what is to be backed up.
The Operating System is the System Software that makes the Computer work.
We can say that an Operating System (OS) is Software that acts as an interface
between you and the hardware. It not only contains drivers used to speak the
hardware's language, but also offers you a very specific graphical user interface
(GUI) to control the computer. An OS can also act as an interface (from the
hardware) to the other software. A complex OS like Windows or Linux or Mac
OS offers the services of an OS, but also has applications built in. Solitaire, Paint,
Messenger, etc. are all applications.
Application software is the software that you install onto your Operating
System. It consists of the programs that actually let you do things with your
computer. These Applications are written to run under the various Operating
Systems. These include things like your word processing programs, spread
sheets, email clients, web browser, games, etc. Many programs, such as most of
the Microsoft Office suite of programs, are written in both Mac and Windows
versions, but you still have to have the right version for your OS.
***The End***