Beruflich Dokumente
Kultur Dokumente
Information was defined in earlier topics A collection of meaningful facts and gures
that can be used as a base for guidance and decision making. These facts are called
Data.
More specifically, Data is a collection of raw facts that represent features, off details
about people, objects. Places, ideas or events.
Data can represent small items-so small that individual items shave no meaning on
their own. For example. Black hair, 20 km, leather jacket, tall building, red paint,
white horse, etc, are representation of data and are known as data items or data
elements.
We must process and organize data in some way to produce Information is a
processed and organized data in short. data is the raw material for information.
Data Processing and organization
Data processing is the manipulation and transformation of data into a more useful
form.
In an Information factory – be it in and office or something like a sound studio. That
is raw data is collected, the collected data is processed. Out Put is produced, and the
output is communicated to concerned users.
Data processing can be performed manually, mechanically or electronically.
Manually Data processing, involves the manipulation of data by hand almost all
people in their daily perform manual data processing. Hence we can say people are
information processors
Mechanical data processing, involves the use of mechanical like typewriters, etc to
assist the processing of data.
Electrical data processing, processing data using computers.
Processing and Information processing are often used interchangeably.
Basic data processing Cycle
The basic steps in data processing are three input, processing and output. These three
steps taken in this order is referred to as data processing cycle.
Input. This is the stage in which data is prepared and input to the system.
Process. This is the stage in which data is transformed into information or input is
changed into output.
Output. It is meaningless to input data into a system and process it unless we get the
finished product.
Basics of computers
What is a computer?
Why are computers so widely used? What is that a computer does which people find
so useful the common theme which links all of the uses mentioned above is
information computers can store large mounts of information and also perform
complex calculations on that information. For this reason you sometimes hear
computers referred to as information processors or information technology IT.
Definition: a computer is an electronic device that accepts information process it and
produces out put for example in banking a computer system might accept information
about customers account e.g. balance deposits, withdrawals and then calculate the
interest due on the account the out put would be the new balance.
The major criteria for computer classification are
• Purposes /Application /
• Sizes and capacity
Application of computers
It is often useful to divide different types of computers into different categories. One
important distinction is the application of the computer (i.e. what it is used for). In this
regard, computers can be categorized a special purpose or general – purpose.
1. Special purpose computers
Special purpose computers are designed with a specific task in mind, and are
not used for any other purpose. They are pre-programmed with instructions to
perform a specific role. For example, air traffic control systems and many
household appliances such as TVs and video cassette recorders will make use
of tailor made computers.
2. General – purpose computers
General –purpose computers can be used to meet the needs of many different
applications. These are programmable, in that they allow the user to specify
different sets of instructions to program the different tasks.
1.1 Types of computer
General – purpose computers can be further subdivided, depending on the
way in which they are used in particular we can distinguish between types of
computer based on their power, and how many people can use them at a time.
.1.1 Microcomputers
Microcomputers (also known as personal computers or PCs) are designed for a
single user at a time. Depending on their size and computing power microcomputers
can be further subdivided into 3 subcategories.
• Desktop PCs
• Laptop PCs
• Handheld PCs
Figures show pictures of these 3 types Desktops and laptops are similar in power. But
laptops are designed to be as small and portable as possible. Therefore they are
slightly more expensive than desktops and have lower quality screens. Handheld PCs
are designed to be small enough to hold in your hand. This is only made possible by
reducing their computing power.
These days’ microcomputers are by far the most common type of computer. Although
a single pc only allows one user at a time this limitation has been overcome by the
popularity of computer networking. A computer network is the interconnection of
many individual computers, such as a road is the link between the homes and the
buildings of a city.
1.1.2 Minicomputers
Minicomputers are medium sized computers that are more costly and powerful than
microcomputers. They are designed to be used by several users at a time.
2.1.3 Mainframes
Mainframe computers are also designed to allow a number of users at one time. The
distinction between mainframes and minicomputers is not always clear. But generally
mainframes are larger and more powerful, and allow a larger number of users at a
time usually more than 100
2.1.4 Supercomputers
Supercomputers are very costly and are designed with the primary aim of making the
computer as fast as possible. Due to the high cost of supercomputers they are quite
uncommon. They are used mainly for computationally intensive scientific
calculations, such as weather forecasting and scientific research.
What are computers used for?
Computers are very widely used in such areas as accounting
banking, design and manufacture, shopping and education. Cost of
the major developments in the last 10-15 years has been the growth
in use of the internet. The internet is a vast networks of computers
the international linking of tens of thousands of business.
Universities and research organizations with millions of individual
users. The internet allows people from different parts of the world to
send each other electronic mail email that reach their destination in
a matter of seconds.
The development of computers
Brief history
Since the very early days of human civilization people have used
machines to do calculations. One of the earliest counting machines
was the Abacus, which was used by the ancient Greeks and
Romans, although the design known today, with sliding counters on
a wooden frame was invented in china in 1200AD. However the
abacus was only capable of doing very basic calculations in 1833
the Englishman Charles Babbage designed his Analytical Engine a
machine capable of performing much more complex calculations.
This is generally agreed to be the first computer, although it was
never actually built during Babbage life time. In 1936, the British
mathematician Alan Turing designed a device that could be
programmed to perform a sequence of discrete steps, This
hypothetical Turing machine became the basis all digital computers,
and so the history of modern computers began.
It is important to distinguish between simple measuring or
calculating devices (such as the abacus) and computers. Measuring
or calculating devices can use either digital or analogue information.
For example. A thermometer is a simple analogue measuring
device. However, computers always use digital information.
When talking about the development of computing we usually refer
to different generations of computers, these generations are defined
by the technology used to make them. For example, the first
generation of digital computers used a technology called vacuum
tubes, table 2 shows a brief summary of the four generation of
modern digital computers, together with the technology used to
make them.
The technology currently used in computers, ultraminiaturised
silicon chips, has brought great improvement in processing speed,
but like all technologies will eventually reach the limits of its
capability. If performance is to continue to improve a new fifth
generation technology will be required. There has been much
speculation as to computing. With employs ideas from quantum
physics.
Keyboard
The computer keyboard is an input peripheral device it is very much like a typewriter
it enables users to enter information into the computer in the form of characters (i.e.
letters and numbers). Figure 4 show an example of a computer keyboard. Computer
keyboards contain a number of special keys, the function of which you should be
aware of:
• Shift Holding down the shift key and then pressing a letter key causes an
upper case letter to appear. Where two symbols appear on a key holding down.
Shift causes the upper one to appear.
• Caps Lock If you press the caps lock key once any letters you subsequently
type will appear in upper case. Pressing caps lock again will reverse the effect.
• Ctrl and Alt These are the function keys. They are used for performing
special functions in some software package.
• ! . !. !. !: These are the cursor keys. In world – processing applications
typed characters always appear at the position indicated by a blinking cursor .
pressing the cursor key will move this cursor around the screen.
• Tab the Tab key is used to move the cursor to a preset point, for example to
indent paragraphs.
• Delete The delete key will delete the character to the right of the cursor.
• Backspace Pressing the Backspace key will delete the character to the left of
the cursor.
Mouse
The mouse is another input device. It is a pointing device. The user moves the mouse
to position a pointer on the screen. And clicks mouse buttons to send position
information to the computer .with the popularity of graphical user interfaces on
computers mousse have become an essential part of modern computer systems.
Monitor
The monitor is like a TV screen. It displays visual information to the user, and is
therefore an output peripheral device.
Printer
The printer is another output device. Printers produce typed documents on paper.
These typed documents are also sometimes referred to as hard copies or printouts. An
example of a printer is shown in figure 5.
Scanner
The scanner is an input device that allows users to transfer images into the computer.
It acts a bit like a photocopy machine, except that instead of producing another paper
copy, it digitizes the image (i.e. converts it to digital form) and transfers the
information into the computer.
Modem
The modem acts as both an input and an output device. It enables the computer to talk
to another computer viaphone line. It is modems which are largely responsible for the
growth in popularity of the internet. Computers from all over the world use modems
to connect to a global network of computers, enabling fast communication and
sharing information.
The system unit
Out of the 4 basic functions of a computer system, the peripheral devices enable the
inputting, outputting and storage of information. But it is the system unit that
performance the processing of the information.
Opening up the system unit
If you ever have to open up a system unit for maintenance purposes the first thing to
remember is to remove the power lead before you do so. This is to stop you getting an
electric shock. The second thing remembers is to earth yourself (just touch your hand
onto any part of the metal casing of the system unit). This is to make sure that both
your body and the computer are at the same voltage – if you don’t do this you could
damage some of the sensitive electrical components inside the unit.
The appearance of the inside of system units can vary greatly, but there are a number
of common components that are essential to the potation of the computer. The
following are some of the common internal components of the system unit. Note that
all of these are hardware components. hardware can be found inside the computer is
well as outside.
Mother board
All of the electronic components in the Pc are mounted on a piece of fiberglass called
the motherboard ( see figure 6). Thin lines of metal on the surface of the motherboard
act as wires that connect one component to another. Enabling them to communicate
each other. This is called a printed circuit board (PCB)
CPU
The cpu ( Central processing unit is the most important part of the computer. It is the
cpu that carries out the instructions that we provide. you can think of the brain of the
computer. There have been a number of different brands of CPU over the years. The
main manufacturer of CPUs has been a company called Intel, although AMD also
have a large share of the market. Each new processor that these companies develop
offers faster processing speeds than the last one. Figure7 shows the main types of
Intel processor that you might find.
RAM chips
RAM ( Random Access Memory ) chips are used for temporary storage of
information whilst the computer is operating. For example to store the program or the
data it is processing. However, RAM is volatile memory. This means that when the
computer is switched off all information in RAM is lost. The amount of storage
provided by a single RAM chip can vary, but most modern computers contain about
32-256 MB of RAM.
ROM chips
ROM ( Read only Memory ) chips contain information which is essential to the
operation of the computer. For this reason it is permanently stored on the chip, and
cannot be changed. There fore it is non –volatile memory. The amount of storage on a
single ROM chip depends on what information it is storing.
Disk drives
Most pcs contain 3 different disk drives inside them the hard disk drive the floppy
disk drive and the CD-ROM drive. All of these drives are non –volatile storage, when
the computer is switched off the information is preserved.
Others
All of the above components are found in almost every pc. However, there are a
number of other parts that are found in some models. These include a speaker for
producing sound, a moths co-processor for speeding up numerical calculations, and
expansion cards that add extra functionality to your computer. These expansion cards
provide features such as enhanced graphics, network capability, and internet access.
-The most widely used spreadsheets packages are Excel, Lotus, and quarto pro etc.
Database Management systems (DBMS)
Are programs that make it possible for users to manage data and increase
productivity. Through DBMS, the data are accessed, maintained, and processed.
- DBMS accomplish five objectives
a) Integrating databases
b) Reducing redundancy
c) Sharing information
d) Maintaining integrity
e) Enabling database evolution
- Examples of DBMS include MS-Access and foxpro
Computer graphics
Are those programs that allow engineers, artists and other people to use a computer to
create, edit, display and print graphic images.
-examples of computer graphics include Auto CAD ( computer Aided Design) and
print master
1.7 computer programming languages
Programming languages
A language is a systematic set or rules for communication ideas. With programming
languages, the communication is between a person and a computer.
A programming language is a series of commands and codes that the computer can
translate into the electronic pulses that underlie computing activities.
Programming involves translating what a user wants to accomplish into a code the
computer can understand and execute.
- Have rules of programming languages called the syntax just like grammatical
rules in English language. The languages syntax dictates how the symbols
should be combined into statements capable of conveying meaningful
instructions to the CPU.
- The content of communication between the computer and the person or user is
known as a program. Thus, a program is a set or instructions that directs a
computer to perform certain tasks and produces certain results. In general, a
program instructs the computer what to do. Both systems and applications
software produced as a result of programming activities.
- People who write or develop computer programs are called programmers.
- Those who develop systems software are known as systems programmers.
- Those who develop application programs are called Application programmers.
Levels of languages
The three levels of computer programming languages are
Machine language
The first generation of programming language, that was available in the earliest days
of computers, is machine language. Machine language is the only programming
language that the computer can understand..
-each computer has it own language which is made of streams of 0s and 1s
The reason that the instruction in machine language must be in streams of 0s and 1s is
that the internal circuit of a computer is made of switches, transistors, and other
devices that can be in one of two states on or off,
Assembly language
Second generation languages a e the next level of programming languages,
Developers of assembly languages attempted to overcome some of the difficulties
inherent in machine language programming by replacing the binary digits with
symbols programmers can understand more easily,
-Use mnemonics in place of 1s and 0s to represent the operation codes. A mnemonics
is an alphabetical abbreviation used as a memory aid. For example instead of using
the combination of 0s and 1s to represent the addition operation, the mnemonic AD
might be used.
-Provide an easier and more efficient way to program than machine languages.
-The advantage of programming with assembly languages are that they produce
programs that are efficient use less storage, and execute, much faster than programs
designed in high level languages.
-All languages that were developed after the first generation are called symbolic
language because their emphasis is on the use of symbols that can be easily
understood by humans.
- Assembly languages nust translate into machine language. This conversion is done
by a language transistor program known as Assembler.
-The assembly language program is called source code and its transiation is known as
object code.
- How ever assembly languages are still machine –oriented and require a through
knowledge of the computer hardware. Because of this still other high-level languages
became necessary.
High – level language
These are also called the third generation of programming languages. The instructions
of high level languages are called statements. Statements closely resemble human
languages or the standard notation of mathematics high level languages do not require
that the programming have detail knowledge about the internal operation of a
computer.
• Are much easier to learn and use than assembly languages.
• Typically less time and effort are required to program in a high level
languages because programming errors are easier to be machine independent.
• Just like the assembly languages programs written using high level languages
need to be translated to machine languages. Each individual statement in a
high level language generates several machine instructions when translated
into machine language by high level language transistor program called
compilers or interpreters.
• A complier translates a whole program, called the source code, at once into
machine language before the program is executed. Once converted, the
program is stored in machine – readable form, called the object code. The
object code can be immediately executed anytime thereafter.
• An grater on the other hand, translates program into machine language line at
a time executing each line of the program after it is translated with most
interpret machine readable form is not stored in primary storage or on a
secondary storage then the program must be interpreted each time before it is
executed.
• Some of the major high level language are FORTRAN, COBOL BASIC,
Parcal, C, C++,etc.
Object oriented programming languages
These are recently developed programming languages that allow the interaction of
programming of other programming languages separate data elements from the
procedures or actions there will be object oriented programming languages however
the data elements and producers actions together to .thus an object consists of data
and the actions performed on the data. for example an object can be data about an
employee and all the operation ( such as payroll calculation ) that might be performed
upon the data object oriented languages aim to improve the quality and correctness.
programs examples of object oriented programming languages include visual BASIC,
visual C++, small talk, etc.