Basics of CS Notes
Basics of CS Notes
Basics of CS Notes
1
TABLE OF CONTENTS
CHAPTER ONE ...........................................................................................................................8
CHAPTER TWO.........................................................................................................................15
COMPUTER SOFTWARE..........................................................................................................26
EVANS MITAKI
2
3.4 Chapter Review Questions...................................................................................................32
EVANS MITAKI
3
CHAPTER FOUR .......................................................................................................................33
WINDOWS BASICS..................................................................................................................33
WORD PROCESSING...............................................................................................................42
5.7 Columns..................................................................................................................................55
CHAPTER SIX............................................................................................................................59
SPREADSHEETS .......................................................................................................................59
EVANS MITAKI
4
6.5 FORMATTING A WORKSHEET........................................................................................68
6.7 OPERATORS..........................................................................................................................71
7.1 MS ACCESS............................................................................................................................81
7.4 RELATIONSHIPS......................................................................................................................88
7.6 FORMS..........................................................................................................................................93
CHAPTER EIGHT......................................................................................................................97
PRESENTATION GRAPHICS..................................................................................................97
MS POWERPOINT............................................................................................................................97
EVANS MITAKI
5
8.7 SAVING A PRESENTATION............................................................................................103
8.8 PRINTING..................................................................................................................................103
CHAPTER NINE......................................................................................................................105
EVANS MITAKI
6
COURSE OUTLINE
COMPUTER APPLICATIONS
Reference Books
i. White R., How Computers Work (Millennium edition).
ii. Capron H.L., Computers: Tools for an information age (5th Edition).
EVANS MITAKI
7
B. Output: monitor (CRT and LCD), printer (dot matrix, ink jet, laser), plotter,
speakers.
V. Word-processing software.
A. word processing terms
B. Creating new documents and open existing ones
C. Typing and editing text
D. Using Save and Save As
E. Spelling and grammar check
F. Applying formatting to text and page
G. Print previewing a document and print it
H. Mail Merging
VI. Spreadsheets
A. Spreadsheet terms
B. Creating new spreadsheets and open existing ones
C. Inputting text, numbers and simple formulae
D. Employing simple functions such as SUM, AVERAGE
E. Creation of and modification charts/graphs to illustrate data
VII. Database
A. Common database terms
B. Opening and use an existing database
C. Designing and creating a simple database
D. Saving database objects with appropriate names
E. Creating simple queries
F. Designing input forms
G. Designing output reports
EVANS MITAKI
8
CHAPTER ONE
INTRODUCTION TO COMPUTERS
Objectives
At the end of the chapter the learner shall be able to;
i. Explain the evolution of computing technology and the technological
advancement in computer architecture to current technologies
ii. Explain the characteristics of computers and how they are different from
humans.
iii. Explain the different types of computers categorized based on size, price and
capabilities
iv. Explain the fundamental difference between computer hardware and
software
Summary
Research shows that the trend in computer technology revolution is that there is;
o Continual decrease in computer size
o Improved speed and power processing
o Decrease in computers and the related facilities cost
9
o Number of components in computer per circuit (IC) greatly increased over
500,000 physical elements e.g. transistors, capacities, diodes etc per
chip(IC).
1. Speed – a computer is a very fast machine. It can perform in a very few seconds
the amount of work that a human being can do in a year if he/she worked day and
night doing nothing else.
2. Accuracy – the computer accuracy is consistently high.
3. Diligence – computers are free from monotony, tiredness and lack of
concentration etc. It can therefore work for hours without creating an error.
For example if 10 million calculations are to be done, a computer will do
the tenth million calculations with exactly the same speed and accuracy as the
first one.
4. Versatility – a computer performs various tasks with ease. I.e. it can
search for a letter, the next moment prepare an electricity bill, and write a report
next then do an arithmetic calculation all with ease.
5. Power of remembering – a computer can store and recall any information due to
its secondary storage capability.
6. No intelligence Quotient (IQ) – a computer cannot make its own
decisions and has to be instructed on what to do.
7. No feelings – computers are devoid of emotions. They have no feelings or instincts
and none possesses the equivalent of a human heart and soul.
a) By the type of data accepted for processing and form in which output
data/information appears (i.e. Digital, Analogue & Hybrid computers).
b) Classification by purpose.
10
c) Classification by generation/age of technology. d)
Classification by size and capabilities.
e) Classification by use.
a) Digital Computers
They process data that is represented in the form of discrete numbers or digits such as
0 and 1. Their arithmetic operations and logical comparisons are
based on digits and on other characters that have been numerically coded.
b) Analogue Computers
They are computers that deal with variable/continuous data/quantities such as
temperature, pressure, humidity etc. The output from them is often in form of graphs
or smooth curves from which the information can be read. They perform arithmetic
operations and logical comparisons by measuring changes in physical magnitudes
such as electronic voltage, pressure changes.
c) Hybrid
These are the computers that have the combined features of digital and analogue
computers. Both the digital and the analogue features are built within the sane
processor.
2. CLASSIFICATION BY PURPOSE
i. Special purpose; These are computers designed for a particular job only.
They solve problems of a restricted nature e.g. Weapon guidance systems or the
ones used in digital watches.
ii. General Purpose; These are computer designed to solve a wide variety of
problems.
Super computers
They are very large in size and use multiple processors and superior technology. Super
computers are biggest in size, the most expensive in price than any other is classified and
known as super computer. It can process trillions of instructions in seconds. This computer
is not used as a PC in a home neither by a student in a
11
college. Governments specially use this type of computer for their different
calculations and heavy jobs. Different industries also use this huge computer for designing
their products.
In most of the Hollywood’s movies it is used for animation purposes. This kind of
computer is also helpful for forecasting weather reports worldwide. They are known for
von Newman’s design i.e. multiple processor system with parallel processing. In such
a system a task is broken down and shared among processes for faster execution. They
are used for complex tasks requiring a lot of computational power.
Mainframe computers
A mainframe is another giant computer after the super computer and can also process
millions of instruction per second and capable of accessing billions of data .They
are physically very large in size with very high capacity of main memory. This
computer is commonly used in big hospitals, air line reservations companies, and many
other huge companies prefer mainframe because of its capability of retrieving data
on a huge basis. They can be linked to smaller computers and handle hundreds of
users they are also used in space exploitation. The term mainframe was mainly used for
earliest computers as they were big in size though today the term is used to refer to large
computers. A large number of peripherals can be attached to them. They are expensive to
install.
Minicomputers
They are smaller than the main frame but bigger than minicomputers. They support
concurrent users. They can be used as servers in companies. They are slower and
less costly compared to mainframe computers but more powerful, reliable and
expensive than micro computers.
Micro computers
They are of advanced technology i.e. the micro era based on large scale
integration that confines several physical components per small elements thumb size IC,
hence the size reduced. It is the smallest of the three computers. They are usually called
personal computers since they are designed to be used by individuals. The
micro chip technology has enabled reduction of size of
computers. Microcomputers can be a desktop, laptop, notebooks, or even
palmtop
o Notebook computer An extremely lightweight personal computer.
Notebook computers typically weigh less than 6 pounds and are small
enough to fit easily in a briefcase. Aside from size and portability,.
Notebook computers use a variety of techniques, known as flat-panel
technologies, to produce a lightweight and non-bulky display screen.
12
o Desktop Computer is an independent personal computer that is made
especially for use on a desk in an office or home. The term is used mainly to
distinguish this type of personal computer from portable computers and
laptops, but also to distinguish other types of computers like the server or
mainframe.
o Laptop A small portable computer light enough to carry comfortably, with a
flat screen and keyboard that fold together. Laptops are battery- operated,
often have a thin, backlit or sidelit LCD display screen, and some models
can even mate with a docking station to perform as a full- sized desktop
system back at the office. Advances in battery technology allow laptop
computers to run for many hours between charges, and some models have a set of
business applications built into ROM. Today's high- end (Advanced) laptops
provide all the capabilities of most desktop computers.
o Palmtop A small computer that literally fits in your palm. Compared to full-
size computers, palmtops are severely limited, but they are practical for
certain functions such as phone books and calendars. Palmtops that use a
pen rather than a keyboard for input are often called hand-held computers or
PDAs. Because of their small size, most palmtop computers do not include
disk drives. However, many contain PCMCIA slots in which you can insert
disk drives, modems, memory, and other devices. Nowadays palmtops are
being integrated into the mobile phones as multipurpose devices.
4. CLASSIFICATION BY USE
13
Computer software
A set of programs associated with the operation of a computer
The two components (hardware, software) will be discussed later in other chapters.
3. The analytical engine was the vase for the modern digital computer in which year
was is developed?
(a) 1833 (b) 1933 (c) 1923 (d) 1893
5. Computers have continued to decrease in size but the processing power has increased.
True or false?
14
CHAPTER TWO
15
video recorder
o Voice input device-A computer I/O device in which vocal commands may be
entered into a computer system.
o Optical character recognition (OCR) is computer software designed to
translate images of handwritten or typewritten text (usually captured by a scanner)
into machine-editable text, or to translate pictures of characters into a
standard encoding scheme representing them (e.g. ASCII or Unicode).
o Optical Mark Reader (OMR) A special scanning device that can read
carefully placed pencil marks on specially designed documents. OMR is
frequently used in forms, questionnaires, and answer-sheets
Impact Printers
Transfer images into paper by some type of printing mechanism striking paper, ribbon,
and character together.
Non-Impact Printers
Speed
16
Types of Printers
Noisy
Low to medium quality output
Slow
Ink jet printers (non-impact printer)
• Use drops of magnetic ink to produce dots on a page to produce
text or images.
• The print quality is almost the same as a laser printer's.
• The ink is very expensive
• The ink is water soluble and will run if the paper gets wet
• Highest cost per page of all the printers
• For producing color documents, it has the highest quality at a
reasonable price.
Advantages
Moderate price
Inexpensive to operate
High quality color printouts/high quality output.
Quiet
Durable
Disadvantages
Slow
Cannot print multi-part forms – cannot make carbon copies
Poor quality colour compared to laser printers
17
where the dots where made
• For black and white printouts, very low cost per page
• Printout is permanent
• Color laser printers are still fairly expensive
Advantages
Quiet
High quality output
Fast
High quality color
Durable
Limitations
Expensive color
Cannot print multi-part forms
More expensive to operate
Others
The processor and main memory of a PC are commonly held on a single board called a
mother board. The processor has the following functions:
18
• It controls the transmission of data from input devices to memory;
• It processes the data held in main memory;
• It controls the transmission of information from main memory to output devices.
The processor contains the control unit and the arithmetic/logic unit(ALU).
The control unit coordinates and controls all the operations carried out by the
computer. The control unit operates by repeating three operations which are:
19
2.4 Main Memory:
The cycle (input - processing - output) would not be possible without a holding place for
the instructions and data that the processors (CPU) can easily reach. This holding
place is known as memory also called main storage and is internal to the computer
consisting of RAM and possibly ROM.
• Is the basic kind of internal memory that holds data and instructions while the
computer is in use.
• It can be read from and written to.
• It is called random access because the processor or computer can access any
location in memory in any order as contrasted with sequential access devices
which must be accessed in order.
• RAM is volatile; losing the stored information in an event of power loss, and quite
expensive.
20
Hard Drive:
Floppy Disk: Floppy disks allow information to be transported easily from one computer
to another they have limited storage capacity, generally 1.44 MB. Saving and
retrieving information from a floppy disk is slower than on a hard drive. They are
more susceptible to physical damage and viruses than the hard drive. The size of a
hard drive is usually expressed in terms of megabytes and gigabytes.
Compact Disk Read Only Memory (CD ROM): CD ROMs are read only storage
medium. Typically, a CD ROM holds up to 650 MB of information. While
information retrieval is faster than from a floppy disk, it is still not as fast as from the hard
drive.
21
2.6 Computer units interaction diagram
Main
Memory
Input Output
Devices Processo Devices
r
Secondary/Backing
Storage
The diagram above shows how the units interact with each other in the
processing of data. Input devices enter information to be processed by the
processor. The processor can read and write into the secondary storage devices.
The processor also stores the instructions being currently executed into the main memory.
So can be able to read and write into the main memory (RAM). Once the data has been
processed by the processor, the data can be displayed by the output devices. Please note
the direction of the arrows as it depicts the flow of the data and instructions.
22
The organization of computer Hardware as shown below is based on the Von-
Newman Architecture, which is based on the concept of binary representation of
numbers in the computer. This organization, also known as the computer
theoretical organization, describes how the different types of computer
hardware interact with each other, in the processing of data, so that the desired results can
be achieved. The figure below illustrates the architecture:
SECONDARY MEMORY
OR
OUTPUT
INPUT MAIN
DEVICES
DEVICES MEMORY
CONTROL Key:
Data Flow
ARITHMETIC / LOGIC
UNIT Command
Peripheral devices
These are equipment that are used with the computer but are not integral part of it. They
include printers, keyboards, monitors, mice, disk drives.
23
2.7 How information is stored in computers
24
(d) It controls the transmission of information from main memory to output
devices
5. Which of the following is used to store programs and data that are currently being used
(a) Read only Memory (b) Hard Disk
(c) Random Access Memory (d) Magnetic Disk
25
CHAPTER THREE
COMPUTER SOFTWARE
Operating System is a complex program and most important program that runs on a
computer and which controls the operation of a computer. It performs basic tasks, such
as recognizing input from the keyboard, sending output to the display screen,
keeping track of files and directories on the disk, and controlling peripheral devices such
as disk drives and printers. In general the operating system supervises and directs
all the software components and the hardware components. Sophisticated operating
system could handle multi-processors, many users and tasks simultaneously. Examples
of computers operating systems are UNIX, Microsoft windows 95/98, Windows NT,
Windows 2000, Windows XP, Windows Vista and Linux.
1. Process Management: - The operating system must keep track of all processes.
It must schedule programs when needed, and monitor them incase of any error.
2. Resource management: - The operating system allocates system resources such as
CPU, main memory and the input and output devices such as disk and tape drives and
printers.
3. Data management: - Also called Input and output management. The operating system
handles all movements of data between the main components of the computer. Any time
an input or output of data occurs, a data management routine in the OS controls the
transfer. For example, any time a number input devices try to send data to a computer, it
is the operating system to manage all these I/0 processes. Because I/0 devices are very
slow, the process of spooling prevents the data from being stored in the main storage.
With spooling, a report is first written (saved) to the disk before being printed. The disk
or tape acts as
a buffer area between main storage which is extremely fast and I/0 devices which
are relatively slow.
27
4. Monitoring system activities such as system performance and system security.
5. Error Correction
(i) Whether or not they allow more than one user to use the computer at the same
time.
(ii) Whether or not they allow more than one program to run at the same time.
Single program/single user program
This allow only a single user to run a single program at one time e.g. MS-DOS.
Multiprogramming/Multitasking OS
Allow more than one program to be run at the same time. The CPU switches back and
forth between programs. E.g. the computer could be performing a complex spreadsheet
calculation at the same time downloading a file from another computer while the user is
writing a memo.
Multiprocessing
Computers that have more than one CPU are called multiprocessors. A multiprocessing
operating system co-ordinates the operating of multiprocessor computer. They have an
advantage that if one CPU fails, work can be shifted to the remaining CPUs. The ability
to continue processing when a major component fails is called fault tolerance.
Virtual Machine: VM
28
The advantage is that an organization can concurrently run different operating systems
that are best suited for different tasks.
Many computer users move away from proprietary operating systems (privately owned) and
toward portable operating system that will run on many manufacturer computers.
2) Minicomputer OS’s
e.g. - UNIX
(ii)Service programs are programs designed for general support of the processes of a
computer; "a computer system provides utility programs to perform the tasks needed
by most users". The service programs can further be divided into;
o Utilities Performs a variety of tasks that maintain or enhance the
computer’s operating system Utility programs are generally fairly small. Each
type has a specific job to do. Below are some descriptions of utilities.
Anti-virus applications protect your computer from the damage that
can be caused by viruses and similar programs
Compression utilities make files smaller for storage (or sending over
the Internet) and then return them to normal size.
Data recovery utilities attempt to restore data and files that have been
damaged or accidentally deleted.
Disk defragmenters reorganize the data stored on disks so that it is more
efficiently arranged.
Firewalls prevent outsiders from accessing your computer over a
network such as the Internet.
29
Text editors that allows one to enter and modify
programs statements
Assembler- allows one to code in machine programs language
.i.e. processor specific
Compilers-makes it possible for programmer to convert
source code to object code which can be stored and saved on
different computers.
Interpreters-used to convert source programs statement by
statement as it executes the program without being compiled first.
Libraries- commonly used parts or portions of a program
which can be called or included in the programmer’s code without
having to recode that portion.
Diagnostic utilities-used to detect bugs in the logic of
program during program development
o Communication programs- refer to programs that make it possible to
transmit data.
30
spreadsheet contains cells, the intersection of rows and columns. Each
cell contains a value keyed in by the user. Cells also contain formulas
with many capabilities, such as adding, multiplying, dividing,
subtracting, averaging, or even counting. An outstanding feature is a
spreadsheet's ability to recalculate automatically. If one were preparing a
budget, for example, and wanted to change a variable such as an
increase in salary or a change in amount of car payments, the formulas
would automatically recalculate the affected items and the totals.
Example: Excel, Lotus1-2-3 etc.
Database software: A database contains a list of information items
that are similar in format and/or nature. An example is a phone
book that lists a name, address, and phone number for each entry. Once
stored in a database, information can be retrieved in several ways, using
reports and queries. For example, all the names listed for a given area
code could be printed out and used for a commercial mailing to
that area. Examples of database software is Ms Access, Dbase, Oracle etc.
Presentation software: for making slide shows. Allows users to
create visual presentation A speaker may use presentation software to
organize a slide show for an audience. Text, graphics, sound, and movies
can easily be included in the presentation. An added feature is
that the slide show may be enhanced by inclusion of handouts with
two to six slides printed on a page. The page may be organized to provide
space for notes to be written in by the audience as the presentation
ensues. An example of this is Power Point. Preparation of the software
is simplified by the use of
'wizards' that walk the user through the creation of the
presentation.
Desktop publishing software: This software permits the user to
prepare documents by using both word-processing devices and
graphics. Desktop publishing software uses word-
processing software, with all its ease of entering and revising data, and
supplements it with sophisticated visual features that stem from
graphics software. For example, one can enhance a printed message
with virtually any kind of illustration, such as drawings, paintings, and
photographs. . Examples of Desktop publishing software is PageMaker,
Corel Draw, and Ms Publisher
Multimedia applications for creating video and music. Allows
users to create image, audio, video etc. Example: Real Player,
Media Player etc.
Activity management programs like calendars and address books
NB: Nowadays most of the general purpose software is being sold as a complete
31
software suites such as Microsoft office or Lotus SmartSuite. These suites offer four or
more software products packaged together at a much lower price than buying the
packages separately.
o Tailor made/special purpose software Tailor-made computer system refers
to computer application developed by in-house IT personnel or outside software house
according to specific user requirements in a firm. They are developed for given
purpose e.g. Payroll system, stock control system etc.
4. Which of the software below would assist a secretary in preparing a report for
an annual general meeting?
(a) Ms Word (b) Ms Access (c) Outlook (d) Ms QuickBooks
5. Which of the software below would assist a salesman in recording daily sales for
different items for which he needs totals among other analysis?
(a) Ms Word (b) Ms Access (c) Outlook (d) Ms Excel
32
CHAPTER FOUR
WINDOWS BASICS
Booting Up
It is useful to understand what happens behind the scenes when you switch on your
computer from an idle machine to an operable and functional system. There are
essentially two forms of booting - the soft boot and the hard boot. The cold boot or
hard boot involves powering the computer up from an initial zero power supply. A
warm boot or soft boot on the other hand takes place when a software application or
operating system triggers the computer to perform a reboot.
Boot-up Process
The boot-up process is a list of detailed procedures that the system undergoes to perform
all system checks and load all necessary files to bring the computer to an operable state.
The Windows XP boot-up process comprises of the following procedures:
33
4.2 Logging On to Windows XP
You must log on to the PC before you can use it. Each user is given a user name and a
password which must be entered in the log-on screen before Windows will start up. When
you log on you will have access to your own personal space.
The default Login screen for Windows XP computers is appears when you switch
on the machine. To login;
Enter your user and password in the respective boxes.
When you enter your password, Windows XP will display a series of
●●●●●●●●●●●s to protect your password from wandering eyes.
Press ENTER on the keyboard or click OK
Desktop is your work area on which program and files icons are located. it is
basically a workspace where you can access everything you need to operate your
computer, such as system components, applications, the Internet, etc.
34
The desktop contains: icons
• Start button: one of the most important tools you will use while working with
Windows XP. The Start button allows you to open menus and start applications.
• Icons (or graphical pictures): represent applications, files, and other parts of the
operating system. By default Windows XP provides you with one desktop icon,
the Recycle Bin. Learn more about the Recycle Bin in a later module.
• My Computer. The My Computer icon provides access to the resources on your
computer. You can access your drives and other peripherals by
35
clicking on the My Computer icon. You can also access the Control Panel through
My Computer.
• Internet Explorer. The Internet Explorer icon launches the
Internet Explorer browser.
• My network places. If you are working on a network, this displays all of the
computers on the network
• System Tray. The part of the taskbar that holds the clock, volume
control, and icons for other utilities that runs in the background of your system.
• Recycle Bin. This is where you dump any files you want to delete.
3. Point your cursor to Microsoft Office Another menu will appear to the right of the All
Programs menu, as shown below. 4. Click on Microsoft Word.
36
Parts of a Window
Windows contain buttons and menus to control the program and window.
Windows are used in most programs, but the good news is once you learn the
window of one program, you will be familiar with the windows for most programs
since the window, menu and button layout appears in just about every window program.
37
Close Button Closes the window or program, removing it from the screen and the
computer’s memory.
Minimize Button Minimizes a program from view. The program is still ready for use and
can be found in the task bar.
Maximize Button Enlarges the window so that it fills the entire screen, allowing
you to see your entire workspace. Notice, when a window is maximized, this
button is not shown.
Restore Button When a window is maximized, this button is shown. Clicking it
will make the window smaller.
Menu Bar Controls what a program does. The menu functions listed will change from
program to program, but the bar is always located at the top.
Status Bar Displays information about the program, such as instructions or special
information.
Title Bar Displays the name of the program and name of the file in use.
Main Window .This is where you work within a program. If it is Microsoft
Word, this is where you would type, if it is a web browser this is where the web page
would be displayed.
Toolbar. Have shortcuts to the menu items
More than one person may use your computer. For example several coworkers may be
able to access your computer on a computer network. Windows XP allows everyone
who uses your computer to have separate computer accounts. A computer accounts
tracks each person's unique settings, documents, and email accounts.
Windows XP even enables you to log off the computer so someone else can log on
without having to restart the computer.
38
Turn Off and Restart the Computer
When you've finished using Windows XP, be sure to turn off (or shut down) the computer
correctly.
If you're experiencing computer problems or have installed something new, you can
simply restart your computer.
39
4.5 Working With Files and Folders
Open your Folders
• Double click my computer and locate your file.
• Double click on the folder.
• The contents of the folder will be displayed in the open window. To get back to the
previous folder, click the Back Button.
Creating a Folder
• Locate the place to create your folder e.g. My Documents, Desktop, C
Drive
• Go to File – New – Folder. Or if creating on the desktop right click on the desktop
and use the new option to create a folder.
• The folder will appear at the bottom of your list. When it displays as a
black rectangle with the words New Folder highlighted in blue, it is
prompting you to give it a name. Type the name of your folder and hit
Enter.
Renaming a Folder
To rename an existing folder, move your mouse over the name and right click. A menu
will appear. Close to the bottom you will see the word Rename. Click it, and the black
rectangle with the word highlighted in blue will appear. Rename your folder and hit
Enter.
Deleting a folder
• Right click on the folder and select delete or.
• Select the file, go to file menu and select delete
• A dialog box appears asking if you want to delete the folder, click yes Once files
are deleted they go to the recycle bin which is a holding or storage location for
files not required. Such files are still in the hard disk. These files can be retrieved from
recycle bin as long as recycle bin have not been emptied.
Retrieving files
Go to recycle bin.
Locate the file and right click on it and select restore.
40
Procedure of creating shortcuts
• Locate the item
• Right click and select shortcut
• Drag the shortcut created to the desktop.
To set a program to start when windows start
• Right click on the start button and select open.
• Click on the program or file you want and hold and drag it to the start
menu on the icon for programs.
Printing
If any printers are already set up their icon appears in the printer folder (on start, then
printers and faxes).
To set up a printer;
Click start menu, control panel. Select
printers and other hardware.
2. Which of the following has the command for turning off the computers system
(a) Recycle Bin (b) Task Bar (c) Start Button (d) File menu
41
CHAPTER FIVE
WORD PROCESSING
Word processors are programs that enable you to Create, Edit and Format
documents. Examples of word processors are, Microsoft Word, Word perfect, Word
star.
Ms Word is a powerful word processing program that helps the user create, edit, format
and save documents.
Loading can also be achieved by clicking the Ms Word icon on the Microsoft
shortcut bar (only if it is available)
The Ms Word screen contains various features. The common ones are:
1. TITLE BAR: This bears the name of the application followed by the name of the
current document or the file.
Ms-Word Screen
When the program starts, the following document window will be displayed on the
screen.
Title bar Menu bar Toolbars
Vertical
Vertica
Scroll
l bar
Scroll
Bar
Blinking
Blinking Cursor
Cursor
43
5.3 Creating, Saving and Closing Documents
Creating
Option 1
1. From the File Menu, click New then double click the Blank Document
icon.
Option 2
2. On the standard tool bar click the ‘New’ (icon)
Saving
Closing
♦ Click close button on the Ms- Word desktop or
♦ From the file Menu click Exit.
SELECT DO THIS
A word Drag over the word or Double click it
A graphic Click anywhere within the graphic
A line of text Drag over the text or Double click at the start of line
A sentence Hold Down Ctrl key and click anywhere in the Sentence
A paragraph Triple click anywhere in the paragraph to select
Entire document From Edit, click Select All
44
5.4 Formatting
To bold text
♦ Select or highlight the text.
♦ In the format menu click font.
♦ Under font style choose and click bold.
♦ Click Ok.
To Italicize text
♦ Select or highlight the text.
♦ In the format menu click font.
♦ Under font style choose and click italic.
♦ Click Ok.
To underline text
♦ Select or highlight the text.
♦ In the format menu click font.
♦ Under underlining choose and click the underlining desired.
♦ Click Ok.
45
♦ On the format menu, click Format and choose font.
♦ Under color box, choose the color desired.
♦ Click Ok.
Formatting Paragraphs
Word displays text, as it will appear when printed.
Aligning text
• Select or highlight the text.
• In the format menu click paragraph.
• Under alignment, choose and click alignment desired i.e. left, right or center.
• Click Ok.
Creating drop caps
• Place the cursor at the beginning of the line/paragraph you want to have
a drop cap on.
• In the format menu, click drop cap.
46
• Under position in the dialogue box choose either Dropped or in margin.
• In the lines to drop box specify the number
• Click Ok.
Note: You can specify the distance from the text and type of the font for the drop cap.
Change case
• Highlight or select the text.
• In the format menu click change case.
• Choose and click the desired case option e.g. upper, lower, title or
sentence cases.
• Click Ok.
Adding bullets and numbers
• Select the items, which you want to add bullets or numbers.
• In the format menu, click bullets and numbering
• Click on the Bulleted or Numbered tab.
• Choose and click Bullet or Number format desired.
• Click Ok.
Add a background
You can add different backgrounds to Word documents.
1. On the format Menu, point to background and then check the color you
want or click more colors to see additional color choices. Click fill effects for
special effects such as textures.
2. Select the option that you want.
Using SmartArt
Create a SmartArt graphic to quickly and easily make a visual representation of your
information. You can choose from among many different layouts, to effectively communicate
your message or ideas.
47
Insert a SmartArt graphic and add text to it
2. In the Choose a SmartArt Graphic dialog box, click the type and layout that you
want.
Click [Text] in the Text pane, and then type your text.
Copy text from another location or program, click [Text] in the Text pane,
and then paste your text.
Notes:
If the Text pane is not visible, click the arrow control on the left side of the
SmartArt graphic.
48
Click in a box in the SmartArt graphic, and then type your text. For best
results, use this option after you add all of the boxes that you want.
This feature enables you to create visually compelling text affects e.g.
slanting, curving text in a document.
1. From the insert menu, select pictures, and then move to word art and click.
2. Select and click the word art style desired.
3. Type your text in the area “YOUR TEXT HERE”
4. Click Ok.
Insert a picture
You can insert a clip art or a picture from the clip Gallery.
1. Position the insertion point(cursor) where you want to insert a clip art or a picture.
2. From the Insert menu, point to picture then click art then click the clip art
tab.
3. Click a clip art category then choose a clipart and click insert clip.
49
5.5 Editing Your Document
To undo mistakes
In the edit menu, click undo or click the Undo button on the standard toolbar.
50
Click the switch button to move to the footer
Type the footer text
Align the text as desired using formatting toolbar
Click close button to return to the document.
To find text
♦ On the edit menu, click Edit and choose Find.
♦ In the find what box, type the word/text being sought
♦ Click find next button
♦ To close the dialogue box, click cancel button
To Replace Text
♦ You can find and replace test at the same time
♦ On the edit menu, click edit and choose replace
♦ In the find what box type word / text as above
♦ In replace with box type the word/ text to replace the sought word
51
/ text
♦ Click replace all button
♦ To close the dialogue box click cancel button
52
3. In the number of rows box enter the number of rows
4. Click autoformat
5. In the format list box choose a format type
6. Click Ok.
Merging cells in a tab
1. Select the cells to be merged.
2. From the table menu choose merge cells.
Sorting
Information in the table can be sorted in either ascending or descending order
53
Performing calculations in a table
1. Click the cell in which you want the result to appear.
2. On the Table menu, click Formula.
3. If Ms Word proposes a formula that you do not want to use, delete it from the
Formular box leaving the equals (=) sign.
4. In the paste function box, click a function. For instance, to get the average,
click average.
5. In the brackets ( ) specify whether it is above, left or right.
6. Click Ok.
54
5.7 Columns
Newspaper style columns
You can format text into multiple newspaper style columns. This is best applied when
creating documents like newspaper, newsletters or brochures.
Option 1
Using the column button on the standard toolbar
1. Highlight the text to be columned.
2. Click the column button on the standard bar.
3. Select the number of columns you want.
Option 11
This command control other options i.e. width, spacing, line between columns etc.
1. From the format menu choose columns.
2. Select a column format under preset i.e. one, two, three etc.
3. Type or select the number of columns in the number of column box (if it is not
included under preset in step two above)
4. To insert a line between columns click the line between the check box.
5. Click Ok.
Templates
A template is a document that contains predefined settings. The use of templates ensures
that there is consistency between documents.
1. From the file menu choose new.
2. Click on the relevant tab depending on the type of document you want to
create e.g. letters and faxes, legal document, menus etc.
3. Select the template that you want to use.
4. Click Ok.
5. Delete the default text and type your own.
To Print a Document
You can print the active document by clicking the print icon on the standard
toolbar. This will not give you the option of choosing a variety of commands.
1. From the file menu, click print.
2. In the name box select a printer.
3. Choose an option for the number of pages to be printed i.e.
ALL: -Prints the entire document
CURRENT PAGE: -prints the current page
PAGE: -you can select certain pages within a document
4. In the number of copies box, specify the number of copies you want in each page.
5. Click Ok.
55
5.8 Mail Merging
If you had to type the same form letter 100 times, you know what boring and
back breaking work it can be. Never again, by setting up the form letter as a Ms Word
merge documents, you need type the letter only once.
STEP 1
1. From the tool menu, click Tool and choose Mail Merge…
2. Under Main document choose Create button
3. Choose form letters…
4. Choose active window button
STEP 2
STEP 3
1. Place the cursor to position of field insertion
2. From the mail merge toolbar click insert merge field
3. Repeat field insertion until all the fields have been insert
4. Choose mail merge helper from the mail merge toolbar
5. Click…merge button
56
5.9 Chapter Review Exercise
Instructions: Reproduce the document below in Ms-Word
Definition of a computer
A
computer is an electronic device capable of executing instructions,
developed based on algorithms stored in its memory, to process data fed
to it and produce the required results faster than human beings.
Different types of
computers
♣ Supercomputer
♣ Mainframe computer
♣ Minicomputer
♣ Workstations
♣ Personal computer
BASIC UNITS
Main
Memory
Input Output
Devices Processo Devices
r
Backing
Storage
57
1 Kilobyte 1024 bytes
1 Megabyte 1024 Kilobytes
1 Gigabyte 1024 Megabytes
58
CHAPTER SIX
SPREADSHEETS
Applications of Spreadsheets
1. Can be used to record sales, produce invoices and compile statements.
2. Researchers can compile and analyze their results.
3. Teachers can compile their students’ marks and produce overall results.
4. Clerks and secretaries can easily create tables of figures and manipulate.
START EXCEL
Option 1
Click the start button moves to programs move to Microsoft excel and click
Option 2
Click the excel button on the Microsoft shortcut if only if the option available
59
6.2 THE EXCEL WINDOW
Window
When you work in Excel, you use workbook files to hold your information. Each
workbook consists of several worksheets made up rows and columns of
information.
A workbook therefore allows you to organize various kinks of related
information in a single file (or workbook)
Worksheet
A worksheet is one sheet in an Excel workbook. Each worksheet consists of 256 columns
and 65,536 rows.
Columns
Columns are the vertical divisions of a worksheet that are identified by letters. The
columns begin with A and proceed through the alphabet. The 27 th column is AA followed
by AB, AC, and this convention for naming continues through the entire alphabet until
you end up with the last column (column 256) which is designated IV.
Rows
Rows are the horizontal divisions of a worksheet and are identified by numbers.
Cells
A cell is the intersection of a row and a column. Each cell has an address that
consists of the column letter and row number (A1, B3, C5 and so on)
Each cell is capable of containing different types of information e.g. text, number,
times, formulas.
Excel data basically comes in three varieties: labels and values, and formulas
(Data types in Excel):
A value is data that has numerical significance. These include numbers, dates and
times that you enter on your worksheet. Values can be acted on by formulas and
functions.
Formulas are instructions for Excel to perform calculations. The
60
Tool
Menu bar Formula bar Column Headings
bars
Worksheet tabs
Status bar
Row
Cell
Headings
Selector
Element Description
Formular bar When you enter information into a cell, it
appears in the Formula bar.You can use the
formula bar to edit the data later. The cell’s
location also appears.
Column Headings The letters across the top of the worksheet, which
identify the columns in the worksheet.
Row Headings The numbers down the side of the worksheet, which
Identify the rows in the worksheet.
61
Cell Selector The dark outline that indicates the active cell. It
Highlights the cell you are currently working in.
Active cell It indicates the cell in which the typed data will be
entered. It is also known as the current cell.
Workbook is a collection of one or more spreadsheets, also
called worksheets, in a single file.
A worksheet is a collection of cells where you keep and
manipulate the data. Each Excel workbook can
contain multiple worksheets.
Option 1
1. On the file menu, click New
2. To create a new blank workbook, click the General tab and then double click the
workbook icon.
Option 2
Click the ‘new’ icon on the standards tool bar
Saving a workbook
1. In the file menu click save as.
2. In the save in text box click and specify the location to save in.
3. In the file name text box type the name of the file.
4. Click save.
NB
The first time you click ‘save as’ from the file menu, the Documents folder is
displayed by default as the folder to save in.
Close a workbook
On the file menu click close.
62
6.3 WORKING WITH WORKBOOKS AND WORKSHEETS
Hide a sheet
1. Select the sheet you want to hide.
2. On the format menu, point to sheet and click Hide.
63
6.4 ENTERING DATA
Use a slash or a hyphen to separate the parts of a date, for example, type 8/6/99 or jun-99
To enter a time based on the 12-hour clock, type a space and then a or p after the time for
example, 9.00 p. Otherwise, Microsoft Excel enters the time as AM.
Enter a formula
1. Click the cell in which you want to enter the formula.
2. Type =(an equal sign)
3. Enter the formula.
4. Press ENTER.
To increment the series by a specified amount, select the next cell in the range and
enter the next item in the series. The difference between the two starting items
determines the amount by which the series is incremented.
64
Cancel or undo an entry
To cancel an entry before you press ENTER, press ESC.
To undo a complete entry, click Undo button on the standard tool bar.
To select Do this
A single cell Click the cell, or press the arrow keys to
move to the cell
A range of cells Click the first cell of the range and then drag
to the last cell
All cells on a worksheet Click the select All button
Nonadjacent cells or cell ranges Select the first cell or range of cells, and then
hold down CTRL and select the other
cells or ranges
A large range of cells Click the first cell in the range, and then hold
down SHIFT key and click the last cell in
the range.
An entire row Click the row heading.
An entire column Click the column heading. Adjacent
rows or columns Drag across the row or column
headings.
Non-adjacent rows or columns Select the first row or column, and then
hold down CTRL and select the other
rows or columns
65
Select sheets in a workbook
If you select more than one sheet, Microsoft Excel repeats the changes you make to the
active sheet on all other selected sheets. These changes may replace data on other sheets.
To select Do this
A single sheet Click the sheet tab.
Two or more adjacent sheets Click the tab for the first sheet and
then hold down SHIFT and click the tab for
the last sheet
Two or more nonadjacent sheets Click the tab for the first sheet and then
hold down CTRL and click the tabs
for the other sheets
All sheets in a workbook Right click a sheet tab and then click
Select All Sheets on the shortcut menu.
66
To undo several actions at once, click the arrow next to Undo button on the
standard toolbar and select from the list. Microsoft Excel reverses the selected
action and all actions above it.
Insert rows
1. To insert a single row, click a cell in the row immediately below where you
want the new row. For example, to insert a new row above Row 5,click a cell in Row 5.
To insert multiple rows, select rows immediately below where you want the new
rows, select the same number of rows you want to insert.
Insert columns
1.To insert a single column, click a cell in the column immediately to the right of where
you want to insert the new column. For example, to insert a new column to the left of
column B, click a cell in column B
To insert multiple columns, select columns immediately to the right of where you
want to insert the new columns. Select the same number of columns as you want to
insert.
67
6.5 FORMATTING A WORKSHEET
Bold B
Italic I
Underlined U
To apply a different color, click the arrow next to Font Color A and then click a color on
the palette.
68
To apply border styles
1. Click Cells on the Format menu and then click the Border tab.
2. Click the line style you want and then click a button to indicate the border
placement.
The borders are applied to the edges of the cells which are rotated to the same degree as
the rotated text.
To change the line style of an existing border
1. Select the cells on which the border is displayed.
2. On the Border tab (Cells dialog box, Format menu) click the new line style in the style
box and then click the border you want to change in the cells diagram under border.
The selected graphic is repeated to fill the sheet. You can apply solid color
shading to cells that contain data.
69
Change column width
2. To change the column width for multiple columns, select the columns you want to
change. Then drag a boundary at the right of a selected column heading.
3. To change the column width for all columns on the worksheet, click the
Select All button (at the left edge of the borders) and then drag the boundary of any
column heading.
4. To make the column width fit the contents, double-click the boundary to the
right of the column heading
1. Drag the boundary below the row heading until the row is the height you want.
2. To change the row height for multiple rows, select the rows you want to change
then drag a boundary below a selected row heading.
3. To change the row height for all rows on the worksheet, click the Select All
button (at the left edge of the borders) and then drag the boundary below any row
heading.
4. To make the row height fit the contents, double-click the boundary below the row
heading.
Procedure
1. Position the mouse pointer right on the block like mark in the bottom right corner
of the active cell.
2. Click and drag to extend a series.
70
6.7 OPERATORS
Operators are signs or symbols which specify the type of a calculation that you may
perform in the elements of a formula.
There are four different types of calculation operators i.e.
1. Arithmetic
2. Comparison
3. Text and
4. Reference
ARITHMETIC OPERATIONS
They perform basic mathematical operations e.g. addition, subtraction,
multiplication and division.
Operator Performs Sample Formula Result
71
REFERENCE OPERATORS
OPERATOR EXAMPLES
:(COLON) Range operators which
produces one reference for all the cells B5:B15
between two references.
FORMULAS
A formula is an equation that analyses data in a worksheet. Formulas perform
operations e.g. addition, multiplication, comparison etc. They can refer to other cells on
the same worksheet as well as other sheets in the same workbook or even in other
workbooks .A formula must always begin with an equal sign or symbol e.g.=10-5.
The result of the formula is then displayed in the cell.
You can use parentheses to change the syntax (structure or order of elements)
e.g. in the formula =5+2*3 Excel carries multiplication first .If the parentheses are used,
the syntax changes.
E.g. =(5+2)*3
FUNCTIONS
This is a special kind of predefined by Excel
The specific arguments required by a function depend on what the function does.
72
RETURN VALUES OF FUNCTIONS
MODE: This is the most frequently occurring or repetitive value in an array of data
syntax e.g. =mode (10,3,4,3,5,3,7,3,4)
N/B If a data set has no duplicate values, mode returns the # N/A error value.
MEDIAN: This is the middle value or the number in the middle of a set of
numbers
Syntax e.g. =median (2,4,6,8,10)
Numbers in the middle e.g.
=Median (1,2,3,4,5) equal 3
=Median (1,2,3,4,5,6,) equals to 3.5 and this is the average of 3+4
Error Description
#DIV/0! The formula is attempting to divide by zero. Check the cell
references for blanks or zeros that may have resulted if you
deleted a cell referenced by the formula.
#N/A The formula refers to a cell with a #N/A entry or a cell that
contains no value. This error warns you that not all the data
referenced by a formula is available.
#NAME? Excel doesn’t recognize a name you entered in a formula.
Verify that all names in the formula exist and define any
missing names.
If applicable, verify that you used the correct function name.
#NULL! The formula specifies two areas that don’t intersect. Check to see
if you entered the cell or range reference incorrectly.
Remember to
use commas (not spaces) between function arguments.
#NUM! There is a problem with a number used in the formula.
Check for the correct use of function arguments.
#REF! A cell reference in the formula is incorrect. Check for
changes to cell reference caused by deleting cells, rows or
columns referenced by the formula.
#VALUE! The formula contains the wrong type of argument or
operator. Check for the correct syntax of the formula.
73
6.8 INTRODUCTION TO DATA ANALYSIS
Procedure
1. From the tools menu choose and click Data Analysis.
2. From Analysis tools choose and click Descriptive statistics.
3. From the resulting dialogue box, choose as desired as explained below;
Input Range
Enter the cell reference for the range of data you want to analyze. The reference
must consist of two or more adjacent ranges of data arranged in columns or
rows.
Grouped By
To indicate whether the data in the input range is arranged in rows or in columns,
click Rows or Columns.
74
Output Range
Enter the reference for the upper left cell of the output table. This tool produces two
columns of information for each data set. The left column contains statistics labs and the
right column contains the statistics. Microsoft Excel writes a two- column table of
statistics for each column or row in the input range depending on the Grouped By option
selected.
New Workbook
Click to create a new workbook and paste the results on a new worksheet in the new
workbook.
SUMMARY STATISTICS
Select if you want Microsoft Excel to produce one field for each of the following statistics
in the output table: Mean, Standard Error (of the mean), Median, Mode, Standard
Deviation, Variance, Kurtosis, Skewness, range, Maximum, Minimum, Sum, Count,
Largest (#), Smallest (#), and Confidence Level.
To merge any selection of cells within a row or column, click cells on the Format menu,
click the Alignment tab and then select the Merge cells check box.
75
Applying an autoformat to a range
1.Select the range you want to format.
2.On the Format menu, click AutoFormat.
3.In the Table box, click the format you want.
4.Click Ok.
To use only selected parts of the autoformat, click Options and then clear the
check boxes for the formats you don’t want to apply.
1. Select the cells that contain the data that you want appear in the chart.
2. Click Chart Wizard on the standard tool bar or click insert menu then chart.
3. Follow the instructions in the Chart Wizard.
76
Select a different chart type
1.Click the chart you want to change.
2.On the Chart menu, click Chart type.
3.On the Standard Types or Custom types tab, click the chart type you want
77
About using a list as a database
In Microsoft Excel, you can easily use a list as a database. When you perform
database tasks such as finding, sorting or subtotaling data, Microsoft Excel
automatically recognizes the list as a database and uses the following list
elements to organize the data.
Sorting a list
You can rearrange the rows or columns of a list based on the values in the list by
sorting. When you sort, Microsoft Excel rearranges rows, columns or individual
cells by using the sort order that you specify. You can sort lists in ascending (1 to 9,A
to Z) or descending (9 to 1,Z to A) order and sort based on the contents of one or more
columns.
78
Using apply filter
Autofilter
Displays only those rows that match the value in the active cell and inserts
Autofilter arrows to the right of each column label.
Show all
Displays all of the rows in a filtered list.
Create a spreadsheet using the following information. You have been asked to prepare
a spreadsheet to show the profit and loss figure for the last financial year. The profit
and loss should be shown as a dollars and as a percentage.
1) Enter the raw data below, applying as many presentation Features (Font, Font Size, Font
Colour, Number Formats and Colour, Cell Shading, Text Rotation, etc) to it as you wish.
2) Apply appropriate number formats to your numbers.
3) Give your spreadsheet an appropriate title and center it across your spreadsheet.
4) Select the best page orientation for your spreadsheet.
5) Adjust the column width and row height to suit the layout you have selected.
6) Create formula's to calculate the profit / loss as a currency for each month.
7) Create formula's to calculate the profit / loss as a percentage for each month.
8) Create formula's to calculate the Annual Totals for the Income, expenditure, and profit /
loss.
9) Create a formula to calculate the profit / loss for the whole year.
10) Setup an appropriate header for this spreadsheet.
11) Setup a page number for this spreadsheet and place it in the footer.
79
Month Income Expenditure
March 1259.9 1410.45
April 1163.98 1499.10
May 1533 1370.25
June 1774 1440.8
July 1631 1530.25
August 1658 1490.55
September 1781 1369
October 1821.54 1420
November 2233.82 1611.81
December 2537.22 1577.63
January 1650 1423.98
February 1623 1598.12
80
CHAPTER SEVEN
These are software that allow records to be entered in the system and to be
retrieved in a specified format. Examples are Ms Access, Paradox, Dbase, FoxPro,
Sybase.
From the above examples, we shall look at Ms Access.
7.1 MS ACCESS
MS Access is a database tool used to store, maintain and use a collection of
information that is organized to serve a specific purpose.
Database objects
Tables, Queries, Forms, Reports, Macros, Modules.
Tables
Collection of data about a specific subject e.g. customers, employees e.t.c. In a
table, data is organized in fields (columns) and records (rows)
81
A table consists of:
(a) Field names
(b) Data types
(c) Description
(a) Field name: - these are column headings for the table being created.
(b) Data types: - the attribute of a field that determines the type of data it can hold e.g.
text, Numeric, Currency etc.
(c) Description: - This column is optional but can be used to give a detailed of the
field name.
Primary key: - This is a field that is used to uniquely identify each record
stored in a table.
Queries
A query is a type of database search. It enables you to retrieve data that has met conditions
you specify, indicating data from tables.
The word ‘query’ literally means ‘to ask’. Access queries provide a way of asking
about your data. When you design a query, you identify the fields to be included and the
records to be retrieved from one or more tables.
You can as well update or delete multiple records at the same time, perform built in or
custom calculations on your data.
Forms
They are used for adding new data, editing or displaying existing data. This data can be in
a table or a query. Information entered directly in a form will appear in Tables
automatically.
Reports
Modules
They are collection of codes using Access Basic programming language. If
programming is necessary, you can write modules.
82
Database definitions
1. Field: This is any piece of information in a database e.g. Names, Age, Birth date.
2. Record: It is a collection of several related fields.
3. Database File: This is a collection of several records.
Applications of databases
1. Educational applications: Preparing students’ reports, class schedules.
2. Retail applications: This may include sales projections and Quotas,
Market analysis e.t.c.
3. Legal applications: This may include client information and case
schedules.
4. Financial applications: This may include stock market forecasting and end
of year financial reports.
PLANNING REQUIREMENTS
In order to plan an efficient database you need to ask yourself some
questions, these include.
The subject/object here is a student and the suggested field names could be;
i) Student’s name
ii) Student’s registration number
iii) Student’s address
iv) Parent’s name
v) Age
vi) Sex
vii) Course taken
viii) Subjects
ix) Hours a subject takes
x) The lecturer
xi) Lecture’s rate per hour
xii) Tuition fee
83
xiii) Course duration
xiv) Date of admission
xv) Amount paid
All the above listed is information about one object – student. There is need
however to limit the list to the subject area only.
Let us assume we wish to store student fee payment records only. This will
reduce above list to the following.
i) Student’s name
ii) Student’s registration number
iii) Student’s address
iv) Course taken
v) Age
vi) Sex
vii) Date of admission
viii) Amount paid
NB: The database name (Macarl student record system) is displayed on the title bar of
the database window.
84
7.3 WORKING WITH TABLES
1. Click new (after clicking the tables tab)
2. ‘A new table’ window appears. You can create a new table with the
different options listed.
3. Select the design view and click Ok.
4. The ‘table window’ appears with field name, data type and description
columns (as discussed in tables earlier)
5. In the Field name, type the first field i.e. assuming we are creating a table
on students, one suggested field could be Student name. Therefore,
type Student name.
6. Click data type column and select the data type, (in this case text)
7. Click the description column and describe the field you have just made.
However it is optional and could be skipped.
8. Define all other student’s detail fields by repeating steps 5-7.
9. Close the table and respond affirmatively to ‘save changes’ dialog box.
Save the table as ‘students’
NB: your database now has one table object.
85
DATA TYPE USE EXAMPLE
Text (Default) text or combination of Stephen, Mary, KAZ
text & numbers as well as 078w KQ2534
numbers that don’t require
calculations such as phone
numbers. The default size is
50 characters but up to 225
characters can be stored.
Memo Lengthy text or combination of Notes and descriptions
text and numbers. Can store
up to 64,000 characters
Number Numerical data used in 6634,76731,890987,33,978
mathematical calculations,
except that involving money.
Date and time Dates and times values for the 2-jan, 17/8/90, 09:55AM
years 100 through 9999 4-march-1789
Currency Monetary values $5689,ksh9873, £5637
A unique field is required in every table. This is an identification key like the
national ID card that identifies each person individually. The unique key is referred
to as primary key in Access. It is useful when you want to avoid entering
duplicated records.
If what you design does not have a unique field, Access lets you include a special
field called AutoNumber which contains sequential or random numbers that Access
automatically generates as you add new records.
86
Setting a primary key
1.In the table design view, click inside the key you want to define as the primary key.
2.Click edit from the menu, move to primary key and click.
N/B: If Access has already taken AutoNumber as the primary key, delete the
record by choosing it from the border and pressing delete key from the
keyboard.
N/B:
♦ Datasheet view allows you to add records while you modify the table in
design view.
♦ You can rename a field in data sheet view by double clicking the field and
typing a new name
Sorting helps to quickly locate the highest or the lowest value in a list
E.g. you can sort to know who has paid the highest amount.
It also helps arranging data in order of priority.
Procedure
1) Position the cursor in the field you want to sort.
87
2) To sort in ascending or descending, click records from the menu bar.
3) Move to sort and choose as desired.
7.4 RELATIONSHIPS
After setting up different tables for each subject in a database, there is need to let access
know how to bring the information back together. The first step in this process is
to define relationships between the tables. After that, queries, forms, reports can be
used to display the information from all the tables at once.
A one-to-one relationship
In a one-to-one relationship, each record in Table A can only have one matching record in
Table B and each record in Table B can have only one matching record in Table B.
A one-to-many relationship
A one-to-many relationship is the most common type of relationship. In a one-to- many
relationship, a record in Table A can have many matching records in Table B, but a record
in Table B has only one matching record in Table A.
A many-to-many relationship
In a many-to-many relationship, a record in Table A can have many matching
records in Table B, and a record in Table B can have many matching records in Table A.
This type of relationship is only possible by defining a third table (called a junction table)
whose primary key consists of two fields, the foreign keys from both Tables A and B.
A many to many relationship is really two one-to-many relationships with a third
table.
88
7.5 WORKING WITH QUERIES
Creating a query
Query is a database search. It enables you retrieve data that meets certain criteria. You
can use a query to create a table, a report or a form. When you have a frequently
asked query, you can save it so that each time you need the information,
you just run the query instead of opening the table.
Saving a query
1. Close the query box by clicking ‘X’ button
2. Click yes when prompted to save the query.
3. Type the name of the query in the ‘save as’ dialog box. In our case ‘students
balance s’
4. Click Ok
Procedure
1. Create a new query in the design view.
89
2. Select the table that you want to update records.
3. Add the field/s you want to update in our case ‘amount paid’
4. Click ‘query ‘ from the menu bar, click ‘update query’. This changes the query
from a select query to an update query.
The ‘update to’ row is added.
5. Select the field(s) to be updated (In this case amount paid)
6. In the ‘update to’ cell, type in the expression that you will use to update
information in your table.
Example: You may decide to raise the fees by 1000,therefore you type [amount
paid]+1000 in the ‘update to’ row of the amount paid field.
7. Run the query.
8. A warning appears informing you that the action cannot be reversed.
9. Click Yes to update the records.
10.Close the query and save the changes.
NB: An update query does not open the records when double clicked, Instead you
should open the table that you run the update query on to view the results.
90
6. Select the field you want delete records from. Choose the criteria of the records e.g.
<01/10/1999
7. Click the run button ‘! ‘
8. A dialog box appears warning you about running the query. Click yes to delete then close
the query.
9. Save the query.
TYPES OF TOTALS
Types of Calculations Used to calculate
Sum The total values in a field Average
The average values of a field Minimum (Min) The
lowest value in a field Maximum (Max) The highest
value in a field Count The number of
values in a field
StDev The standard deviation of values in a field
Var The variance of values in a field
First The field value from the first record in a table or a query
Last The field value from the last record in a table or a query
A parameter query is a query that when run displays its own dialog box prompting
you for information, such as criteria for retrieving records or a value you want to insert in
a field. You can design the query to prompt you for more than one piece of information;
for example, you can design it to prompt you for two dates. Microsoft Access can then
retrieve all records that fall between those two dates.
To prompt the user for one or more characters to search for, and then find records
that begin with or contain the characters the user specifies, create a parameter
query that uses the LIKE operator and the wildcard symbol (*). For example.
For a field that displays dates, you can display the prompts "Type the beginning date:"
and "Type the ending date:" to specify a range of values.
Procedure
1 .In the database window, click the query tab.
2. Click the ‘New’ button and then select design view.
3. Click OK.
4. The show table dialog box appears. In this dialog box, you select the
table(s) that you want to base your query on.
5. Select the table and click Add.
6. Click close to close the dialog box and get to the query window.
7. Place the cursor in the row for ‘field’ and click to chose the field(s) you
want in your query.
8. In the field's Criteria cell, type Between [Type the beginning date:] And
[Type the ending date:].
9. Click the run button ‘!’ on the toolbar.
10. Save the changes you have made.
7.6 FORMS
Working with forms
A form is basically a way of displaying data, record by record. It is the most
convenient object in which a non-experienced user of Access can enter records. Any
record entered using a form is automatically entered into the table. In forms, you can edit,
sort, filter, add/delete records etc.
93
(d) Click the name of the table or query that includes the data you want to base your form
on.
(e) Click Ok
Procedure
1) In the database window, click the tables tab then click new or use an
existing table.
2) Click design view then Ok
3) Designate one of the field for the O.L.E. The field name could be photo, picture
etc. For its data type, select O.L.E. objects.
4) Close the table and save the changes.
5) Open the table.
6) Right click the O.L.E fields(s) then insert object.
7) From the object type list, select a category i.e. Microsoft clip gallery then click
Ok.
8) Select a clip then click insert.
NB/ The object will always be seen whenever you open a form based on the table or
query that has the O.L.E field.
94
7.7 REPORTS
Reports are used to analyze data or present it in a certain way in print. A report could be
that which groups data and calculates totals and another different data formatted for
printing mailing tables.
Procedures
95
7.8 Chapter Review Exercise
Prepare a database table and assign appropriate data types to hold the following data and
define a primary key
Name Course DATE OF SEX FEES(Kshs.)
BITH
Kilonzo David Muthami B. Ed 31/01/92 Male 54,000
Mumbi Irene Wangui M. Ed 06/10/87 Female 60,000
Mwangi Muriithi M. Ed 21/06/93 Male 54,000
Simon Kinyanjui BBIT 16/09/97 Male 62,000
Muuki Agneta Kalekye B. Ed 19/04/93 Female 60,000
Wang'ombe Grace BBIT 17/01/88 Female 54,000
Kiramana Paul M. Ed 25/04/90 Male 19,000
Gatwiri Everlyn B. Ed 11/11/92 Female 60,000
Ruth Wangeci BBIT 31/01/92 Female 16,000
Harrison Mundia B. Ed 2/01/89 Male 22,000
Musyoka Ruth B. Ed 31/01/92 Female 36,000
Mwenda Sylivia BBIT 19/08/94 Female 41,000
Reuben Gichana M. Ed 11/05/92 Male 56,000
Mutio Mary Mwikali B. Ed 31/12/91 Female 60,000
Karanja Kelvin BBM 26/11/92 Male 60,000
Required
1. Create a data entry form in design view and apply your own design in the form
2. Enter the above records using the form above
3. The semesters fees is 60,000 Kshs. Produce a list of students who have
cleared the fees
4. Produce a list of Female students taking a course in education
5. Produce a list of students who were born before the year 1990
6. Product a report that will show the current students grouping them by their
respective courses
7. Prepare a report showing a list of students who have cleared their fees
8. Prepare a macro that will open no 3 above and open the report on 7 above.
96
CHAPTER EIGHT
PRESENTATION GRAPHICS
MS POWERPOINT
INTRODUCTION
What is PowerPoint?
This is a complete presentation graphics package. It gives you everything you need to
produce a professionally looking presentation. It enables you to express
your ideas in graphics, text and objects all in one.
What is presentation?
It is a collection of slides, handouts, speaker’s note, and outline all in one file. As create a
slide you are creating a presentation, giving it a format that will carry through from
beginning to the end.
What is a slide?
Slides are individual pages of your presentation. Slides have titles, text, drawn objects,
shapes, clip arts, and visuals created with other application.
Starting PowerPoint
From the start menu select programs and the move to PowerPoint and click.
98
Adding a special text effect
You can add special effects to text by using the “word Art” tool on the
drawing toolbar. You rotate, sketch, shadow or fill it with color using the
“Word Art” toolbar.
1. From the insert menu move to picture
2. Move to word art and click
3. Choose the shape of the word art and click okay
4. Type the text you want to add special effects after deleting “Your text
here”
Applying background
1. Choose the slide you want to apply background (if you have several) by scrolling.
2. In the format menu choose background and click.
3. In the drop down list choose the color desired (click more colours to view more)
4. Click apply.
Applying design
1. Choose the slide you want to design.
2. In the format menu choose, apply design, and click.
3. In the resulting dialog box, choose the desired design.
4. Click apply.
99
1. Slide: Views individual slide.
2. Outline: Views all slides (outlined). NB.Graphics & Text effects cannot be
viewed in outline.
3. Slide sorter: Miniatures all slides in your presentation. You can animate, transit,
sort etc in this view.
4. Slide show: Complete presentation is run in this view.
♦ Slide or notes page Drag the vertical scroll bar until you get
The slide.
♦ Outline Double click the slide icon.
♦ Slide sorter Double click the slide.
♦ Slide show Right click, point to ‘GO’ on the
shortcut
Menu, and click slide Navigator.
Deleting a slide
1. Select the slide you want to delete
2. On the Edit menu, click Delete Slide
PowerPoint comes with its own set of pictures in the clip art gallery. The clip art gallery
includes a wide variety of clip arts that makes it easy for you to dress up your presentation
with professionally designed images. You will find everything from maps to people and
from buildings to scenic backgrounds.
100
Inserting pictures in your presentation
1. From the insert menu point to pictures
2. You can choose from the different sources i.e. clipart gallery, scanner, file etc.
3. From the source you have chosen, chose the picture and click insert.
Using Templates
This option helps you to create slides with a particular chosen design. E.g. Blush, Fireball,
Fan etc.
8.6 ANIMATION
You can animate text, graphics sounds, movies, and other objects on your slides so as to
focus on important points, control the flow of information, and add
101
interest to your presentation. You can have each main bullet point appear
independently of others, or you can have objects appear progressively, one after another.
You can set up the way you want each bullet point or object to appear on your
slide e.g. to fly in from the left and whether you want other bullets or objects to dim or
change color when you add a new element. You also change the order of timing of your
animation.
102
2. On the slide show menu, click ‘slide transition’.
3. In the effect box, choose a transition.
4. To apply a transition to one slide, click apply. Click ‘apply to all’ for all the slides.
5. To view the transition, click slide show.
8.8 PRINTING
You can print your entire presentation either in black and white or color.
1. Open the presentation you want to print.
2. Click print from the file menu.
3. In the resulting dialog box, choose and click as appropriate.
4. Click okay.
8.9 Margins
PowerPoint does not have fixed margins as in word processing programs. You can place
text and objects right up to the edge of a slide. You align objects by resizing their
placeholders.
103
8.10 Chapter Review Questions
1. You are the marketing manager of Mount Kenya University and you are
required to make a presentation at the Inter-University conference about Mount Kenya.
The presentation should not be less than 15 slides and should also have the following
features;
- Slides with the different layouts i.e Organisation chart, Chart, Tables, clip art
- Custom animation for the slides with animated text and images
- The slides should run automatically without clicking
- The presentation should be 3 minutes long in total
- Apply a design
2. You are the marketing manager of Mount Kenya University and you are required to
make a presentation at the Inter-University conference about Mount Kenya. The
presentation should not be less than 15 slides and should also have the following
features;
- Slides with the different layouts i.e Organisation chart, Chart, Tables, clip art
- Custom animation for the slides with animated text and images
- The slides should run automatically without clicking
- The presentation should be 3 minutes long in total
- Apply a design
3. You are the marketing manager of Mount Kenya University and you are required to
make a presentation at the Inter-University conference about Mount Kenya. The
presentation should not be less than 15 slides and should also have the following
features;
- Slides with the different layouts i.e. Organization chart, Chart, Tables, clip
art
- Custom animation for the slides with animated text and images
- The slides should run automatically without clicking
- The presentation should be 3 minutes long in total
- Apply a design
104
CHAPTER NINE
Advantages of Networks
105
9.2 Introduction to the Internet
The Internet is a world wide computer network, which interconnects computer networks
across countries. It started with an initial 4 computers in 1969 and grew over the next ten
years to connect 200 computers in military and research establishments in the US.
Today there are more than 4 million host computers, any of which could be holding
the information you are looking for, and as many as 50 million people connected.
This is a special part of the internet that allows people to view information stored on
participating computers. It is an easy-to-use, graphical source of information which has
opened the internet to millions of people interested in finding out information.
Electronic mail can be sent to another internet user anywhere in the world within seconds.
E-mail facilitates; sending of messages, file attachments, address book, sending E-mail to
a group, forwarding messages and many others.
This is a live chat facility that where the text you type is instantly broadcast to everyone
on the same channel. Some channels are dedicated to particular topics, for example
politics, science, games etc.
106
Videoconferencing
In this facility you can see the person at the other end of the line and you can be able to
talk to them using a microphone.
- Personal information such as name, address, credit card number etc. can be stolen by
other culprits and misused.
- Unwanted e-mails in bulk (Spam), which provide no purpose and needlessly obstruct
the entire system, can be sent on the internet.
- Computers attached to internet are more prone to virus attacks and they can end up
into crashing your whole hard disk.
- Pornographic sites on the Internet that can be easily found by children which
can corrupt their morals.
- Anyone can publish incorrect information online because there’s no quality
control
Effects of computerization
107
- Computers have affected relationships of people working together such as
employee-supervisor relationships and thus becoming a dehumanizing factor.
- Computerisation has caused job content reduction and role ambiguity.
- Cause of power redistribution in organizations due to change in
organizational structure.
- Computers have been blocking factor for career paths.
3. What is the difference between the internet and the worldwide web?
(a) E-Mail(b) Internet relay chat (c) Google (d) Video Conferencing
108
REVIEW QUESTIONS ANSWERS
Chapter 1.
1. C 2. D 3. A 4. D 5. True
Chapter 2
1. D 2. B 3. B 4. D 5.
C
Chapter 3
1. A 2. D 3. B 4. A 5. D
Chapter 4
1. D 2. C 3. True 4. A
5. Locate the place to create your folder e.g. My Documents, Desktop, C Drive
Go to File – New – Folder. Or if creating on the desktop right click on the desktop and use
the new option to create a folder.
The folder will appear at the bottom of your list. When it displays as a black
rectangle with the words New Folder highlighted in blue, it is prompting you to give it a
name. Type the name of your folder and hit Enter.
Chapter 9
1. B
2. D
3. This is a special part of the internet that allows people to view information stored
on participating computers.
4. A
5. C
109
UNIVERSITY EXAMINATION
Instructions
Answer question ONE and any other TWO questions
Q1 (a) Define the following computer terms
(i) BIT
(ii) BYTE
(iii) Output
(10 marks)
(iv) Virus
(v) Software
(b) Computers have evolved through many generations over the years. State and explain
the five generations the computers have evolved through (5 marks)
(c) State and explain any three classifications of computers based on their capacity
and size (6 marks) (d)
Explain the main units of the Central processing unit (CPU) giving their functions
(6 Marks) (e) Differentiate between RAM and ROM
(3 marks)
Q2 Word Processing
(a) (i) Explain what a font is. (2 marks) (ii)
Name two different fonts. (2 marks) (b) State
the two different page orientations a word processed document can be set to.
(2 marks)
(c) Describe how you would carry out the following word processor operations: (i)
Opening an existing document (2 marks)
110
(ii) Creating a new document (2 marks)
(d) (i) Explain why you might want to change the size of the margins of a word
processed document such as a letter or report. (2 marks) (ii) Name
two word processing tools which can help proofread a
document.
(2 marks)
(e) Below are images of three button icons from a word processing program. For
each image describe the purpose of the button.
(Total 20 marks)
Q2 Spreadsheets
(a) Explain what the following spreadsheet functions do, illustrating your answer
with an
example of how the function could be used: (i)
SUM
(ii) AVERAGE
(iii) COUNT (9 marks)
(b) The image below shows a partially completed spreadsheet that will be used for
creating invoices.
An individual Item Total is calculated by multiplying Price and Quantity.
The Items Total figure is calculated by adding up all the individual Item Total
figures.
The Tax (10%) figure is calculated as 10% of the Items Total figure.
The Invoice Total is calculated by adding the Items Total and the Tax (10%)
figure together.
111
(i) State a formula that correctly calculates the Item Total figure in E7. (2 marks) (ii)
State what the most efficient formula is to calculate the Items Total figure in E12.
(2 marks)
(iii) State a formula that correctly calculates the Tax (10%) figure in E13. (2
marks)
(iv) State a formula that correctly calculates the Invoice Total figure in E14.
(2 marks)
(c) Suggest a change to the formatting of the spreadsheet in order to improve the
presentation of the spreadsheet. (1 mark)
(d) Suggest a suitable folder name and file name for saving the spreadsheet.
(2 marks)
(Total 20 marks)
Q4 Database
(a) Explain what the following database terms mean.
(i) Record (sometimes called row) (2 marks)
(ii) Field (sometimes called column) (2 marks)
(iii) Table (2 marks)
(b) Give an example of what a business might use a database for. (2 marks)
(c) State the most appropriate data type for storing each of the items of data listed
below.
(i) +44 (0)20 8329 2930 (1 mark) (ii) 21 July 1969 (1 mark) (iii) 3.1415 (1 mark)
(d) Below is a screenshot of part of a database. Refer to it when answering the
questions below the database.
(i) Explain what the problem with this design is. (2 marks) (ii)
Describe what changes you would make to improve the design of this database.
(2 marks)
(e) For queries on the data shown above:
(i) How many records would be displayed if a criterion of >50 was set for the age field?
(1 mark)
112
(ii) What criteria would you use to display records of people aged from 20 to 45 years
inclusive? (2 marks) (iii)
What criteria would you use to display records of people that are younger than21 years
or with the Forename James? (2 marks)
(Total 20 marks)
Q5 Electronic Mail
(a) Explain what the following e-mail terms mean.
(i) Junk mail (also known as spam) (2 marks) (ii)
Zip (2 marks) (iii)
Cc (also known as Carbon Copy) (2 marks) (iv)
Reply to All (2 marks) (b)
Describe two precautions you should take when using e-mail and explain why each
precaution is necessary. (4 marks)
(c) Reply and Forward are two very useful e-mail commands.
(i) Explain one similarity between Reply and Forward. (2 marks) (ii)
Explain one difference between Reply and Forward. (2 marks) (c) Name
two internet software and internet browsers (4 marks) (Total 20
marks)
113
UNIVERSITY EXAMINATION 2009/2010
Instructions
Answer question ONE and any other TWO questions
(c) State and explain any three classifications of computers based on their capacity
and size (6 marks)
(d) Explain the main units of the Central processing unit (CPU) giving their
functions (6 Marks)
(e) Differentiate between RAM and ROM (3 marks)
Q2 Word Processing
(a) (i) Explain what a font is. (2 marks) (ii)
Name two different fonts. (2 marks) (b) State
the two different page orientations a word processed document can be set to.
(2 marks) (c) Text can be aligned in different ways to improve the appearance of a
document.
114
State two different kinds of paragraph alignment, and for each give an example of its
use. (4 marks) (d) (i)
Explain why it is important to proofread a word processed document.
(2 marks)
(ii) Name two word processing tools which can help proofread a document.
(2 marks)
(e) Below are images of three button icons from a word processing program. For
each image describe the purpose of the button.
(Total 20 marks)
Q3 Spreadsheets
(a) Explain what each of the spreadsheet terms listed below means. (i)
Cell (ii) Worksheet (iii) Formula
(6 marks)
(b) Below is an image of an incomplete spreadsheet for recording results of a sports
league. In each match a team may win, lose or draw.
A win scores 3 points, a draw scores 1 point and a loss scores 0 points.
(i) Write down a formula to input into cell E8 that calculates the number of games
played by the Eccles team. (2 marks)
(ii) Write down a formula to input into cell F8 that calculates the number of points
scored by the Eccles team. (4 marks)
(iii) Write down a formula to input into cell G8 that calculates the average
number of
points the Eccles team gets per game. (2 marks) (c)
State what formatting should be applied to the figures in column G to make them
easier to read. (2 marks) (d) (i)
Explain what a macro is. (2 marks) (ii)
Outline how a macro could be used in a spreadsheet. (2 marks)
115
(Total 20 marks)
Q4 Database
(a) Explain what the following database terms mean.
(i) Record (sometimes called row) (2 marks) (ii)
Field (sometimes called column) (2 marks) (iii)
Table (2 marks) (b)
Give an example of what a business might use a database for. (2 marks) (c) State
the most appropriate data type for storing each of the items of data listed below.
(i) +44 (0)20 8329 2930 (1 mark) (ii) 21 July 1969 (1 mark) (iii) 3.1415 (1 mark)
(d) Below is a screenshot of part of a database. Refer to it when answering the
questions below the database.
(i) Explain what the problem with this design is. (2 marks) (ii)
Describe what changes you would make to improve the design of this database.
(2 marks)
(e) For queries on the data shown above:
(i) How many records would be displayed if a criterion of >50 was set for the age field?
(1 mark)
(ii) What criteria would you use to display records of people aged from 20 to 45
years inclusive? (2 marks)
(iii) What criteria would you use to display records of people that are younger than
21 years or with the Forename James? (2 marks)
(Total 20 marks)
Q5 Electronic Mail
(a) Explain what the following e-mail terms mean.
(i) Junk mail (also known as spam) (2 marks) (ii)
Zip (2 marks) (iii)
Cc (also known as Carbon Copy) (2 marks) (iv)
Reply to All (2 marks)
116
(b) Describe two precautions you should take when using e-mail and explain why
each
precaution is necessary. (4 marks)
(c) Reply and Forward are two very useful e-mail commands.
(i) Explain one similarity between Reply and Forward. (2 marks) (ii)
Explain one difference between Reply and Forward. (2 marks) (c)
Name two internet software and internet browsers (4 marks) (Total
20 marks)
117