General Computing - Notes
General Computing - Notes
NIVEAU / Level: 1& 2 FILIERE(S) / Filière :COMPUTER / Option: GENERAL COMPUTING TEPREUVE / Test:
GENERAL COMPUTING
Durée/Duration : 02 Heures
ENSEIGNANT / Examiner : MR MBAH ELIJAH
INSTRUCTIONS:Answer All Questions. Mark allocation for each question is indicated in
the bracket. You are reminded to use good English and to present your work orderly
INTRODUCTION TO COMPUTER
PREFACE
INTRODUCTION TO COMPUTER
This document is divided into the following parts: Computer concepts; Types of
computers; Categories of computer systems; Storage devices and media;
Programming methods for programme; Application software: a word
processor, spreadsheets, interactive computing and networks, program,
programming, programming languages; Role of computer in
agriculture; Computer viruses
This document contains reading materials for first year and second year students at
the Universit
TABLE OF CONTENTS
Course Objectives
By the end of the course the learner should be able to:
A computer is an electronic device that accepts user input (data) and processes it
under the influence of a set of instructions referred to as programs to produce the
desired output generally referred to as information.
• Data are the raw facts may not make much meaning to the user.
• Programs are set of instructions that instruct a computer what to do.
• Information is result after data has been processed.
1.2 Objectives
By the end of this lecture, you should be able to:
• Identify and name computer parts
• Define basic concepts used in computer
• Explain applications of computers
• Discuss advantages & disadvantages of computers
• Practice the DOS, Windows, File and Extension
programs with computers
4
Fundamentals of Computing
BIOS – The BASIC Input/Output System. It allows the core of the operating
system to communicate with the hardware.
Bit – a binary digit, the smallest unit of information that can be stores either
as 1 or 0.
Byte – a grouping of binary digits (0 or 1) which represent information.
CPU – the Central Processing Unit – the main chip that executes all commands.
Warm boot - the process of starting your PC by using the Ctrl+Alt+Del key
combination.
File – the name given to an area on disc containing a program or data.
Filename – the name given to a file. It must not exceed 8-characters in length and
can have up to 3-characters.
File extension – the optional three-letter suffix following the period in a filename.
Path – The drive and directories that DOS should look in for files. A path tells
DOS how to locate a file within the directory structure. E.g. C:\SPREADSH\
SSFILES\SALARY.TMP
Root directory – The main disc directory under which a number of sub-
directories can be created.
Monitor – the display devices connected to a PC. Also known as the Screen,
VDU.
Bit - Binary digit in the binary numbering system. Its value can be 0 or 1. In an 8-
bit character scheme, it takes 8 bits to make a byte (character) of data.
Client/Server - A networking system in which one or more file servers (Server)
provide services; such as network management, application and centralized data
storage for workstations (Clients).
Node - End point of a network connection. Nodes include any device attached to a
network such as file servers, printers, or workstations.
Peer-to-Peer Network - A network in which resources and files are shared without
a centralized management source.
Physical Topology - The physical layout of the network; how the cables are
arranged; and how the computers are connected.
Protocol -A formal description of a set of rules and conventions that govern how
devices on a network exchange information.
Tree Topology - LAN topology similar to linear bus topology, except that tree
networks can contain branches with multiple nodes.
WAN (Wide Area Network) - A network connecting computers within very large
areas, such as states, countries, and the world.
Workstation - A computer connected to a network at which users interact with
software stored on the network.
Control: The systems component that evaluates feedback to determine whether the
system is moving toward the achievement of its goal and then makes any
necessary adjustments to the input and processing components of the system to
ensure that proper output is produced.
Cross-Functional Information System: Information systems that cross the
boundaries of functional business areas in order to support business processes
across the organization.
Information: Data that has been placed into a meaningful context for an end user.
Engineering
In engineering computers are used for designing using computer aided design
(CAD) software. Modelling and testing processes etc.
Manufacturing
Computers have made industrial processes more efficient through optimization
scheduling, process control, and using robots to perform automated manufacturing
process control which are otherwise dangerous to human beings.
Automobile assembly robot at work
Communication
The integration of computers and communication technologies is what is being
referred to as ICT. This merger has resulted to more efficient communication using
computers and other handheld devices such as mobile phones used to facilitate
sending and receiving of messages over the internet. Computers also control many
telecommunications equipment.
Computers in education
16 Fundamentals of Computing
System Software
Does fundamental tasks such as computer boot up and system control. System
software are further classified into:
• Operating system
• Utility software
• Network software
• Firmware
Operating System
An operating system is a program that manages the computer hardware resources
and controls the execution of application programs. Examples are:
• Microsoft Windows 98/2000/Me/2003/Vista
• UNIX
• Linux
• MacOS
Utility Software
Utility software also called service programs are special programs used to
enhance perform both at system and user levels.
System level utilities optimizes system performance while application level
utilities help in smooth running of application programs. Examples are
• Norton utility
• McAfee suites
Network Software
Networking software enables computers and other peripheral devices connected on
a network to communicate and share resources. Examples are:
• Novell Netware
• UNIX
• Windows NT based operating systems
Firmware
Firmware, also referred to as stored logic is an integration of both hardware and
software on a single silicon chip. These are mostly packaged as ROM chips.
DOS WINDOWS
Command line interface GUI
Terminate and stay resident (TSR)
The memory is dynamic – can
memory – one at a time load many programs at the same
time
Does not allow multi-tasking – Allows multi-tasking – run many
run only one program job at a programs/jobs simultaneously
time
Filename is limited to Filename has upto 128 characters
only 8.3 characters -
128.3, 4 characters
No spaces in filename Allows spaces in filename
Commands keyed-in through Commands keyed-in through the
the keyboard The mouse
Not user friendly User friendly
File extensions and programs
FILE EXTENSION PROGRAM
.XLS Excel
.DOC Winword, MS-Word
.RTF Winword, MS-Word
.BAT Batchfile
.DAT Data files
.INI Initialization files, text files
.COM Command interpretor
.TMP Temporary files
.HTML Internet explorer
1.7 Summary
In this lecture, you have been exposed to definitions and
basic parts of a computer. Computer concepts, their
definitions, functions and applications have been explained
and diagrams for identification of a computer and its parts
presented. Advantages and disadvantages of a computer have
been discussed and we have also made comparisons of the
DOS and the Windows, file extensions and programs.
Activity 1.1
• Practice drawing parts of a computer and try to
identify them on the computer.
• Define the concepts in their own words and practice
with each other the terminologies and applications of
the terms.
Activity 1.2
1. Define the following terms indicating their
functions:
FAT, Formatting, Bios, Multitasking, Byte,
Processor, Path, Program, Memory, Megabyte,
Hub, LAN, Expert style,.
• Diagramatically show the interrelatedness of
input, processes, output and discuss their
functions.
• Define and discuss the four basic parts of a
computer.
• Clearly explain the following types of software:
System software, Operating system, Utility
software, Network software, Firmware,
Application software,
Database software, Presentation software
• What are the advantages and disadvantages of a
computer?
• Clearly explain the differences between DOS
and
Windows: File and Extension Program
Further Readings
• Bartee, T.,1984. Introduction to Computer
Systems
McGrall-Hill International Book company, Aukland
• Stallings, William 2009.Operating Systems:
Internals and Design Principles (6thEd) Prentice
Hall-Pearson
LECTURE TWO
TYPES OF COMPUTERS
Lecture Outline
2.1 Introduction
2.2 Lecture Objectives
2.3 Super computers
2.4 Mini computers
2.5 Micro computer
2.6 Laptop
2.7 Main frame computers
2.8 Embedded computers
2.9 Terminal computers
2.10 Cloud computers
2.11 Summary
2.13 Questions for practice
2.14 Suggestion for further reading
2.1 Introduction
In this lecture you will learn about the different types of computers and practice
how to use of some of these computers. We shall also see how the various
computers look like and the functions they perform in various organizations.
Latest computers such as cloud computers will also be discussed.
Objectives
By the end of this lecture, you should be able to:
• Recognize super computers
• Use Mini computers
• Describe how Main frame computers are used by large
organizations
• Recognize and use Cloud computing
• Identify and name any other type of computers
We are going to learn about the following types of computers. Carry up your hand
if you know any of these computers.
Supercomputers
Minicomputers
Microcomputers
Laptops/notebooks
Mainframe computer
Embedded computers
Terminals
Cloud computing.
This is how some of the computers look like
Microcomputers
Desktop PC
Laptop/Notebook PC
Pocket PC
Minicomputers
A mainframe computer
A super computer
They are also used to help governments eavesdrop on anything passing through
telephone, data lines, e-mail, or radio waves; and anything that is written, etc.
Historically, a supercomputer is associated with the fastest computer available or
the largest in size.
Who really needs supercomputing today are mostly scientists performing mass
computing at ultra high speed. They use such computers in all imaginable
disciplines: space exploration and related imagery (picturing galaxies and
intergalactic matter), environmental simulations (global warming effects)
mathematics, physics (the search for the really smallest part of matter), gene
technology (what gene it is that makes us old), and many others.
As you can see in the table below, the ranking of a supercomputer is near the top
of the computer spectrum.
2.4 Minicomputers
Introduced in the early 1960s and announced a new era in computing. They are
relatively low cost and small. Historically, a mini is associated with de-centralized
computing. Meaning most computing takes (physically) place on the mini itself
2.5 Microcomputers
A microcomputer is a computer with a microprocessor as its central processing
unit. Another general characteristic of these computers is that they occupy
physically small amounts of space when compared to mainframe and
minicomputers.
Many microcomputers (when equipped with a keyboard and screen for input and
output) are also personal computers
Monitors, keyboards and other devices for input and output may be integrated or
separate.
Computer memory in the form of RAM, and at least one other less volatile,
memory storage device are usually combined with the CPU on a system bus in a
single unit.
Other devices that make up a complete microcomputer system include, batteries, a
power supply unit, a keyboard and various input/output devices used to convey
information to and from a human operator (printers, monitors, human interface
devices)
Microcomputers are designed to serve only a single user at a time, although they
can often be modified with software or hardware to concurrently serve more than
one user. Microcomputers fit well on or under desks or tables, so that they are
within easy access of the user.
Bigger computers like minicomputers, mainframes, and supercomputers take up
large cabinets or even a dedicated room.
A microcomputer comes equipped with at least one type of data storage, usually
RAM. Although some microcomputers (particularly early 8-bit home micros)
perform tasks using RAM alone, some form of secondary storage is normally
desirable. In the early days of home micros, this was often a data cassette deck (in
many cases as an external unit). Later, secondary storage (particularly in the form
of floppy disk and hard disk drives) were built in to the microcomputer case itself.
Microcomputers, or PC's as they are often called, are abundant on our desks,
tables, offices, suitcases, everywhere.
This is the most visible form of computers in the present world and comes in all
forms and breeds.
There are many generations of particular design and technical specifications from
the start of this particular design.
Historically, a micro is associated with stand alone computing.
Meaning most computing takes (physically) place on the micro itself.
In the 1980's when networking started to integrate into the offices PC'S became
connected with network servers, and also mainframes and supers.
2.6 Laptops/notebooks
A laptop computer or simply laptop (also notebook computer, notebook and
notepad) is a small mobile computer, typically weighing 1.4 to 5.4 kg, although
older laptops may weigh more.
Laptops usually run on a single main battery or from an external AC/DC adapter
that charges the battery while also supplying power to the computer itself even in
the event of a power failure.
Laptops contain components that are similar to their desktop counterparts and
perform the same functions, but are miniaturized and optimized for mobile use and
efficient power consumption, although typically less powerful for the same price.
Laptops usually have liquid crystal displays (flat display device made up of any
number of color or monochrome pixels arrayed in front of a light source or
reflector. It is often utilized in battery-powered electronic devices because it uses
very small amounts of electric power.) and most of them use different memory
modules for their random access memory (RAM), for instance, SO-DIMM in lieu
of the larger DIMMs. utilize a touchpad or a pointing stick, though an extern can
2.7 Mainframe Computer
Mainframes are computers used mainly by large organizations for critical
applications, typically bulk data processing such as census, industry and consumer
statistics, ERP, and financial transaction processing.
The term probably originated from the early mainframes, as they were housed in
enormous, room-sized metal boxes or frames.
Characteristics
Nearly all mainframes have the ability to run (or host) multiple operating systems
and thereby operate not as a single computer but as a number of virtual machines.
In this role, a single mainframe can replace dozens or even hundreds of smaller
servers, reducing management and administrative costs while providing greatly
improved scalability and reliability.
Mainframes can add or hot swap system capacity non disruptively and granularly.
2.8 Embedded Computers
Embedded computers can be compared to "computers on a chip".
All in one so to speak. You will find them in all kind of appareils that
surround us.
Washing machines, ticket machines at the subway, camera's, cars, motors,
sewing machines, clocks.
Everywhere needing something to regulate, control of check something.
Historically, embedded computing is associated with self contained
preprogrammed computing.
Meaning there are mostly no connections outside the environment where that
particular type of computing takes (physically) place and influences the
working of that embedded computing device.
2.9 Terminals
• Terminals exist in all forms and breeds.
• There are "smart" and "dumb" terminals used for a enormous variety of
purposes.
• Historically, a terminal is associated with de-centralized computing.
• Meaning most computing takes (physically) place somewhere else then
where the terminal is physically situated
Activity 2.2
• Discuss the following types of computers and give
examples of each:
Super computers, minicomputers, microcomputers,
laptop, mainframe, embedded, terminal, and cloud
computers
• What are the functions of each of the computers
named in (a)
• Indicate the organization where each of the computers
is appropriately used.
• Explain how a notebook PC differs from a pocket PC
2.12 Further Reading
• Tiebel, Walter A., and Artar Singh 1991. The 68000 and 68020
Microprocessors, Architecture, Software and Techniques.
Printice-Hall International Inc. Englewwod Cliffs
3.1 Introduction
The section will expose students to computer hardware parts, their definitions and
use. Typical pc hardware, mother-board, removable media devices such as CD,
DVD will be explained. Students will also learn how to use floppy disks, USB
Flash, internal storage, sound card and networking.
3.2 Objectives
By the end of the lecture, you will be able to:
• Identify and name the computer hardware
• Describe the various functions of computer
hardware
• Discuss the categories of software
• Use computer software
Hardware is the physical parts of the computer like the monitor, keyboard, mouse,
speakers, and of course the computer itself called the system unit. Hardware is
also the parts inside the system unit that you can’t see unless you open
Typical PC hardware
Central processing unit (CPU) - Performs most of the calculations which enable a
computer to function, sometimes referred to as the "brain" of the computer.
Computer fan - Used to lower the temperature of the computer; a fan is almost
always attached to the CPU, and the computer case will generally have several
fans to maintain a constant airflow.
Random Access Memory (RAM)' - Fast-access memory that is cleared when the
computer is powered-down. RAM attaches directly to the motherboard, and is used
to store programs that are currently running.
Power supply - A case control, and (usually) a cooling fan, and supplies power to
run the rest of the computer
Storage controllers - Controllers for hard disk, CD-ROM and other drives
Video display controller - Produces the output for the visual display unit. This will
either be built into the motherboard or attached in its own separate slot
Removable media devices:-
CD Writer - a device used for both reading and writing data to and from a CD.
DVD (digital versatile disc) - a popular type of removable media that is the same
dimensions as a CD but stores up to 6 times as much information. It is the most
common way of transferring digital video.
DVD Writer - a device used for both reading and writing data to and from a DVD.
DVDRAM Drive - a device used for rapid writing and reading of data from a
special type of DVD.
USB flash drive - a flash memory data storage device integrated with a USB
interface, typically small, lightweight, removable, and rewritable.
Tape drive - a device that reads and writes data on a magnetic tape, usually used
for long term storage.
Internal storage
Hardware that keeps data inside the computer for later use and remains persistent
even when the computer has no power.
Other peripherals
In addition, hardware devices can include external components of a computer
system.
The following are either standard or very common.
Includes various input and output devices, usually external to the computer system
Gaming devices
Joystick - a general control device that consists of a handheld stick that pivots
around one end, to detect angles in two or three dimensions.
Gamepad - a general game controller held in the hand that relies on the digits
(especially thumbs) to provide input.
Game controller - a specific type of controller specialized for certain gaming
purposes.
Image scanner - a device that provides input by analyzing images, printed text,
handwriting, or an object.
Webcam - a low resolution video camera used to provide visual input that can be
easily transferred over the internet.
it up. Parts like the motherboard, expansion cards, and modem. Many hardware
devices can be attached to a system unit to expand its capabilities, such as a
speaker, scanner or printer
Hardware Elements
Storage devices
Secondary storage devices (auxiliary storage) are so called because unlike
primary storage, they are not directly accessible by the CPU.
Secondary storage offer long term storage for data and information. They can be
classified according to:
Magnetic tapes
A magnetic tape is made using a thin ribbon of mylar (plastic) coated with
a thin layer of magnetic material composed of iron oxide.
Fundamentals of Computing 40
Floppy disks
A floppy disk has concentric circles called tracks in which data is written.
The tracks are further divided into units called sectors
Fundamentals of Computing 41
Zip Disk
The Zip disk is a special type of diskette, which can hold data of up to 750 MB. It
is stable, inexpensive and easy to work with. Zip disks are read using a zip drive
which may be internal or external.
Optical storage media are so called because data is written and read from them
using a laser beam.
Compact disks
A compact disk (CD) is made of a small plastic disk with a reflective aluminum
coating on one side. CDs can store data of approximately 700MB. There are three
common types of CDs namely read only, recordable and rewritable CDs.
Digital versatile disk (DVD)
Digital versatile disks resemble CD-ROMs in every aspect only that they can store
more data than CD-ROMs.
For example, a typical DVD can store approximately 17 GB. Just like CDs, there
are three common types of DVDs namely read only, recordable and rewritable
DVDs.
Hard Disks
A hard disks also known as hard drive is an example of fixed storage.
However, this is not absolutely the case because some hard disks are
removable.
One of the advantages of the hard disk over the other storage media is that
they store very large volumes of data and offer faster data access.
To avoid accidental loss of data or information observe the following:
Computer Software
Software - software is the instructions given to the computer that tells it what to
do. A computer cannot do anything without instructions. A computer must first
read instructions before it can start to work. These instructions are called operating
system software. When a computer is turned on, the first thing it does is find and
read its system software. This software tells the computer how to work; how to be
a computer. Once a computer has done this and is “booted up” or ready to go, it
can read other instructions called application software. This type of software tells
the computer how to do a specific task with a user, like writing a report, playing a
game, or creating a graph.
System Software
Does fundamental tasks such as computer boot up and system control. System
software are further classified into:
• Operating system
• Utility software
• Network software
• Firmware
Operating System
An operating system is a program that manages the computer hardware resources
and controls the execution of application programs. Examples are:
Microsoft Windows 98/2000/Me/2003/Vista
UNIX
Linux
MacOS
Utility Software:
Utility software also called service programs are special programs used to
enhance perform both system and user levels.
System level utilities optimizes system performance while application level
utilities help in smooth running of application programs. Examples are
Norton utility
McAfee suites
Network Software:
Networking software enables computers and other peripheral devices connected on
a network to communicate and share resources. Examples are:
Novell Netware
UNIX
Windows NT based operating systems
Firmware:
Firmware, also referred to as stored logic is an integration of both hardware and
software on a single silicon chip. These are mostly packaged as ROM chips.
3.5 Summary
In this lecture you have learnt computer hardware and
software. Specific functions of computer hardware and
software have been discussed and you have been able to use
the various categories of computer software.
Activity 3.2
How are systems software classified?
• Discuss and give examples of operating systems.
• How does utility software differ from network
software?
• Differentiate hardware from software system.(ii) what
are their functions
4.1 Introduction
The lecture exposes students to categories of computer systems. The CPU as the
brain of the computer that contains registers for holding data instructions,
peripheral devices such as the input and output and the processing which involves
converting input into output are identified and discussed.
4.2 Objectives
By the end of the lecture, you will be able to:
1. Describe the CPU and its functions
2 Discuss and identify the functions of input devices
• State the process of converting input into output
• Produce printed material from a computer
The Central Processing Unit (CPU) is the brain of the computer. It is a computer
chip found on the motherboard that carries out instructions, directs the flow of
information through the system, and makes calculations. It works very quickly
carrying out millions of instructions each second. It is a very complex computer
chip. Manufacturers are continually improving CPUs to be more powerful and
faster. Just as there are different makes of cars and other products, there are
different manufactures of computer chips such as Intel, MD and Cyrix. are
improved, each generation is more powerful than those.
The CPU and the Memory are the two components in a computer that
handle data processing.
The CPU is where data is manipulated.
It is considered the brain of the computer.
In a PC, the entire CPU is contained on a tiny chip called the micro-
processor. Every CPU has at least 2 basic part – the Control Unit and the
Arithmetic and
Logic Unit (ALU).
Control Unit
The CPU’s function is to coordinate al the activities of the computer.
All the computer resources are managed from the CPU.
The CPU can be considered as a traffic policeman directing the flow of data
around the CPU and around the computer.
The CU contains the CPU’s instructions for command execution.
The instruction set, which is built into the circuitry of the CPU is a list of all
possible operations that the CPU can perform.
Each instruction in the instruction set is accompanied by a micro-code which are
very basic instructions that tell the tell CPU how to execute the instruction.
The control circuitry is the primary functional unit within the CPU using clock
inputs. The CU maintains the proper sequence of events required for any
processing
The ALU must contain an adder capable of combining the contents of two
registers in accordance with the logic of binary arithmetic.
+, - , *, / <,>
Arithmetic Logic
Memory
The CPU contains the Logic and Circuitry to run the computer but does not have
room to store programs and data.
The CPU contains registers for holding data and instructions.
The CPU also requires space where it can holed whole programs and data being
manipulated by these programs.
There are two types of memory – RAM and ROM
ROM
Means that computer can read contents of this memory but cannot write to that
area of memory.
The contents of ROM cannot be altered.
ROM performs a check the functionality of a PC when it is first powered on.
ROM contains boot (start-up) instructions that ensure that the rest of memory is
functioning properly.
ROM is non-volatile Functions:
Checks if the rest of the memory is functioning
Checks for all hardware devices available
Check the operating system in harddisc Passes
control to the OS.
RAM
Memory that can be changed or altered
The computer holds data for the current processing task
RAM serves as a place to store instructions which direct the activities of the CPU
and data processed by the CPU.
RAM is volatile.
Motherboard
4.4 Input
Input devices
Have you heard of a typewriter? How many have seen a typewriter and how it
works?
How a bout a mouse not a rat? Anybody who has ever been taken a picture by a
camera?
Have you ever scanned a document, a letter?
Input devices are used to enter data into a computer. Data entered is first converted
into machine code (binary digitsform – 1s and 0s) in short bits before processing
takes place. For example 00000101 may be used to represent 5. Input devices are
used to enter data into a computer. Data entered is first converted into machine
code (binary digitsform – 1s and 0s) in short bits before processing takes place.
For example 00000101 may be used to represent 5.
Input devices can be classified according into:
Keying devices
Pointing
devices
Scanners
other
technologie
s.
Keying Devices
Keying devices such as keyboards and keypads are used for typing data and
instructions.
This is the most common way of entering data into the computer.
Pointing devices
Pointing devices are used to control a pointer or cursor on the screen.
They are mostly used on computers running graphical user interface
(GUI) operating systems such as
Microsoft Windows.
Mouse Joystick
Fundamentals of Computing 53
Scanners
Scanners are used to automatically capture data from the source and convert it into
digital form.The two types of scanners are optical and magnetic scanners. Scanners
are used to automatically capture data from the source and convert it into digital
form. The two types of scanners are optical and magnetic scanners.
Optical and magnetic scanners
Optical scanner
ATM – Magnetic card reader
Fundamentals of Computing 54
Digital Cameras
Digital cameras capture data the same way as other cameras but it is stored in
digital form.
In digital cameras, pictures are stored on a memory card instead of film.
Digital cameras
Voice Input
Data can be entered directly into a computer using voice input devices such as
microphones. A microphone is attached to a sound card which has an analog-
digital converter.
Emerging trends in voice input is the inclusion of voice tag in cell phones that
allows the user to simply store and dial contacts.
Touch Screen
Touch screen works by allowing the user to touch the screen in order to select an
item.
The screen consists of infrared light crisscrossing behind it. When the user touches
a location on the screen, the finger interrupts the infrared light and the command
touched is executed.
Digitizer
A digitizer also known as graphic tablet is made up of a flat surface and allows the
user to draw an image using a stylus. The image drawn does not appear on the
tablet but on the computer screen. The digitizer is used for tracing highly detailed
engineering and architectural drawings and designs.
4.5 Processing
Information processing (or data processing) activities that occur in information
system include the following:
Input of data resources
Processing of data into information
Output of information products
Storage of data resources
Control of system performance
Sound output devices produce sound such as beeps, audio or digital sounds.
Examples are speakers and headphones. Some computers come with inbuilt
speakers hence no need to connect external ones. An external speaker should be
connected to a sound the jacks on the system unit or on a multimedia monitor.
Fundamentals of Computing 58
Data projector
Fundamentals of Computing 59
Printers
Fundamentals of Computing 60
Plotter
A plotter print their output by moving a pen across the surface of a piece of
paper. They are mostly used to line art such as engineering and architectural
designs, maps and photos.
61
Fundamentals of Computing
4.7 Summary
In summary, we have learnt the elements of CPU
and noted the following:
Regardless of size, a processor is consists of three
functional elements namely
Control unit
Arithmetic & logic unit
Main memory (primary storage)
Arithmetic and Logic Unit
The arithmetic and logic unit (ALU) performs
arithmetic and logical operations on data as
directed by the control
unit. Data to be executed by the ALU is temporarily held in
special purpose memories located inside the processor
called registers.
Main Memory
The main memory or primary storage store data and
instructions that are directly accessible to the processor. The
two main types of primary storage are Rndom access
memory (RAM) and read only memory (ROM).
RAM
RAM mostly referred to as working storage is a volatile,
temporary storage that holds input entered into the computer
for processing and output after processing
ROM
ROM contains nonvolatile, relatively permanent data and
instructions that cannot be easily changed. Participants have
therefore ,been exposed to categories of computer systems
and learnt the functions of the CPU and how to use
peripheral devices of the computer. They have also been
able to use computer input devices and learnt how data is
processed to convert input into output.
LECTURE FIVE
STORAGE DEVICES AND MEDIA
Lecture outline
5.1 Introduction
5.2 Objectives
5.3 Primary Storage (RAM & ROM) and Media
5.4 Secondary Storage (Magnetic Tapes, Floppy Disks, Hard Disks) And Media
5.5 Summary
5.6 Questions for practice
5.7 Further Reading
5.1 Introduction
Participants will be taken through primary and secondary storage devices . They
will revise the concepts ROM and RAM and learn them as primary storage
devices.
Additionally, they will learn secondary storage devices and media.
Types of ROM
Programmable Read Only Memory (PROM).
Can be programmed with a special machine as opposed to using the expensive
masks needed to produce large volumes of roll chips. Once a PROM is
programmed, its contents cannot be changed.
Disadvantages
Its contents do not last as long as those of other types of ROM. because sunlight
contains ultra-violet rays, you must protect EPROM chips from exposure to
sunlight.
A bit- a unit of storage that has two possible values, 0 and 1. it is the smallest
unit.
A byte- a group of eight bits (2 nibbles).
A nibble- a group of 4 bits.
Word- the size of the data (or instructor) that the CPU can handle
in a single cycle.
Word-length/word size- the number of bits in a word.
Address- the identification of a particular location in the memory where the data
item or an instruction is stored.
Address content- the data or instruction that is stored in a given address.
Character- any digit, letter or symbol.
Bistable devices-a device that can exist in one of two possible states age on
loftswitsh a bit; a key on a keyboard-it can either be up or down.
2. Floppy disks
Typically used to store documents so that they can be used on more than one
computer.
The term floppy disk is used to refer to a 5.25 inch flexible disk. Nowadays the
term commonly used to refer what was known as microfloppy disk is the 3.5
inch disk.
Floppy disks are read by the floppy disk drives.
The number of bytes on the disk= number of bytes per side x number of sides.
= 720 KB x 2= 720 KB or 1.44MB.
Optical disk
These are disks that are read using laser beams eg CD’s and DVD’s.
They are both disc shaped objects with a hole in the middle and a reflective
surface.
They store data in tracks.
An optical disk has only one track spiraling from the inside of the disk (the
hole in the middle) to the outside of the disk.
CD’s/compact discs
Can hold data worth 650-700 Mb.
There are three types of CD’s commonly used:-
1. CD-ROM
The manufacturers distribute the programs on CD-ROM as opposed to other
types of CD because it is the only type of CD found in the computer
industry that is really suited for mass production.
Large number of CD-ROMs can be created in a manner similar to printing a
book.
The original CD-ROM is created by using a laser to burn it. From this master,
thousands of identical copies are created using CD-Rom makers.
The reflective surface of the CD-Rom has combinations of pits (bumps) and
lands (the flat areas with no bumps) that are used to represent data.
Uses
Used to store songs.
Used to store files that can be recognized by the computer. These files are
commonly used to store things like large programs, multimedia
encyclopedias etc.
-CD-ROMs can be read by CD-ROM drives and can also be read in CD-R and
CD-RW.
Similarities
Both use chips
Information can be accessed randomly from both.
Activity 5.2
Describe the following storages: hard disks, floppy
disks, magnetic tapes, microfilm CDs, DVDs etc
• Describe the type of data stored in secondary storage
(magnetic tapes, floppy disks, hard disks)
• Compare and contrast the RAM and ROM
Mathematical expressions
+
- *
/
^- exponent eg for square root.
Assign statement
Giving a fixed value to a variable eg duty=0.16
• String variables look the same as numeric variables except the $ sign at
the end of the name.
• Variable names can be anything with few exceptions( of reserved names)
- User input- anything that the user types at the keyboard into the
programme (when running). Otherwise the information is hard coded.
• Input statement- to store user input.
Two forms eg
1. print “ what is your name”
input name $
print “ “ name $
6.5
Summary
In this lecture we have learnt computer programming,
numeric and strings, numeric variables, string variables ,
mathematical expressions, assign statement and loops.
6.6
Activity
Lectures
Written exercises
Student presentations
Class discussions
Structured laboratory
Students practice mathematical expression on the
computer and solve problems by use of algorithm
6.7 Model Questions
• Differentiate numeric from strings .
• What is a counter variable?
• Explain the specification and syntax and semantics of programming
languages
6.8 Equipment
Black board
Text book
Handouts
7.1 Introduction
Application Software
These are programs used to perform specific user tasks such as typing,
calculations, publishing, drawing , presentation, design and accounting. Examples
are:
• Word processors
• Spreadsheets
• Databases software
• Presentation Software
• Computer Aided Design (CAD)
• Accounting software
A word processor application window
Word Processors
• A word processor is application software that enables the user to create, save,
edit, format and print text-rich documents. Examples of common word processors
are Microsoft ® Word, Corel WordPerfect, Lotus Word Pro and AppleWorks for
Macintosh. The figure below shows a sample word processor application window.
Word processors are mainly used to create text-based documents such as mails,
CV, reports etc. Examples of word processors are:
• Microsoft Word
• Corel WordPerfect
• Lotus Word Pro
These software have superior text editing and formatting features.
Spreadsheets
These are programs used to analyze and manipulate numeric data. The analyzed
data can be used to generate graphs. The work area is divided into rows and
columns. Examples of include:
• Microsoft Excel
• Lotus 1-2-3
• Corel Quattro Pro
Databases Software
Database software commonly referred to as Database management systems
(DBMS) are used to create and manipulate databases.
A database is like an electronic cabinet. It is a collection of related data. For
example UoN database contains of STUDENTS and STAFF databases.
Presentation Software
These are programs that combines a variety of visual objects to create attractive
and interesting electronic presentations.
Accounting Software
As opposed to Spreadsheets that are more general, Accounting software are
specialized programs used to analyse financial data. For example, they can be used
to generate financial statements such trial balance and balance sheets. Examples
are:
Sage
QuickBooks
This lesson will focus on word processor window and the next lesson will address
the spreadsheets.
7.2 Lecture Objectives
By the end of this lecture,you should be able to:
• identify features of a word processor window
• learn how to create, edit and format a new
document
• learn how to insert bullets, page number
header and footer
• learn how to print a document
Title bar
• Title bar indicates the name of the application program in use the currently
open file, minimize, restore and the close buttons.
Menu bar
The menu bar provides the user with group of commands in drop down list
used to create and manipulate a document.
Toolbars
• Toolbars consists of button of commands that provide shortcut to the same
commands available in the menu bar.
Document window
•This is the work area where you create your document. It resembles an
ordinary piece of paper.
• Status bar
• The status bar is the communication point between the user and the
application program. For example in Microsoft Word, when saving a
document the status bar may indicate “Word is saving ……”.
Delete key erases characters to the right of the cursor while the backspace deletes
characters to the right.
Spelling and grammar checker lets you automatically locate for misspelled words
and grammatical problems.
• In the displayed dialog box, misspelled words are shown in red while
grammatically incorrect phrases are in green.
• From the suggestion list, select the correct spelling or grammar.
• Click Change (All) button. To ignore, click the ignore (All) button.
Thesaurus
Thesaurus lets the user automatically find words or phrases with similar meaning
(synonym) or opposite meaning (antonym) to the selected.
To use thesaurus:
• Highlight the text
• From Tools menu, Point to Language then click Thesaurus.
• Select a synonym or an antonym
To undo or redo:
From the Edit menu, click Undo or Redo alternatively press Ctrl+Z to Undo, or
Ctrl+Y to Redo.
Formatting a document
Formatting refers to enhancing the appearance of a document. You format text,
paragraphs, page or the entire document.
Text formatting
You format text by applying different font types, style, size, colour and other
attributes.
Applying fonts To
format text font:
• Highlight the text
• From the Format menu, click Font
• In the font dialog box, select the font type, style, size and colour.
• Apply other font attributes then click OK.
Text formatting
Case
The cases applied to text are; lowercase, UPPERCASE, Sentence case, Title Case
and tOGGLE cASE. To change case:
• Highlight the text
• From the Format menu, click Change Case
• From change case dialog box, select the case option you want to apply then
OK.
NB
The use of case in this sentence is deliberate.
Case dialog box
Paragraph formatting
A paragraph is a separate block of text dealing with a single theme and
starting on a new line or indent. Some of the formatting features you can
apply onto a paragraph include:
• Alignment
• Line spacing
• Setting tabs & indents
• Drop cap etc
Alignment
Alignment is the arrangement of text relative to the left margin, centre of page or
the right margin. The five major alignment options available are the left, center,
right and justified and force justified.
To align text:
• Highlight the text
• From the Format menu, click Paragraph.
• In the paragraph dialog box, select the alignment option from the alignment list
box then click the OK.
NB
You can apply alignment by simply clicking any of the five alignment buttons on
the formatting toolbar
Paragraph dialog box
Line spacing
You can set the space between lines, paragraphs or blocks text.
To space lines:
• Highlight the lines of text
• From the Format menu, click Paragraph
• In the paragraph dialog box, select the line spacing option from the line spacing
list box then click the OK button..
Drop cap
A drop cap is a large character in a paragraph that occupies more than one line
down.
Inserting columns
Columns subdivide a page into several vertical sections.
To set columns:
• Highlight the text
• From the Format menu, click columns
• In the columns dialog box enter the number of columns, set the column width
then click OK.
To insert a break:
• Position the insertion pointer where you want to break
• From the insert menu, click Break
• In the break dialog box, set the break type then OK.
Setting breaks
Page numbers
Page numbers are used to organize a large document for ease of reference.
To insert page numbers:
• Click Insert then Page Numbers.
• In the Position box, specify whether to place the page numbers at the top of
page (header) or at the bottom of the page (footer).
• In the Alignment box, specify whether to align page numbers to the left,
center or right of page.
• If you don’t want a number on the first page, clear the “Show number on first
page” check box then click OK. Page numbers are used to organize a large
document for ease of reference.
• Create a workbook/worksheet
• Edit data in a worksheet
• Format data in a worksheet
• Create formulae and use Functions to analyze worksheet data
• Apply data management on worksheet data
• Create charts/graphs
• Learn about MS Excel and how to start it
•
8.3 Creating a simple worksheet
Yearly Sales
Minimum
Sale
Average
Sales
Procedure
• Select the cells containing the data to be rotated
• From the format menu, choose cells
• Click Alignment tab
• In the orientation box, drag the red tipped pointer up or down to change the
orientation or specify a value between 90 and -90 in the degrees box.
• Click OK
Filtering
You can filter data to display only that data that meets a given criteria. This is
useful when you have a large worksheet and you are interested only in a small
portion of it.
Example
Procedure for filtering data
• From the Data menu, choose filter, then Autofilter.
• Click Custom
• Specify the filter criteria
• Click OK
8.8 Charting
A chart/graph is a graphical representation of the work sheet data and hence shows
the relationships between values. The choice of the chart depends very much on
the kind of data you are trying to chart and how you want t present the data.
Creating Charts - Procedure
• Select the data
• From the Insert menu, choose Chart
• Select the type of chart you want
• Follow the steps of the Chart Wizard
8.9 MS Excel
Starting Microsoft Excel
• Click the Start button
• Select Programs/All Programs
• Select Microsoft Office
• Click Microsoft Excel
The MS Excel window is displayed i.e. a workbook with a number of sheets which
can be used to enter data. Ms Excel is application software classified under
spreadsheets.
Terms used in MS excel include worksheet, workbook, columns, rows, column
header, row header/identifiers, cell, cell pointer, cell selector, cell address, auto fill
handle, sheet tab, range, formular bar and worksheet selector.
NB: By default, a typical workbook consists of three sheets labeled Sheet 1, Sheet
2, Sheet 3
Title bar
Name of the application and the current workbook
Menu bar
A list of menu options containing various commands to work with.
Standard toolbar
Icons that provide shortcuts to commands
Formatting toolbar
Used to format contents of cells in a worksheet.
Formula bar
Displays the contents of the active cell including formulas and functions.
Name box
Displays the active cell, i.e. cell with a dark outline that indicates where data in the
formula bar will be inserted.
Work Area/worksheet
Blank area made up of rows and columns which holds data
Status bar
The communication channel between the user and the program indicates messages
such us Ready, Saving etc
Value
8.10
Summary
Spreadsheetsis a program used for manipulation of
numeric data, performing numerous calculations and
presenting numerical data graphically. Spreadsheets are
used to prepare students’ progress, personal budget,
business stock and employees payroll.
In addition to neatness, electronic spreadsheets have the
following advantages:
• Numeric data can be edited and manipulated easily ie one
can play about with figures.
• A large virtual sheet for data entry and manipulation. 256
columns X 65556 rows compared to 51 X 30 manual ledger sheet
• Enhanced formatting capabilities.
• Built-in functions which enable the user to create powerful
mathematical formulae.
• Automatic recalculation – The result of a given formula auto-
adjusts when a value used in formula is changed.
8.11
Activity
Students practice creating identical sheets in the same
work sheet file. They practice inserting worksheet,
charting, sorting data, finding records, application of
Excel and getting data (an argument) to work on and use
in functions.
8.12 Model Exam Questions
• Define the following concepts: worksheet, columns, cell, sheet tab formular
Bar
• Define freezing panes and list steps
• How do you enter a formular?
• What is relative referencing?
5 What steps are used to find records?
• List and explain the 3 function categories.
• Give steps for sorting data.
• How do you enhance worksheet appearance?
8.13
References
9.1 Introduction
Computer network is the means of making several computers work together.
Computer Network is made possible when several computers are linked together
over telephone lines through wires and cords and or through radio or
electromagnetic waves.
A network therefore, consists of two or more computers that are joined in order to
share resources (such as printers and CD-ROMs), exchange files, or allow
electronic communications. The computers on a network may be linked through
cables, telephone lines, radio waves, satellites, or infrared light beams.
9.7 Summary
Summary
In this lecture, computer network has been defined and
advantages and disadvantages of installing a network in an
institution assessed. The LAN, WAN, MAN and INTERNET
have been identified as types of computer networks. Ways
computer networking helps in communication, teleconferencing
resource sharing and conservation have equally been addressed.
9.8 Activity
Activity
10.1 Introduction
The lesson introduces the meaning of language by referring to ways human beings
talk to one another using human languages. In the same respect we instruct
computers by adopting computer language (s). That is , the language programmers
use in instructing the computer is known as programming language. Computer
(programming) language is therefore the means of communicating, instructing or
talking with computers and between computers. The lesson then introduces and
gives a brief explanation of Basic, C, Cobol, Fortran and Pascal as some of the
major computer languages.
10.3 Definition
Computer language is the means of instructing and communicating with the
computer. Programming is the act of writing the set of instructions to operate the
computer. And those who engage in programming as their job are known as
programmers all over the world. The language programmers use in instructing the
computer is known as Programming Language. Computer (programming)
Languages are broken into:
• Special –purpose languages e.g. Lisp, Prolog.
• General-purpose languages e.g. BASIC, Pascal
• Scientific-purpose languages e.g. Fortran, APL
• Commercial-purpose languages e.g. COBOL, RPG
• Educational-oriented languages e.g. Logo, Algol.
• Fourth-Generation languages e.g. dBASE, Foxpro.
COBOL
COBOL stands for Common Business Oriented Languages. It was developed by
CODASYL (i.e Conference On Data t was developed by CODASYL (i.e
Conference On Data System Languages) committee in 1959/1960 led by Grace
Hopper.
FORTRAN
FORTRAN is short for FORmula TRANslator. It is specifically meant for
Scientists and
Engineers who do complex calculations. It was developed by IBM team led by
John Baikus in 1956.
PASCAL
PASCAL is another computer language named after a renowned mathematician,
Blaise Pascal. It was developed by nicklaus Wirth in 1971.
There are several other computer languages-e.g. Forth, Prolog, Lisp, Modula etc.
10.6
Summary
In this lesson, we have learnt the basic meaning of
language as used by human beings and the language as
used by computers for communicating among and
between computers. We have seen the six categories in
which computer programming languages are broken into
and the two groups computer languages are broken into,
namely the low-level languages and the high-level
languages. Some high level languages have been
discussed with emphasis on Basic, C, Cobol, Fortran and
Pascal.
10.7
Activity
Students practice using English languages to
communicate to each other. They do class exercises on
the various computer languages discussed and draw tables
to fill in the languages, developers of the language and
the purpose of development.
11.1 Introduction
It is used in record keeping, fertilizer application, determining which crops to plant
to make a maximum of profit, and determine what and how much medication to
give livestock. In dairy farming it is used to give the exact amount of feed to each
cow based on the amount milk the cow gives. You could determine when to market
your products to give you the best advantage. The uses of computers in agriculture
are too many ti list each one, but the difference between profit or loss is so close in
agriculture that the computer can make the difference in success of failure.
Record-keeping
• Recordkeeping is vital in any business.
• Agricultural enterprises use computers for common financial and business
tasks such as inventory, payroll, accounting, and taxes.
• There are many differences between agricultural businesses and other
businesses (with regard to tax structure, labour management, insurance, and
inventory, for example), software packages have been tailored specifically
for agriculture. Spreadsheet and database templates are common, but
specific application programs also exist.
• Livestock and crop production farms have unique needs for records. For
example, crop production fields have numerous descriptors and variables
that should be recorded (e.g., soil type, drainage, slope, pH, nutrient status);
databases have been developed to deal with this information.
• Precision agriculture (sometimes called site-specific farming) requires such
data to be recorded not only for fields, but for locations within fields.
• Because they provide a combination of database and drawing functions,
Geographic Information Systems (GIS) are needed to handle the large
amount of data.
• Global Positioning Systems (GPSs) work with computerized machinery in
the field to correlate crop and soil conditions with exact locations on the
Earth's surface. Because soil and crop conditions can vary tremendously
within fields, this capability can improve the environmental friendliness of
farming and improve profitability.
Decision-Making
Computers can be used to assist agricultural decision-making through such tools
and techniques as optimization, simulation, fuzzy logic, expert systems, and
computer aided drafting (CAD).
A common problem to be solved on crop farms is the selection of the optimal field
machinery set.
Proper equipment should be chosen in order to cut on farms costs and time
consumed on farm operations.
The equipment must function as an interdependent set; operations must flow in a
sequential and timely manner. Simulations can model farm and machine events
over time to predict what would happen if particular machinery sets were chosen.
Important factors include weather, soil type, and desired field operations.
Control
Control of machinery by computers can provide consistency and reliability
unmatched with human operation. Controller area networks (CANs) are common
on tractors and self-propelled equipment; these CANs reduce wiring complexity
and allow one or more on-board chips to control machine functions such as engine
controls, transmission, and hydraulic power output.
Computers are used increasingly to control seeding or chemical application rate
automatically in fields.
Research
Research in agriculture requires some uses of computers not used in other aspects
of agricultural work. Very sophisticated simulation models address issues such as
crop growth, animal nutrition, water flow in soil, thermal and physical behavior of
agricultural products, machinery performance, and integrated farm systems.
As with most areas of research, good agricultural research requires computers for
statistical analysis of data, generation of mathematical models, and control of
research devices. Instrumentation to measure temperature, flow, pressure, electrical
conductivity, and strain also requires computers or data loggers.
11.6
Summary
We have discussed various types of ICT that are likely
to be used in agriculture, some of which are used in Sub-
Saharan-African.
The radio, MP3, videorecordings, cd, DVDs are some of
the ICTs discussed. We then focused on a speficic type
of ICT, the computer and examined its application in
agriculture.. The role of the computers in record-
keeping, decision-making, control, research have been
emphasized. Factors influencing farmers’ computer use
have also been discussed and these include age,
experience, type of farm, management style, time,
network and availability of information.
11.7 Activity
Group discussion and students practice on the computers
how they can send information to farmers through e-mail.
Use of video recordings of information to farmers is
practiced and so is the use of DVDs. Students sit in
groups listening to information from the radio and thus
learn how the radio can be effective in informing farmers
on new development in agriculture.
12.1 Introduction
Computer viruses are small software programs that are designed to spread
from one computer to another and to interfere with computer operation.
A virus might corrupt or delete data on your computer, use your e-mail
program to spread itself to other computers, or even erase everything on
your hard disk.
Viruses are most easily spread by attachments in e-mail messages or instant
messaging messages. That is why it is essential that you never open e-mail
attachments unless you know who it's from and you are expecting it.
Viruses can be disguised as attachments of funny images, greeting cards, or
audio and video files.
Viruses also spread through downloads on the Internet. They can be hidden in
illicit software or other files or programs you might download.
(ii) Minicomputers
Minicomputers are larger and faster than microcomputers and are designed to
support more than one user at a time. They are generally used for processing large
volumes of data in an organization. Minicomputers are also used as servers in a
local area network. Another name for minicomputers is “mid-range computers.”
Two classic examples of minicomputers were the Digital Equipment Corporation
VAX and the IBM AS/400.
(iii) Mainframe Computers
Mainframes are powerful multi-user computers capable of supporting up to
hundreds of users simultaneously. They operate at very high speed and have very
large storage capacities. They are used by large organizations like meteorological
surveys and statistical institutes for performing bulk mathematical computations.
(iv) Supercomputers
Supercomputers are the fastest and most expensive type of computers. They can
perform hundreds of millions of computations per second and are employed for
specialized applications that require immense amounts of mathematical
calculations. Weather forecasting, scientific simulations, nuclear energy
research, electronic design, and analysis of geological data all require
supercomputers. Examples of supercomputers are Fujitsu K computer, IBM Blue
Gene, Cray Jaguar and NEC Earth Simulator.
c) Classification by Purpose
What a computer is intended to can define the type of computer. Computers are
designed to for different purposes. On the bases of purpose, the following
categories of computers exist:
• General Purpose Computer: This is a type of computer designed to
perform different tasks depending on the programs installed on the computer. It
can perform any task as long as the required hardware and software are provided.
Most PCs we find around are general purpose computers.
• Special Purpose Computer: This is a computer designed to perform a
specific task. The hardware and software of such a computer is usually designed
to suit only the purpose for which it is meant. An example of a special purpose
computer is the X-Ray machine, the Biometric Election Registration Kit for
ELECAM etc.
• Embedded Computer: A computer which is embodied in another system
that is not necessarily a computer can be referred to as an embedded computer or
embedded system. E.g. the computer embedded into a domestic refrigerator, the
computer embedded into an aircraft control system etc.
d) Classification of computers by Mode of Data
Based on data mode, computer can receive input in the form of analogue or
digital signal.
An analog signal is one in which information is represented as a continuous
variation of some physical property or quantity. Analog signals are continuous
waves that information by varying the frequency or amplitude of the wave.
A digital signal is one in which information is represented as a sequence of binary
values 0 and 1. These two values represent two conditions, on or off,
corresponding to two known levels of voltage or current.
Hybrid Computers are those that combine the characteristics of analog and
digital computers.
Therefore, in theory computers can be classified by data mode into analog or
digital computers. However, in practice today, computers process only digital
signals.