CSC 101
CSC 101
information.
Information is data that is organized, has meaning, and is useful.
Processing Cycle.
• Storage: The computer holds data internally before, during and after
processing.
• Processing: The computer perform operations on the data it holds within.
• Output: The computer produces data from within for external use.
The following are the three major methods that have been widely used for
data processing over the years:
• Manual method
• Mechanical method
• Computer method.
1.4.1 Manual Method:
The manual method of data processing involves the use of chalk, wall, pen,
pencil and the like. These devices, machine or tools facilitate human efforts
in recording, classifying, manipulating, sorting and presenting data or
information. The manual data processing operations entail considerable
manual efforts. Thus, manual method is cumbersome, tiresome, boring,
frustrating and time consuming. Furthermore, the processing of data by the
manual method is likely to be affected by human errors. When there are
errors, then the reliability, accuracy, neatness, tidiness, and validity of the
data would be in doubt. The manual method does not allow for the processing
of large volume of data on a regular and timely basis.
1.4.2 Mechanical Method:
The mechanical method of data processing involves the use of machines such
as typewriter, adding machines and the like. These machines facilitate
human efforts in recording, classifying, manipulating, sorting and presenting
data or information. The mechanical operations are basically routine in
nature. There is virtually no creative thinking.
The mechanical operations are noisy, hazardous, error prone and untidy. The
mechanical method does not allow for the processing of large volume of data
continuously and timely.
1.4.3 Computer Method:
The computer method of carrying out data processing has the following
major features:
• Data can be steadily and continuously processed
• The operations are practically not noisy
• There is a store where data and instructions can be stored temporarily and
permanently.
• Errors can be easily and neatly corrected.
•Output reports are usually very neat, decent and can be produced in
various forms such as adding graphs, diagrams, pictures etc.
• Accuracy and reliability are highly enhanced.
1.5 Characteristics/Features Of Computers
A computer’s power is derived from its capability of performing the
information processing cycle operations with speed, reliability, and accuracy;
its capacity to store huge amounts of data, instructions, and information; and
its ability to communicate with other computers.
1.5.1 Speed
Inside the system unit, operations occur through electronic circuits. When
data, instructions, and information flow along these circuits, they travel at
close to the speed of light. This allows billions of operations to be carried out
in a single second.
1.5.2 Reliability
The electronic components in modern computers are dependable because
they have a low failure rate. The high reliability of components enables the
computer to produce consistent results.
1.5.3 Accuracy
Computers can process large amounts of data and generate errorfree
results, provided the data is entered correctly. If inaccurate data is entered,
the resulting output will be incorrect. This computing principle known as
GarbageIn, GarbageOut (GIGO), point out that the accuracy of a
computer’s output depends on the accuracy of the input.
1.5.4 Storage
Many computers can store enormous amounts of data and make this data
available for processing any time it is needed. Using current storage devices,
the data can be transferred quickly from storage to memory, processed, and
then stored again for future use.
1.5.5 Communications
Most computers today have the capability of communicating with other
computers. Computers with this capability can share any’ of the four
information processing cycle operations – inputs, process, output, and
storage – with another computer. For example, two computers connected by
a communications device such as a modem can share stored data,
instructions, and information. When two or more computers are connected
together via communications media and devices, they comprise a network.
The most widely known network is the Internet. A worldwide collection of
installations, educational institutions, and individuals.
of illness.
Labdiagnostic System All tests can be done and reports are prepared by
computer.
Patient Monitoring System These are used to check patient's signs for
personnel that operates the computer. We have expert users and casual
users. The expert users could be further categorized into computer
engineers, computer programmers and computer operators.
7. The Computing Environment: The computing environment ranges
from the building that is housing the other elements of the computing
system namely the computer and the users, the furniture, auxiliary
devices such as the voltage stabilizer, the Uninterruptible Power
Supply (UPS) System, the fans, the air conditioners etc.
exactly how to manipulate the input data and produce the desired
output.
9. Data: “ Data ” is the name given to basic facts.
computer, expressed as 0 or 1.
12. Byte (Binary Digit Eight): A set of 8 adjacent bits, which represent a
2.1 Objectives
The objective of this unit is to enable the student to know the processes
leading to the emergence of the modern computer. There can be no present
without the past just as the future depends on the present. By the end of this
unit, students should be able to appreciate and visualize the direction of
research in computer technology in the nearby future .
2.2 Brief History of Computer Technology
Attempts to create a selfmotivating and calculating machine that would
emulate many of the thinking patters of human beings have been a
centurieslong quest for many inventors. The eighteenth century Turk was
alleged to be a chessplaying automaton which defeated the likes of Napoleon
Bonaparte and Benjamin Franklin in chess matches; it was later revealed
that the Turk was a hoax controlled by a man inside the machine. Still, the
idea for creating a humanlike thinking machine remained alive and well
into the twentieth century. Konrad Zuse, a German engineer, developed the
first truly programmable computer in 1941. It used a stream of paper tape
with holes punched into it to perform calculations based on a complex
algorithm. The first commercial computer was the famous UNIVAC of 1951
produced in the US, invented by John Presper Eckert and John W. Mauchly.
It used a series of vacuum tubes to perform complex calculations and filled
several rooms with its bulk; the computing power of UNIVAC is equivalent
to today's pocket calculators.
In the 1950s most computers relied on vacuum tubes to perform electronic
calculation functions, which kept the size of computers to the equivalent of a
large room. If vacuum tubes were not allowed sufficient space to allow air to
cool them, they would blow out and shut the computer down completely until
the burnedout or defective tube was replaced; a difficult prospect with
20,000 or more tubes to choose from. By the close of the 1950s, the integrated
circuit chip was invented by Jack Kilby and Robert Noyce, which reduced the
size (and cost) of computers.
Earlier in the decade, IBM had gotten into the computer market, but mainly
sold to businesses (such as banks) that had room to spare in their buildings.
The invention and adoption of the chip would allow IBM to become the
premier producer of computing machines throughout the 1960s and 1970s.
2.3 Computer Generations
The history of computer development is often referred in reference to the
different generations of computing devices. Each of the five generations of
computers is characterized by a major technological development that
fundamentally changed the way computers operate, resulting in increasingly
smaller, cheaper, and more powerful and more efficient and reliable
computing devices. In this section you will learn about each of the five
generations of computers and the technology developments that have led to
the current devices that we use today. Our journey starts in 1940 with
vacuum tube circuitry and goes to the present day and beyond with artificial
intelligence (AI).
2.3.1 First Generation (19401956) Vacuum Tubes
The first generation computers used vacuum tubes for circuitry and
magnetic drums for memory, and were often enormous, taking up entire
rooms. They were very expensive to operate and in addition they used a
great deal of electricity, generated a lot of heat, which was often the cause of
malfunctions. First generation computers relied on machine language, the
lowestlevel programming language understood by computers, to perform
operations, and they could only solve one problem at a time. Input was based
on punched cards and paper tape, and output was displayed on printouts.
The Universal Automatic Computer (UNIVAC) and Electronic Numerical
Integrator Analyzor and Computer (ENIAC) computers are examples of first
generation computing devices. The UNIVAC was the first commercial
computer delivered to a business client, the U.S. Census Bureau in 1951.
2.3.2 Second Generation (19561963) Transistors
Transistors replaced vacuum tubes and ushered in the second generation of
computers. The transistor was invented in 1947 but did not see widespread
use in computers until the late 1950s. The transistor was far superior to the
vacuum tube, allowing computers to become smaller, faster, cheaper, more
energyefficient and more reliable than their predecessors (firstgeneration).
Though the transistor still generated a great deal of heat that subjected the
computer to damage, it was a vast improvement over the vacuum tube.
Secondgeneration computers still relied on punched cards for input and
printouts for output. Secondgeneration computers moved from cryptic
binary/machine language to symbolic, or assembly languages, which allowed
programmers to specify instructions in words. Highlevel programming
languages were also being developed at this time, such as early versions of
COBOL and FORTRAN. These were also the first computers that
stored their instructions in their memory, which moved from a magnetic
drum to magnetic core technology. The first computers of this generation
were developed for the atomic energy industry. Some computers of this
generation were: IBM1620, IBM 7094, UNIVAC 1108, etc.
2.3.3 Third Generation (19641971) Integrated Circuits
The development of the integrated circuit was the hallmark of the third
generation of computers. Transistors were miniaturized and placed on silicon
chips, called semiconductors, which drastically increased the speed and
efficiency of computers. Instead of punched cards and printouts, users
interacted with third generation computers through keyboards and monitors
and interfaced with an operating system, which allowed the device to run
many different applications at one time with a central program that
monitored the memory. Computers for the first time became accessible to a
mass audience because they were smaller and cheaper than their
predecessors. Some computers of this generation were:IBM360 series,
Honeywell6000 series, PDP(Personal Data Processor), IBM370/168 and
others.
2.3.4 Fourth Generation (19711980) Microprocessors
The microprocessor brought the fourth generation of computers, as
thousands of integrated circuits were built onto a single silicon chip. What in
the first generation filled an entire room could now _t in the palm of the
hand. The Intel 4004 chip, developed in 1971, located all the components of
the computer from the central processing unit and memory to input/output
controls on a single chip.
In 1981 IBM introduced its first computer for the home user, and in 1984
Apple introduced the Macintosh. Microprocessors also moved out of the
realm of desktop computers and into many areas of life as more and more
everyday products began to use
microprocessors. As these small computers became more powerful, they could
be linked together to form networks, which eventually led to the
development of the Internet. Fourth generation computers also saw the
development of GUIs, the mouse and handheld devices. Some computers of
this generation were: STAR 1000, PDP 11, CRAY1 (Super Computer).
2.3.5 Fifth Generation (Present and Beyond) Artificial Intelligence
Fifth generation computing devices, based on artificial intelligence, are still
in development, though there are some applications, such as voice
recognition, that are being used today. The use of parallel processing and
superconductors is helping to make artificial intelligence a reality. Quantum
computation and molecular and nanotechnology will radically change the
face of computers in years to come. The goal of fifthgeneration computing is
to develop devices that respond to natural language input and are capable of
learning and selforganization.
CHAPTER 3 CLASSIFICATION OF COMPUTERS
3.1 Introduction:
Computer has passed through many stages of evolution from the days of the
mainframe computers to the era of microcomputers. Computers have been
classified based on different criteria. In this section, we shall classify
computers according to signal type, purpose and size (or capacity).
3.2 Classification According to Signal Type:
There are basically three types of electronic computers. These are the
Analog, Digital and Hybrid computers.
3.2.1 Analog Computers
Analog computers are the form of computers that are used to process analog
data. Analog data is of continuous nature and which is not discrete or
separate. Such type of data includes temperature, pressure, speed weight,
voltage, depth etc. These quantities are continuous and having an infinite
variety of values.
It measures continuous changes in some physical quantity e.g. The
Speedometer of a car measures speed, the change of temperature is
measured by a Thermometer, the weight is measured by Weights machine.
These computers are ideal in situations where data can be accepted directly
from measuring instrument without having to convert it into numbers or
codes.
Analog computers are widely used for certain specialized engineering and
scientific applications, for calculation and measurement of analog quantities.
They are frequently used to control process such as those found in oil
refinery where flow and temperature measurements are important. They are
used for example in paper making and in chemical industry. Analog
computers do not require any storage capability because they measure and
compare quantities in a single operation. Output from an analog computer is
generally in the form of readings on a series of dial (Speedometer of a car) or
a graph on strip chart.
3.2.2 Digital Computers
A digital computer is a computer that stores and performs a series of
mathematical and logical operations on data expressed as discrete signals
interpreted as numbers, usually in the form of binary notation (0 and 1).So
we can say that digital computers process information which is based on the
presence or the absence of an electrical charge or we prefer to say a binary 1
or 0.
A digital computer can be used to process numeric as well as nonnumeric
data. It can perform arithmetic operations like addition, subtraction,
multiplication and division and also logical operations. Most of the
computers available today are digital computers. The most common
examples of digital computers are accounting machines and calculators.
The results of digital computers are more accurate than the results of analog
computers. Analog computers are faster than digital. Analog computers lack
memory whereas digital computers store information. We can say that
digital computers count and analog computers measures.
3.2.3 Hybrid Computers
A hybrid is a combination of digital and analog computers. It combines the
best features of both types of computers, ie. It has the speed of analog
computer and the memory and accuracy of digital computer. Hybrid
computers are used mainly in specialized applications where both kinds of
data need to be processed. Therefore, they help the user, to process both
continuous and discrete data. For example a petrol pump contains a
processor that converts fuel flow measurements into quantity and price
values. In hospital Intensive Care Unit (ICU), an analog device is used which
measures patient's blood pressure and temperature etc, which are then
converted and displayed in the form of digits. Hybrid computers for example
are used for scientific calculations, in defense and radar systems.
3.3 Classification According to Purpose
Depending on their flexibility in operation, computers are classified as either
special purpose or general purpose.
3.3.1 Special Purpose Computers
A special purpose computer is one that is designed to solve a restricted class
of problems. Such computers may even be designed and built to handle only
one job. In such machines, the steps or operations that the computer follows
may be built into the hardware.
Most of the computers used for military purposes fall into this class. Other
example of special purpose computers include:
• Computers designed specifically to solve navigational problems;
• Computers designed for tracking airplane or missiles
• Computers used for process control applications in industries such as oil
refinery, chemical manufacture, steel processing and power generation
• Computers used as robots in factories like vehicles assembly plants and
glass industries
Attributes of Special Purpose Computers: Special purpose computer are
usually very efficient for the tasks for which they are specially designed.
They are very much less complex than the General Purpose Computers. The
simplicity of the circuiting stems from the fact that provision is made only for
limited facilities. They are very much cheaper than the GeneralPurpose type
since they involve less components and are less complex.
3.3.2 General Purpose Computers
GeneralPurpose computers are computers designed to handle wide range of
problems. Theoretically, a generalpurpose computer can be adequate by
means of some easily alterable instructions to handle any problems that can
be solved by computation. However, in practice there are limitations imposed
by memory size, speed and the type of input/output devices. Examples of
areas where the general purpose are employed include the following:
• Cost accounting
• Sales analysis
• Billing
• Banking
• Payroll
Attributes of General Purpose Computers:
• GeneralPurpose computers are more flexible than special purpose
computers; they can handle a wide spectrum of problems
• They are less efficient than the specialpurpose computers due to such
problems as: Inadequate storage and Low operating speed
• Coordination of the various tasks and subsection may take time
• General Purpose Computers are more complex than the special purpose
ones.
3.4.4 Microcomputers:
Microcomputers are computer systems that utilize a microprocessor as their
central and arithmetic element. The personal computer (PC) is one form. The
power and price of a microcomputer is determine partly by the speed and
power of the processor and partly by the characteristics of other computers of
the system, i.e. the memory, the disk units, the display, the keyboard, the
flexibility of the hardware, and the operating system and other software.
Examples include IBM PC and its compatibles and Apple Macintosh.
Quantum computer with 500 qubits gives 2 500 superposition states. Each
state is classically equivalent to a single list of 500 1's and 0's. Operate on
2500 states simultaneously. Equivalent to a classical computer with
approximately 10150 processors.
CHAPTER 4 COMPONENTS OF A COMPUTER
4. Introduction
Computer
System
Softwares Hardwares
4.1 HARDWARE
The control unit, one component of the CPU, directs and coordinates most of
the operations in the computer. For every instruction, the control unit
repeats a set of four basic operations called the machine cycle:
(1) fetching the instruction or data item from memory,
(2) decoding the instruction into commands the computer understands,
(3) executing the commands, and, if necessary,
(4) storing, or writing, the result to memory.
The CPU uses temporary storage locations called registers, to hold data and
instructions. The function include storing location of where instruction was
fetched storing an instruction while it is being decoded, storing data while
the ALU processing it, and storing the results of a calculation.
4.2.2 Memory
Memory consists of electronic components that store instructions waiting to
be executed and the data needed by those instructions.
In the system unit, a computer’s memory stores data, instructions, and
information. memory stores three basic items: The operating system and
other system software that control the usage of the computer equipment;
Application programs designed to carry out a specific task such as word
processing; and The data being processed by application programs. The
number of bytes it can store measures memory size a Kilobyte (KB) is
approximately one thousand bytes, and a Megabyte (MB) is approximately
one million bytes.
Although some forms of memory are permanent, most memory keeps data
and instructions temporarily, which mean its contents are erased when the
computer is shut off. Computers and mobile devices contain two types of
memory: volatile and nonvolatile. When the computer’s power is turned
off, volatile memory loses its contents. Nonvolatile memory, by contrast, does
not lose its contents when power is removed from the computer. Thus,
volatile memory is temporary and nonvolatile memory is permanent. RAM is
the most common type of volatile memory. Examples of nonvolatile memory
include ROM, flash memory, and CMOS. The following sections discuss these
types of memory.
4.2.2.1 RAM
RAM (Random Access Memory), also called main memory, is a memory chip
that the processor can read from and write to. RAM is volatile memory,
meaning that its contents are lost when the computer’s power is turned off. it
is the main memory of the computer system that stores the data temporarily
and allows the data to be accessed in any order . Multiple Programs can be
loaded into RAM simultaneously provided you have enough RAM to
accommodate all the programs. The original IBM PC could only use up to
640 KB of memory (just over half a megabyte), whereas a modern computer
can effectively house as much RAM as you can afford to buy. Commonly
modern computers are supplied with over 2 GB of RAM.
4.2.2.2 ROM
ROM (ReadOnlyMemory) is a memory chip that only can be read and used;
that is, it cannot be modified. ROM is nonvolatile memory, meaning that bits
contents are not lost when the computer’s power is turned off.
Commonly used for storing of program instructions that is not subjected to
change. Generally provided by manufacturer. RON clips that contain
permanently written data, instruction, or information are called firmware.
Another type of ROM clip, called programmable read only memory (PROM)
clip, is a blank ROM chip on which you can permanently place items. The
instructions used to program a PROM clip are called microcode. Once the
microcode is programmed into the PROM clip, it functions like a regular
ROM clip and cannot be erases or changed.
4.2.2.3 Memory Access Times
The speed at which the processor can access data from memory directly
affects how fast the computer process data. This speed often is defined as
access time. Access time is measured in fractions of a second. For memory,
access times are measured in terms of a nanosecond, which is one billionth of
a second.
CHAPTER 5 INPUT DEVICES
5 Introduction:
It is common to divide external computer hardware into two groups. The first
group deals with transferring data or commands from the user into the
computer. These are known as input devices. Once the user has managed to
input the commands and data required into the computer, there are several
output devices that the computer can use to pass the information (the results
of data processed with the help of commands) back to the user.
5.1 Input
Input is any data or instruction you enter into the memory of a computer.
Once input in the memory, the CPU can access it and process the input into
output. four common type of input are:
5.2.1 Keyboard:
Keyboard is the most common and very popular input device which helps in
inputting data into the computer. The layout of the computer keyboard is
similar to the layout of a traditional typewriter, although there are some
additional keys on a computer keyboard provided for performing additional
functions. Keyboards are of two sizes 84 keys or 101/102 keys, but now
keyboards with 104 keys or 108 keys are also available for Windows and
Internet. The keys on the keyboard are as follows:
1. Typing Keys: These keys include the letter keys (AZ) and digit keys (09)
consists of a set of 17 keys that are laid out in the same configuration used
by most adding machines and calculators.
3. Function Keys: The twelve function keys are present on the keyboard
which are arranged in a row at the top of the keyboard. Each function key
has unique function it performs in different environment.
4. Control keys: These keys provide cursor and screen control. It includes
four directional arrow keys. Control keys also include Home, End, Insert,
Delete, Page Up, Page Down, Control (Ctrl), Alternate (Alt), Escape (Esc). 5.
Special Purpose Keys: Keyboard also contains some special purpose keys
such as Enter, Shift, Caps Lock, Num Lock, Space bar, Tab, and Print
Screen.
Note that the exact placement of these keys is up to the keyboard designer,
so variations exist from keyboard to keyboard.
5.2.2 Mouse:
Mouse is the most popular pointing device. It is a very famous cursorcontrol
device having a small palm size box with a round ball at its base which
senses the movement of mouse and sends corresponding signals to CPU
when the mouse buttons are pressed. However, modern mice uses optical
lights. Optical mouse have replaced the round ball. Generally it has two
buttons called left and right button and a wheel is present between the
buttons. Mouse can be used to control the position of cursor on screen, but it
cannot be used to enter text into the computer. The advantages of mouse are:
Easy to use, Not very expensive and Moves the cursor faster than the arrow
control keys of keyboard. The mouse can be used for clicking, right clicking,
double clicking, selection, pointing, dragging of objects such as program icons
in the computer system.
5.2.3 Joystick:
The joystick is also a pointing device which is used to move the cursor
position on a monitor screen. It is a stick having a spherical ball at both its
ends, the lower and upper ends, with the lower spherical ball moving in a
socket. The joystick can be moved in all four directions and has functions
similar to that of a mouse. It is mainly used in Computer Aided Design
(CAD) and for playing computer games.
5.2.6 Microphone:
A microphone is an input device that enables you to speak into a computer or
mobile device. Many computers and most mobile devices contain builtin
microphones. You also can talk into a headset, which contains both a
microphone and a speaker. Many headsets can communicate wirelessly with
the computer or mobile device.
5.2.7 Digitizer:
Digitizer is an input device which converts analog information to digital
form. Digitizer can convert a signal from the television or camera into a
series of numbers that could be stored in a computer. They can be used by
the computer to create a picture of whatever the camera had been pointed at.
A digitizer converts graphics and pictorial data into binary inputs and is
used for doing fine works of drawing and image manipulation applications.
6. Output
Output is data that has been processed into a useful form called information.
That is, a computer processes input into output. Computer generate several
types of output, depending on the hardware and software being used and
requirements of the user. Four common types of output are:
Text: Consist of characters that are used to create words, sentences and
Video: Consists of images that are played back at speeds that provide the
displays use optical effects to convert sunlight or light from some other
source into graphics patterns. Example is LiquidCrystal Device (LCD)
6.2.3 Smart TV
A Smart TV is an Internetenabled highdefinition television (HDTV) from
which you can use the Internet to watch video, listen to the radio, play
games, and communicate with others — all while watching a television show.
Using a SmartTV, you can stream content from the TV to other Internet
enabled devices, such as a tablet or smartphone, and use cloud storage
services to share content.
6.3 Printers:
A printer is an output device that produces text and graphics on a physical
medium, such as paper or other material. Printed content sometimes is
referred to as a hard copy or printout. Most printers today print text and
graphics in both black and white and color on a variety of paper types with
many capable of printing lab quality photos. A variety of printers support
wireless printing, where a computer or other device communicates wirelessly
with the printer. There are two types of printers: Impact Printers and Non
Impact Printers.
graphics on a piece of paper without actually striking the paper. Some spray
ink, while others use heat and pressure to create images. Because these
printers do not strike the paper, they are much quieter than the impact
printers. Some of the characteristics of Nonimpact Printers are speed, not
noisy, high quality printouts, support many fonts and different character
size. Example Laser Printers and Inkjet Printers.
• Inkjet Printers
Inkjet printers work in the same fashion as dotmatrix printers in the
form images or characters with little dots. However, the dots are
formed by tiny droplets of ink. Inkjet printers form characters on
paper by spraying ink from tiny nozzles through an electrical field that
arranges the charged ink particles into characters at the rate of
approximately 250 characters per second. The ink is absorbed into the
paper and dries instantly. Various colors of ink can also be used.
• LaserPrinter
A laser printer works like a photocopy machine. Laser printers produce
images on paper by directing a laser beam at a mirror which bounces
the beam onto a drum. The drum has a special coating on it to which
toner (an ink powder) sticks. Using patterns of small dots, a laser beam
conveys information from the computer to a positively charged drum to
become neutralized. From all those areas of drum which become
neutralized, the toner detaches. As the paper rolls by the drum, the
toner is transferred to the paper printing the letters or other graphics
on the paper. A hot roller bonds the toner to the paper.
6.3.3 Plotters:
Plotters are sophisticated printers used to produce highquality drawings,
such as blueprints, maps, and circuit diagrams. These printers are used in
specialized fields such as engineering and drafting and usually are very
costly.
6.4 Speakers:
Speakers provide audio output. Speakers change the electrical signals from
sound files and convert them into sound waves that we can hear. Once a
sound file is recorded, speakers can be used to listen to the music or other
sound.
6.5 Projectors:
A projector is a device that is connected to a computer or a video device for
projecting an image from the computer or video device onto the big white
screen. A projector consists of an optic system, a light source and displays,
which contain the original images. Projects were initially used for showing
films but now they are used on a large scale for displaying presentations in
various situations.
6.5 Interactive Whiteboards
An interactive whiteboard is a touchsensitive device, resembling a dryerase
board that displays the image on a connected computer screen, usually via a
projector. A presenter controls the program by clicking a remote control,
touching the whiteboard, drawing on or erasing the whiteboard with a
special digital pen and eraser, or writing on a special tablet. Notes written on
the interactive whiteboard can be saved directly on the computer and/or
printed.
CHAPTER 7 STORAGE
7. Storage
Storage, also called secondary storage, auxiliary storage or mass storage,
holds items such as data, instructions, and information for future use.
Storage is nonvolatile, which means that items in storage are retained even
when the power is removed from the computer. For example, computers can
store hundreds or millions of student names and addresses permanently.
A computer keeps data, instructions, and information on storage media.
Storage media are physical materials on which items are kept. Examples of
local storage media include hard disks, solidstate drives, USB (universal
serial bus) flash drives, memory cards, and optical discs.
A storage device records (writes) and/or retrieves (reads) items to and from
storage media. Storage devices often also function as a source of input and
output because they transfer items from storage to memory and vice versa.
Drives and readers/writers, which are types of storage devices, accept a
specific kind of storage media. For example, a DVD drive (storage device)
accepts a DVD (storage media).
7.4 Tapes
One of the first storage media used with mainframe computers was magnetic
tapes, a magnetically coated ribbon of plastic capable of storing large amount
of data and information at a low cost. Tape storage requires sequential
access, which refers to reading or writing data consecutively. Like a music
tape, you must forward or rewind the tape to a specific point to access a
specific piece of data.
USB flash drives are convenient for mobile users because they are small and
8. Introduction
Softwares
program into machine language code which is also known as object code
or object program.
• Interpreters: An interpreter is a program that translates high level
level language program source codes into machine language code before
execution. Examples of compilers are Turbo Pascal Compiler, Borland
C++ compiler, etc.
8.1.3 Utility Programs
A utility program is a type of system software that performs a specific task
usually related to managing a computer, Its devices or its programs. An
example of a utility program is an uninstaller, which removes a program
that has been installed on a computer. Most operating systems include
several utility programs for managing disk drives, printers, and other
devices. You also can buy standalone utility programs to perform additional
computer management functions.
8.2 Application Software:
packages around, virtually for every field of study but few are listed below.
Advantages of these packages include quick and cheaper implementation,
time saving, minimum time for its design, they have been tested and proven
to be correct, they are usually accompanied by full documentation and are
also very portable. These include but not limited to:
1. Text Editors (Word Processor): A Word Processor is used to create,
edit, save and print reports. It affords the opportunity to make amendments
before printing is done. During editing, a character, a word, a sentence or a
number of lines can be removed or inserted as the case may be. Another
facility possible is spell checking. A document can be printed as many times
as possible. Word processors are mainly used to produce: Letters, Mailing
lists, Label, Greeting Cards, Business Cards, Reports, Manual, Newsletter.
Examples are: WordPerfect, WordStar, Display Writer, Professional Writer,
LOTUS Manuscript, MsWord, LOCO Script, MM Advantage II, Notepad,
etc.
2. Spreadsheet: Is an application mainly designed for manipulation of
images, diagrams and pictures. Examples are PM, PM Plus, Graphic Writer,
Photoshop.
5. Database Packages: It is software for designing, setting up and
children and adults. Examples are Chess, Scrabble, Monopoly, Tune Trivia,
Star Trek 2, California Game, Soccer Game, War Game, Spy Catcher
Dracula in London, etc.
9. Communication Packages: Examples are Carbon Plus, Data talk V3.3,
Today, users often connect to the Internet via broadband Internet service
because of its fast data transfer speeds and its alwayson connection.
Through broadband Internet service, users can download webpages quickly,
play online games, communicate in real time with others, and more.
The domain name system (DNS) is the method that the Internet uses to
store domain names and their corresponding IP addresses. When you enter a
domain name (i.e., google.com) in a browser, a DNS server translates the
domain name to its associated IP address so that the request can be routed
to the correct compute. A DNS server is a server on the Internet that usually
is associated with an ISP.
A media sharing site is a website that enables members to manage and share
media such as photos, videos, and music.
9.10.4 News, Weather, Sports, and Other Mass Media
News, weather, sports, and other mass media websites contain newsworthy
material, including stories and articles relating to current events, life,
money, politics, weather.
9.10.5 Educational
An educational website offers exciting, challenging avenues for formal and
informalteaching and learning. The web contains thousands of tutorials from
learning how to fly airplanes to learning how to cook a meal. For a more
structured learning experience, companies provide online training to
employees, and colleges offer online classes and degrees. Instructors often
use the web to enhance classroom teaching by publishing course materials,
grades, and other pertinent class information.
A business website contains content that increases brand awareness, provides company
background or other information, and/or promotes or sells products or services. Nearly
every enterprise has a business website.
9.10.7 Blogs
Whereas blogs are a tool for publishing and sharing messages, wikis enable
users to organize, edit, and share information. A wiki is a type of
collaborative website that allows users to create, add, modify, or delete the
website content via a browser. Wikis can include articles, documents, photos,
or videos.
9.10.9 Science
Online banking and online trading enable users to access their financial
records from anywhere in the world, as long as they have an Internet
connection. Using online banking, users can access accounts, pay bills,
transfer funds, calculate mortgage payments, and manage other financial
activities from their computer or mobile device.
9.10.11 Mapping
Several mapping website and web apps exist that enable you to display up
todate maps by searching for an address, postal code, phone number, or
point of interest (such as an airport, lodging, or historical site). The maps can
be displayed in a variety of views, including terrain, aerial, maps, streets,
buildings, traffic, and weather. These websites also provide directions when
a user enters a starting and destination point.
You can purchase just about any product or service on the web, a process
that sometimes is called eretail (short for electronic retail). To purchase
online, the customer visits the business’s electronic storefront, which
contains product descriptions, images, and a shopping cart .The shopping
cart allows the customer to collect purchases. When ready to complete the
sale, the customer enters personal data and the method of payment, which
should be through a secure Internet connection.
The web often uses infographics to present concepts, products, and news. An
infographic (short for information graphic) is a visual representation of data
or information, designed to communicate quickly, simplify complex concepts,
or present patterns or trends. Many forms of infographics exist: maps, signs,
charts, and diagrams.
9.11.1 Email
Email (short for electronic mail) is the transmission of messages and files via
a computer network. Email was one of the original services on the Internet,
enabling scientists and researchers working on governmentsponsored
projects to communicate with colleagues at other locations.
You use an email program to create, send, receive, forward, store, print, and
delete email messages. Email programs are available as desktop apps, web
apps, and mobile apps. An email message can be simple text or can include
an attachment such as a document, a graphic, an audio clip, or a video clip.
9.11.2 Internet Messaging
Internet messaging services, which often occur in realtime, are
communications services that notify you when one or more of your
established contacts are online and then allows you to exchange messages or
files or join a private chatroom with them.
Solution 2:
Algorithm
Step 1: Input Lft
Step 2: Lcm Lft x 30
Step 3: Print Lcm
Example 3: Write an algorithm and draw a flowchart to calculate the area of a rectangle.
Solution 3:
Algorithm
Step 1: Input W,L
Step 2: A L x W
Step 3: Print A
10.4 Program Flow Chart
Program Flow Chart is a graphical representation of the program logic in
solving a problem. It uses the standard symbols in designing the input,
process and output of a program. Program flowcharts show the sequence of
instructions in a single program or subroutine. Different symbols are used to
draw each type of flowchart. Steps are described in boxes of various kinds,
and their order indicated by connecting them with arrows. Flowcharts are
used in analyzing, designing, documenting or managing a process or program.
10.5 Symbols used in Program Flow Chart
The table below shows the symbols used in drawing the Program Flow Chart:
1) A program requires the user to enter two numbers num1and num2. The
program then calculates the answer by dividing num1by num2, and displays
the result before it terminates. The diagram below shows the design of the
program using the flowchart.
Start
Get num 1
Get num 2
Answer =
num1 /num2
Display
Result
Stop
2) Draw a flowchart for a program that convert the length in feet to
centimeter.
Start
Input Lft
Lcm= L
ft
x 30
Print Lcm
Stop
Start
Input L, W
A= Lx W
Print A
Stop