Form 2 Notes and Review Questions
Form 2 Notes and Review Questions
F2 Notes
1
WORD PROCESSORS
Objectives
By the end of the topic, the learners should be able to:
a. Define a word processor
b. State the purpose of word processing
c. Use a word processing package
d. Format and edit a document
e. Create and edit a table
f. Create and update a mail-merge document
g. Print a document
h. Insert and edit objects
2
- Word wrap, feature that automatically moves a word or cursor to the beginning of the next line
if it does not fit at the end of the current line.
3. Page editing features such as :
- Page numbering
- Insertion of headers and footers
4. Printing of documents: In single or multiple copies, full, all or part of a document.
5. Tables which can be used to align text in columns and perform certain sorting and calculations on
the text.
6. Tools such as spell checkers, Thesaurus and Bookmarks, footnotes.
7. Use of document templates which can be used to quickly create the most frequently used
documents once the format has been set.
8. Mail-merge which is very useful when similar letters have to be sent to several people.
9. Creating and manipulating column text, such as newspapers layouts.
10. Ability to add graphics within documents
11. File protection using passwords.
12. Scrolling which is the movement of text documents and graphics smoothly up, down (vertically)
and across (horizontally) on screen using a mouse or the arrows keys, PageUp and PageDown
keys.
Ms Word is a member of Microsoft Office suite that consist of several integrated programs like
Microsoft Excel, Microsoft Access, Microsoft Outlook, Microsoft PowerPoint and Microsoft Publisher.
Currently five Office suites are Office 97, 2000, XP, 2003 and 2007.
NB: Documents saved in Word 2007 format cannot be opened in the previous versions unless saved
in compatibility mode.
Starting Ms Word
3
Word 2003 runs in the Microsoft Windows XP environment and to use Word 2003 the program
should be loaded from the hard disk to computer’s memory. Switch on your computer to start using
word if it’s properly installed.
Programs menu
4
Menu bar Standard toolbar Title bar
Formatting toolbar
Scroll arrow
Insertion point Horizontal ruler
Text cursor
Work area
Vertical ruler
Previous page
View Buttons
Browse
Horizontal scroll arrow
selector
Next page
Title bar
Located across the top of the window, it displays the title of the currently running application or task
and the name of the document. It also enables user to move the application window around the
desktop. On the right of the title bar are three tiny buttons called Minimize, restore/maximize and close
button.
Maximize / Restore button – stretches the window to cover the entire desktop or restore it to its
original size if was reduced to a button on the task bar.
Close button – used to close and exit a window. NB: Below the close button there is close window
button (x), it closes the current active window.
Menu bar
Located below the title bar, provides the user with group of commands. Each command has a drop
down list of commands used to create or manipulate a document. The menu options show the name
of the menu option, the button equivalent and where applicable the shortcut command.
For instance to Save click File>Save or Hold down Ctrl + S or Click the Save icon.
Examples are File, Edit, Format, Help.
5
File menu: is used to do an operation involving the entire
document such as to create a new document, to open, save, print
and set document properties etc.
Toolbars
Located below the menu bar. They are rows of buttons or icons that represent commands available in
the menu bar. They provide quick access (shortcuts) to some of the most frequently used commands
from menu bar. The most common are standard toolbar and formatting toolbar.
Standard toolbar {has buttons that act as short cut to commonly used menu commands.}
Has buttons that act as short cut to commonly used menu commands. Shows the most commonly
used tools for word processing tasks such as Open, save, copy, paste, spelling and grammar, etc
6
Tick or checkmarks for
displayed toolbars
Fig shows displayed and hidden toolbars
Ruler
Ms word has onscreen rules that is vertical ruler located on the left margin and horizontal located
below the toolbars placed, that helps the user to position text or objects in the right position, set tab
stops indents. The horizontal ruler also helps to set tab stops and indents.
Work area
Is the blank area where you can enter text or graphical objects. A cursor always blinks.
Task pane
A Task Pane is automatically displayed docked on the right of the window. It contains shortcuts to
commonly performed tasks e.g. opening recently used documents.
View buttons – located directly above the status bar, they provide a quick way to move between
various page views e.g. normal view, outline view etc.
Status bar
A strip located across the bottom of the window that acts as a communication link between the user
and the program. It displays information about the active document or such as current page number,
cursor position, section etc. or selected command.
Navigating Word
Scroll arrows: Are arrows at the end of the scroll bars that user clicks to move in small steps across
and vertically the screen. Scrolling a document
You can also navigate through the Word document using the Browse object selector below the
Vertical Down arrow as shown in the figure below.
Previous page
To scroll In the vertical scroll bar
Up or down one line at a time Click on the up or down scroll arrow
Up or down one screen at a time Click above or below the scroll box(bar)
Multiple pages up or down the document Drag the scroll box to the top, bottom or middle
of the scroll bar.
To the previous page Click the double-up arrow
To the Next page Click the double-down arrow
A specific Page Click the Browse object selector followed by
Go to button.
A section or area of the document Click browse object selector followed by the
Page Number button.
End of document mark – is the horizontal line that indicates the end of the document in a normal
view
Observing the mouse pointer – the mouse pointer is the I-beam when it is in the text area (work
area). When it is moved to the left it becomes a right slanted pointer, which when clicked selects the
line.
Although the Save and Save As when saving for the first both give the Save As dialog box, Save As
command can be used in the following situation:
To save a document under a new file name.
Save a document in different location, such as folder or disk.
8
2. In the File Name, type a unique name descriptive of the files contents for the document so that
you can remember with ease. Note: when you are saving a document for the first time, word
automatically uses the first paragraph as the new documents name. Overtype using a different
name. a file name cannot contain any of the following characters / , : ; * ? . < >
3. Select the location or drive to save in, by clicking the down arrow on the right of Save In list box.
4. To save file in a different format or an older version of Word, select the type from the Save as
type drop-down list.
5. Click Save button or press Enter key. The document will be automatically saved as Ms word
document and file extension .doc added.
9
Select drive or folder
where the file was saved
2. Select a drive or folder where the file is saved in the Look in box.
3. In the Name list, scroll and select the name of the document you want to open or select the file
and click open button.
4. Double – click the document you want to open or select the File and Click on Open button.
If the list of recently used documents is not displayed, configure Ms Word to be displaying by
Clicking the tools option command. In the options dialog box displayed on the general tab,
select the Recently used file list check box as shown in the options dialog box below.
Checking this option allows Word to keep 9
shortcut links of recently operated files
10
Protecting a word with a password
A password is a string of characters that prevents other users from opening and changing a document
without permission. You cannot open or edit a document protected by a password unless you know it.
To save a document with a password create or open the document you want
1) Click File>>Save As option
2) Click the down arrow on the Tools button in the Save As dialog box and select Security Options
as shown in the figure above.
3) Type in a password in the password to open; this prompts the user to enter a password when
opening document.
4) Type in a password to modify; this prevents the user from making changes unless the user enters
the correct password.
5) Click OK or press Enter key.
NB: A password is case sensitive always note the combination of characters used.
Closing a document
This is unloading the current active document from memory so that the user can create or open
another without necessary exiting from Word.
To close, on File menu, click Close. If the document has changed since the last Save you will be
prompted to save the changes. To close al open documents without exiting the program, hold down
SHIFT key and click Close All on the File menu.
11
Editing refers to altering of an existing document by either adding or removing text. This is done to
make necessary changes so that the document read the way it is supposed to read. This is achieved
using delete, insert and overtype/overwrite commands. Apart form these Ms Word has inbuilt tools
such as the Spelling and Grammar checker, thesaurus, undo and redo, find and replace, etc.
Block Operations
Blocking text refers to selecting a string of text in order to work with it as a whole.
The purpose of selecting or highlighting text is to enable one to manipulate the selected block of
block of text.
Deleting Text
Deleting means to erase text. The two frequently used keys for deleting text and objects are Delete
and Backspace . You can also erased text only using Enter key, Spacebar and Type over mode.
To delete a block of text highlight the text to be deleted then press the delete key (i.e. Backspace,
delete or Space bar)
The Backspace key – deletes (erases) characters to the left, while the DELETE key deletes
characters to the right of the Insertion Point.
Spacebar – highlight a block of text then press the spacebar. All selected text will be deleted.
Enter - highlight a block of text then press the enter key, all selected text will be deleted
12
Overtype : Delete can also be done by overtype option when active. You can activate by double
clicking the ‘OVR’ label on the status toolbar or pressing the Insert key on the keyboard. After the
option is activated, any existing text will be replaced by the newly typed text.
NB: Enter key, Backspace key and type over mode cannot erase objects.
Typing Modes
There are two typing modes: 1). Insert Mode and 2). Typeover /Overwrite mode
1). Insert mode
By default Word operates in insert mode. New text does not replace existing text in the typing
position, instead the text is pushed to the right as you type. To insert text , place the cursor where you
want to add text and continue typing.
2). Typeover / Overwrite mode
This mode replaces characters at the cursor position as you type. Activate the option by either double
clicking OVR label on the status bar or pressing the Insert key on the keyboard. You will notice that
the OVR on the status bar is now active (highlighted).
OVR label active after double clicking or
OVR label inactive on status bar pressing Insert key
To switch back to Insert mode press Insert key again or double click OVR label on the status bar.
13
Find
To find where a specific word occurs in your document follow these steps:
i). On the Edit menu click Find or press Ctrl + F . Find and Replace dialog box appears.
ii). In the Find what box, enter the text/ phrase you want to search for and click Find Next button.
iii).When the word is encountered it is highlighted. Click Find Next button to locate other
occurrences of the same text. You can check Highlight all items found in check box and
select Main document in the drop down list, so that the all the searched words are highlighted.
Once the search is completed, a dialog box appears stating that the search has been
completed.
NB: To cancel a search in progress, click Cancel button or press ESC
Search Options
Click the more buttons on the Find and Replace dialog box, to specify search options.
They include:
Match case: - It identifies only text that match in
case e.g. it will not find ‘late’ if you typed ‘LATE’.
Whole word: - Searches for a word that is whole
but not part of another word e.g word like ever
will not be found in words like whoever, however
etc.
Wildcards: - A special character e.g.? or * that is
used to represent a set of words with similar
characteristics for example to find words that
starts with F, like Fur, father, Francis can be
represented using a wildcard as F* which finds all
words starting with F. The wildcard ? finds any single character e.g. a search for ‘s?t’ finds ‘sit’, ‘set’,
etc.
Like : - Searches for a word with similar pronunciation like Fare and Fair, seek and sick, etc.
Replace Command
This feature is used to find and replace words or phrases.
Choose Replace from Edit menu, or press Ctrl + H from the keyboard. A Find and replace dialog box
appears.
In the Find what box, enter the text you want to search for. In the Replace with box, enter the
replacement text. If you only want the text removed, leave the Replace with box blank. To replace the
current text click Replace and to replace all occurrences of the text all at once click Replace All.
Proofreading
This is checking whether the document has typographical or grammatical errors.
14
Proofreading tools
a). Spelling and grammar checker
Is an inbuilt tool that helps the user to correct spelling errors and incorrect grammar structures.
The spell checker also checks for such common typing mistakes as repeated words (the the),
irregular capitalization (‘tHe’). The checker can only recognize errors of those words whose
correct spelling is in its dictionaries. The spell checker has two types of dictionaries:
i). Standard (main) dictionary which is in-built
ii). Custom which is user-defined.
Spelling errors are underlined in red while grammatical errors are underlined in green.
To run the spelling and grammar checker do the following:
1. To check an entire document, first ensure that no text is selected. Place the cursor at the top of
the document before starting the spell checker.
2. Choose Tools>Spelling and grammar menu or click the spelling and Grammar icon or
press F7 key on the keyboard. A spelling and Grammar dialog box appears as shown in the
figure below.
b). Thesaurus
Is used to find words or phrases with similar meaning (synonyms) or opposite meaning
(antonyms) to the one selected. To use thesaurus:
1. Select a word in the document
2. Click Tools menu>Language > Thesaurus or press Shift + F7. The
research task pane appears.
3. In the Thesaurus box click the drop-down button to select the language
to use.
4. Choose an alternative word to replace the selected from the list.
5. To replace a word or a phrase with antonym, select the word or phrase
enclosed in brackets.
6. click on the drop down option insert
15
A feature that displays a word when the user types the first few characters of the word. This
enables the user to type faster. To accept the suggestion, press the enter key and continue typing
other words or phrases.
d). Autocorrect
Detects automatically wrongly spelled or capitalized words and replaces them with the correct word.
The settings of autocorrect are user defined e.g. if you keep on typing cetrain instead of certain you
can set the autocorrect feature to replace the former with the
later. Type cetrain (incorrect word) in Replace box and
certain (correct) in With box, as shown in the figure.
e). Undo
It reverses the most recently executed command that was issued in order to revert back to the
previous state. In summary undo command is used to cancel previous command or action and restore
deleted text.
To Undo click Edit > Undo command or Click Undo button on the standard toolbar or Press Ctrl + Z.
f). Redo
It reverses the action lastly cancelled (undone). To redo click Edit > Redo command or Click Redo
button on the standard toolbar or Press Ctrl + Y.
16
8. Give the two types of dictionaries that are used by a spell checker program. Which one is likely to
have non-English words and why?
9. Name any five parts of the Microsoft Word Application window.
10. Explain the term document formatting.
11. Give any five document formatting features.
12. What is a thesaurus.
13. Distinguish between the autocomplete and autocorrect feature in word processing.
14. Hassan has a problem when typing; every time he wishes to type the word Good, he mistakenly
types God. What can he do to continue typing without worrying about having to go back to correct
the same word over and over again?
15. Explain the use of Undo and Redo commands.
16. Give atleast four examples of fonts available in Microsoft Word.
17. Naliaka realized that a figure she was working with in word processing was too big to fit on a
portrait page. What do you think she should do to fit on the page?
18. what is a tab? Why are tab stops important in a document?
19. state one function of drop cap in a document.
20. what is line spacing? Give any two line spacing specifications.
21. what is a soft return of the cursor in a document? Differentiate it with hard return.
22. give and explain four text alignment features.
6. Italicizing text: This is making text slant forward. To italicize click Italic under font style or press
Crtl + I or Italic button on formatting toolbar.
7. Changing font color: By default the font color is black. You can change the font color by clicking
the font color which display a color chart as well as more color options including standard and
custom.
NB: The font dialog box contains additional formats that are not available on the formatting toolbar
such as Double underline, Small Caps, Superscript, subscript, emboss, engrave, Hidden, etc. You
17
can also change the character spacing by expanding the text or condensing it using character spacing
Tab as well as text effects to animate text using text Effects Tab. Scroll down animations list box to
select your choice. Animations appear on screen but are not are printed.
Subscript describes text that is slightly lower than other text on a line and is usually used in scientific
formulas. e.g. O2
Subscript
To make text subscript or superscript
1. Select text format subscript or superscript
2. Click on the Format >Font option and select the Font tab.
3. Under Effects select the superscript or subscript check box as required.
4. Click OK.
Format Painter
Format painter copies the format from a selected object or text and applies it to the object or text you
click on. To copy the format, select the text with the format you want and click on the Format Painter
button on left of Undo command on the Standard toolbar. To copy the
formatting to more than one item, double click the Format Painter button
and then click on each item you want to format. When you finish copying,
press Esc or click Format Painter button again.
Paragraph Formatting
Text alignment:
Refers to how text is lined up on the page relative to the left, Right or Center of the page
Types of alignment
There are five major alignment options namely
Left, Center, Right, Justified and Distributed (force
justified).
To align text, select first then click the appropriate alignment button on the formatting toolbar or click
Format>Paragraph and select the appropriate alignment form the alignment list box, then click OK.
18
Also alignment can be achieved by means of
special function keys on the computer
keyboard as follows:
Ctrl + L : Aligns text to left
Ctrl + E : Centers text
Ctrl + R : align text to Right
Ctrl + J : Justify text
Changing Case
This refers to switching between different
cases provided by the Microsoft Word. Once
you have typed text, you can change the
case automatically without having to go to each individual word. Changing case helps to create
contrast within the text.
To change case:
Choose Change Case from the Format menu. From the Change
Case dialog box, select one of the following options:
Sentence case – which capitalizes the first letter of the first word of
every sentence in the selected text.
Lower case – changes selected text to all lower case (small)
letters.
UPPER CASE – changes selected text to all uppercase (capital)
letters
Title Case – capitalizes the first letter of each word in the selected
text.
tOGGLE cASE - changes all uppercase letters to lowers
uppercase in the selected text.
Drop Caps
Drop capping is making the first character in a sentence large, taking more space in the next line. The
Drop Cap is often used when starting a paragraph.
In Dropped position the letter occupies space in the lines below it. In the In Margin position the
dropped cap is placed in the left margin area.
4. For the Drop Cap letter, select the font to use incase you wish to apply.
5. Specify the number of lines to drop and the distance from text.
6. Click OK.
Paragraphs below shows Dropped position and In Margin positing all dropped 4 lines and distances
from text is 0.2 inches
Dropped
19
I
t is not entirely far-fetched to draw parallels between a Kenyan MP and a hyena. You see that
same greedy eye in search of a free meal, and the total lack of table manners when
figuratively, it becomes to eating in excess. MPs are no longer just a menace. They have
become scavengers. They are now busy spinning the fiction that they pay for our weddings,
our school fees, our medical bills and our funerals. Even if they do, so what? They are not under
some constitutional obligation to do so. It’s bad manners to demand favours on the claim that you
operate as a charitable enterprise. Who required you to do so?
I
t is not entirely far-fetched to draw parallels between a Kenyan MP and a hyena. You see that same
greedy eye in search of a free meal, and the total lack of table manners when figuratively, it becomes
In Margin
to eating in excess. MPs are no longer just a menace. They have become scavengers. They are now
busy spinning the fiction that they pay for our weddings, our school fees, our medical bills and our
funerals. Even if they do, so what? They are not under some constitutional obligation to do so. It’s bad
manners to demand favours on the claim that you operate as a charitable enterprise. Who required
you to do so?
Indenting paragraph
Indentation is moving the text from the left margin. Text paragraphs usually extends from the left
margin to the right margin. There are three types of paragraph indentation: first line, hanging, and full
indent.
The paragraph below shows a first line indent indented by 0.8 inches.
The ideal word processor operator should be self-motivated and able to cope with
pressure. She should have an excellent memory, a methodical approach, an ability to work
unsupervised, and willingness to stay with the work until a problem has been solved.
20
1. Follow ALL the above steps for first line indent but under special select Hanging ng indent from
the drop down list
1. Click the Tab stop selector button at the far left of the horizontal ruler until it changes to the type
of Tab you want.
21
2. Click on the horizontal ruler at the position where you want to set a Tab stop. You can hold and
drag the Tab to the exact position you want.; as shown in the example below:
22
4. to add numbers, click Numbering button
5. To change the Bullet or Number format or the spacing between the bullet and Number and the
text, select the paragraph, and then click Bullets and Numbering tab, and then click the format
you want.
6. To change the spacing, click customize. Change the values for bullet indent, text indent and tab
space.
7. Word applies the changes you make the next time you click Bullets or numbering.
Hints to Note
Under Number format do any formatting like adding a bracket e.g (1). Under Text position
Tab space and Indent at values should be equal e.g all 0.5”&0.5”. Value for aligned at under
number position should be slightly less than text poison e.g. 0.2” or 0”
PAGE FORMATTING
Section Breaks
A break identifies where a section, a column or a page ends and the beginning of next. Advantage:
One can apply more than one paragraph or page format in the same document like page layout, size,
different margins etc.
Formatting pages
When you fill a page with text or graphics, Word inserts an automatic page break and starts a new
page. This page is called a soft page break. A page break identifies the end of one page and the
beginning of the next page. If a page break is forced before the end of the page, this is called a hard
page break. To insert a manual Page Break follow the steps below:
1. Click at the point where you want to start a new page
2. On the Insert menu, click Break
3. Click Page Break then OK.
23
To delete a Hard Page Break
1. Move the Insertion Point to the end of the page before the Hard page break, then press Delete or
2. Select the line that denotes the page break, and then choose Clear from the Edit menu.
Creating columns
Columns are used to format a document into layouts, like the columns of a newspaper.
To set columns
1. Select the text to be included
2. click format then columns
3. either select Presets box from one of the presets column
styles or specify the number of columns from Number of
columns box
4. To set the width of each column separately, uncheck the
Equal Column Width box and in the Width and
Column box, set the width and spacing between
columns. NB: As you change one column width the other
column also changes automatically.
5. Click the Line Between check box to add a vertical line
between the columns
6. Click OK.
Page Margin
Margins are blank spaces around the edges of the page. Are used to restrict the printable area of the
page, therefore only text and objects inside the margins are printed.
To set margins:
1. From File menu click Page Setup.
2. Click Margins tab.
3. Enter values for the Left, Right, Top and Bottom margins in the
respective boxes.
Top Margin: Is the distance of the first line of the text from top
edge of the page
Left Margin: Is is the distance of the left side of text lines from the
left edge of the page
Bottom Margin: Is the distance of the last line of the text from the
bottom edge of the page.
Right Margin: Is the distance of the right side of text lines from
the right edge of the page.
Gutter (Binding offset): Is the extra space added to the left
margin for binding e.g. Setting to 0.2 etc.
4. To change margins for part of a document, select the text and
then set margins on the on the Margins tab of the File Menu Page Setup. In the Apply to box,
click selected Text.
5. Word automatically inserts section breaks before and after the text with the new margin settings. If
your document is already divided into sections, you can click in a section or select multiple
sections, and then change the margins.
24
3. Click OK.
Page orientation
Page orientation refers to the direction the page text is laid out on the paper.
The two main types of orientations are:
Portrait orientation – is when text is laid out across the upright page
Landscape orientation – is when text is laid out across the horizontal page
Portrait
Landscape orientation
orientation
Page Layout
It lets the user specify how text will be placed on the page from the margins. By default text starts
from the top margins but can change this either to Centre, Justified or Bottom as follows:
a. File menu >Page setup>Layout tab.
b. From the vertical alignment tab, select the alignment
required then click OK.
NB:
To have different layout in your document, select some text e.g. a
paragraph in a page then do the following;
a. File menu>Page setup>Layout tab.
b. Under Page Select alignment required from Vertical
alignment options , then under Apply to select Selected
text.
c. Click OK.
Headers can be defined as few words that appear at the top margin of each page, while Footers are
a few words that appear at the bottom of every page in a document.
To insert Headers and Footers:
1. On View menu click Headers and Footers. The Headers and Footer toolbar is displayed.
2. To create Header enter text or graphics in the Header area.
3. Click the Header and footer toolbar buttons to insert a date, page number etc.
4. You can also click Insert Autotext to pick an Autotext such as ‘Page x of y’, the file’s name, etc.
25
Insert Autotext Page Setup
Insert Pages Insert Date
5. To create the Page Footer, switch to the Footer by clicking the Switch Between Header and
Footer …button. Create the Footer in the same way as you do with Header.
6. When you finish creating the Header and Footer, click Close from the toolbar.
Text and graphics you enter can be formatted in the same way as with the main document. To center
an item press TAB once ; to right align an item press TAB twice
26
i). Click where you want to insert a section break
ii). On the Insert menu, click Break.
iii). Under Section break types, click the option that describes where you want the new section to
begin.
2. In print layout view, click where you want to insert the note
reference mark
3. On the Insert menu, point to Reference and then click
Footnote
4. Click Footnotes or Endnotes.
3. In the Alignment box, specify where the page number is to be inserted e.g. Center, Right, Left,
Inside or Outside.
4. check show number on first page to display number on page 1, uncheck not to display number on
page 1.
5. Click Format tab to choose the number format i.e. 1, 2,3, or i, ii, iii, or A, B, C etc.
6. Click OK.
27
Is a list of terms used in the document and the pages they appear and it is placed in the back pages.
In order to generate a TOC you must first mark entries by defining styles.
Creating a table
A table can be created using two methods:
(i). By using the Insert table command from Tables menu.
(ii). Using Insert button then select the number of rows and
columns you want.
Definition of terms
Cell – intersection between row and column
Row – horizontal arrangement of cells
Column – vertical arrangement of cells.
28
To insert a row:
1. Place the cursor anywhere you want to insert a row, it can be in a cell or just above or below a
table.
2. From Table click Insert. Select either Rows Above or Rows Below. You can insert rows above
or below the current row.
Inserting Header Rows
When you have a table that is likely to span more than one page, insert one or more header-rows so
that on each table the same headings appear. To Insert,
1. Select the row containing the heading.
2. From Table menu, select Headings Rows Repeat.
29
To split cells:
Select the cell(s) and click on Split cells on the Table and Borders toolbar or Table / Split cells menu
option.
Shading
1. To add shading to a table, click anywhere in the table or to add shading to specific cells, select
the cells.
2. On the Format menu, click Borders and Shading, and then click the shading tab.
3. Select the options you want
4. Under Apply to, select cell to apply the shading to otherwise the shading will be applied to the
entire table.
To format Table with advanced features use Tables and Boarder toolbar. To display from View
menu>Toolbars>Table and Borders. It has a variety of buttons to achieve the following:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
Table and borders toolbar
30
Table conversion
To convert a table to text;
1. Select the entire Table, or row and columns you want to
convert to text
2. From Table menu, select to Convert, then click Table to
Text. A dialog box appears requiring you to specify how text
will be separated after conversion
Importing table
Word lets you import tables from other applications or an existing file.
1. Click Insert menu then objects. A dialog box is displayed.
2. From the object the type select the type of object to insert e.g. Excel worksheet, Adobe table.
3. Click Create from file. This lets you browse for a file that contains the table you wish to insert.
4. Click OK to insert the table.
The word (BELOW) / (ABOVE) / (LEFT) / (RIGHT) in brackets is called the argument for the formula
and it tells Ms Word which cells in the table are to be worked on. The same can be achieved using
cell referencing e.g. to get total for Eng =SUM(C2:C5) it gives same result as =SUM(ABOVE)
Sorting
You can sort text, numbers or dates within a table or list in ascending or descending order. To sort
follow the steps below:
1. Highlight the text list or table you want to sort by placing the cursor in cell.
2. On Table menu click Sort
31
3. If you want the first row of the selection not to be sorted
then click on My List has: Header Row option.
4. In Sort by box select the column or Header to sort by. Do
likewise for Then by boxes.
5. Under Options .. button select the field separator, sort
options, and language
6. To sort a single column in a table, select the column or
cells to sort, and then follow the steps above. In the Sort
dialog box, select the Sort column only check box.
32
3. Click Create. A blank record form is presented, with options to Add, Edit, Delete records, and to
Customize fields. To change fields, click Customize, and then click one of the options to Add,
Delete, or name a field.
4. Click Ok when finished and type in a name for this source to be saved under. Click Save.
33
Click Organizer collection list.
4. Point on the required ClipArt. then click on the drop down arrow at the right of the clipart and select
copy.
5. To insert a picture place the cursor at the desired position and then paste.
NB: you can reduce the size of a file by Linking the picture instead of Inserting by clicking the drop-
down button and selecting Link to file in the Insert Picture dialog box. You cannot edit the picture
but can see it and print in your document.
To scan:
(a) Position the insertion pointer where you want your picture to appear.
(b) From the Insert menu, select Picture and then click from Scanner or Camera.
(c) To scan follow the instructions that come with the scanner model.
(d) When the image appears on the screen you can edit and format just like Clip Arts.
34
Change color Crop Text wrapping
Cropping
Cropping is hiding the unwanted details so that they do not come out when printing (trimming the
unwanted edges of picture).
To crop a picture follow the steps below:
1. Click on the picture to be cropped
2. If the Picture Toolbar is not displayed right click the object and click Show Picture Toolbar
option.
3. On the Crop option, increase or decrease the trim for the Left, Right, Bottom and top by the
required magnitude.
Or Click the picture go to Format menu >picture >on picture Tab select Crop option, increase or
decrease (negative magnitude adds a margin between the picture and its frame)
Wrap text around the picture, Vary contrast, colour and brightness of the picture by selecting and
clicking those icons on the picture toolbar.
Drawing toolbar
1. To draw click at the appropriate shape button or Autoshapes. The pointer changes to a plus
sign. (Press ESC key when Create your Drawing here box appears)
2. Place the pointer anywhere you want to draw that shape and drag to the required size.
3. to Draw from the Autoshapes click Drop down arrow and select your choice category
35
To fill the object with color, fill effects and style (Shadow style & 3_D style)
1. Click on the object to select.
2. Click the down arrow of Fill color button, which looks like a bucket pouring ink.
3. Select the color you want applied. To fill the drawing with texture, gradient or pattern, click the
Effects button. From the resulting dialog box, select the appropriate fill effect.
4. to apply style select the object click style buttons to select style of your choice.
3. In the symbol dialog box select the appropriate symbol and click the Insert button.
4. To insert a special character e.g ® click special character tab and click the
appropriate special character then the Insert button.You can also insert ® by pressing
key combination Ctrl + Alt +R, © by pressing Ctrl + Alt +C, etc.
5. Click close button.
Word Art
You can add special effects to text by using the Word Art button on the Drawing toolbar. In WordArt,
you can create shadowed, skewed, rotated, and stretched text, as well that has been fitted to
predefined shapes.
You can select normal text usually a short phrase and change it to Word art by clicking the Word Art
of your choice.
Too you can edit a WordArt by clicking it the use Edit option on the WordArt toolbar.
To print Preview click Print Preview on the Standard toolbar or From File menu select Print Preview
option
To print
36
From File menu select Print or Press CTRL + P or click the Print icon on the Standard toolbar. A
print dialog appears.
2. If you choose Pages enter the page numbers and ranges you want to include e.g. to print pages 1,
2 ,5 through 9, and page 1, type 1,2,5-9,12 in the Pages box.
3. If you have highlighted some text in the document to be printed, then click on the Selection button
in the Print Range box. When you select for example some text like a paragraph the selection
option under Page Range becomes active.
*Read the manual that comes with the printer to solve printing problems.
Revision questions
1. Define the term graphic and give one example
37
2. Explain how to achieve the following
(a). to move a graphic from one place on the page to another
(b). to change the brightness of a graphic
38
2.0 SPREADSHEETS
Objectives
By the end of the chapter, you should be able to:
a). Define a spreadsheet
b). Describe the components of a spreadsheet
c). State the application areas of a spreadsheet
d). Create and edit a worksheet
e). Explain different cell data types
f). Apply cell referencing
g). Apply functions and formulae
h). Apply data management skills
i). Apply charting and graphing skills
j). Print worksheet and graph
Types of Spreadsheets
Are tow namely
a). Manual Spreadsheet
it consists of a book like ledge with many sheets of papers divided into rows and columns on which
data elements are entered manually using a pen or pencil.
39
2.2 Components of a Spreadsheet
They are three namely: Worksheet, Database, and Graphs.
(A). Worksheet
1. Consists of cells organized into rows and columns in which data values ate entered. A group of
worksheets is called a workbook.
(B). Database
2. A Database is a list items stored in a worksheet. The data management feature can be found on
the data menu. Columns in the list are the fields and rows are the records.
i). Accounting
Spreadsheet comes with inbuilt functions that make accounting task easier .sales can be recorded,
invoices produced and statements compiled by accountants and business people.
40
The excel window
In Excel, a workbook is the user file that holds information. It allows you to organize various kinds of
related information into a single file. Each Workbook consists of several Worksheets.
Formatting
Standard toolbar Formular bar toolbar Title bar
Menu bar
Column
header
ACTIVE CELL
Vertical
Scroll bar
Row
header
Horizontal
scrollbar
Worksheet
Worksheet tab
Status bar Browsers
Worksheets – is a one sheet in workbook. The worksheet is a grid made up of rows and columns
containing information.
Column
Columns are vertical divisions of worksheet that are identified by letters across the top edge. Columns
represent a field in spreadsheet table. There are 256 columns in a worksheet, which are labeled A, B,
C …Z, then AA, AB through to IV. For example the first column is A, the 27 th column is AA and the
256th column is IV (ascertain practically on screen).
Row
41
Rows are the horizontal divisions of a worksheet and are identified by numbers on the left edge of the
worksheet. There are 65,536 rows in a worksheet which are numbered 1,2,3, through to 65,536. A
row represents a record in a spreadsheet table.
Cell
Cells are boxes created by intersection of Row and a Column, which contain the Worksheet’s data
and formulae. There are 16,777,216 (i.e. 256*65,536) cells in one worksheet. The current cell
(highlighted by a thick border) is called the Active Cell, and is the location for typing in the worksheet.
Each cell can contain different type of information. Excel data comes into two types: labels and
values.
Elements of Excel window
Element Description
Title bar The name of the workbook plus the minimize, maximize and close buttons
appears here.
Menu bar Shows available options for working with data in spreadsheet.
Standard toolbar Has shortcut commands for mostly used menu commands
Formatting toolbar It contains common commands for text formatting found on the format
menu.
Formula bar Enables the user to enter or edit a formula or data cell. It has equal sign (or
fx). To the left of the Formula bar is Name box that displays the position of
the cell in which data or formula is being entered, its also called the current
cell. To display Formula bar click View menu then Formula bar.
Column labels The letters across the top of the worksheet, which identify the columns in
the worksheet.
Row numbers The numbers down the side of the rows in the worksheet
Cell pointer A special cursor that is rectangular in shape. It marks the position of the
current cell or the insertion point.
42
2. On the Task Pane, click on Templates: On my computer …
3. In the Templates Window, click either General or Spreadsheet Solutions Tabs.
4. Click on a Template to preview it. Click OK to create a new blank Workbook with the selected
template.
Selecting a Range
When working with a large amount of data using a range saves time. A Range is a rectangular
arrangement of cells specified by the address of its top left and bottom right cells, separated by a
colon (:) e.g. Range A1:C10. A Range can also be a single column or row.
Entering data
1. Point the mouse pointer at the cell and click the left mouse button. The cell pointer moves to the
cell in which you want to enter data.
2. Type in the data using the keyboard.
3. Press Enter.
Numbers
Numbers are constant values consisting of the following characters: 0 1 2 3 4 5 6 7 8 9 , + - ( ) / $ % E
(E is the scientific notation for power of 10). You can enter decimal fraction such as 3 ¼ or 2/3 ; or
scientific notation such as 5.871E+3 (meaning 5.871 x 103). To enter a number
1. Click the cell in which you want to enter the number
2. Type the number into the cell. Precede a negative number with a minus sign (-).
3. Press Enter or Tab key to accept the entry.
4. To enter a fraction, type a number - even if it is zero, then space, and then the fraction ( a
numerator, the slash sign / and a denominator). If you omit the zero, the fraction will be
interpreted as a short date. Examples are 4 1/3, 27 2/7 and 0 3/8 (41/4 , 272/7 and 3/8). Excel
simplifies fractions when you enter them, if you enter 0 4/8, for example, Excel converts the entry
to 1/2 .
NB: a cell filled with # symbol indicates that the column is not wide enough to display the number.
You can change the number format or widen the column to display the number.
Text
Text entries include a combination of alphabets, numbers and symbols up to a maximum of 255
characters in a cell. To type a number as text, for example 0755296328, precede the number with an
apostrophe (‘), for example ‘0755296328.
1. Select the cell in which you want to enter text. Then, type the text into the cell, and press Enter.
43
2. If the current cell is not wide enough and the cell to its right contains data, then the text you enter
will appear to be truncated. To automatically fit the column to its widest text entry, double click the
right boundary of the column.
3. To enter a “Hard Return” in a cell, press Alt + Enter. A Hard Return is a new line contained
within the cell.
Saving a Workbook
To save a worksheet, one has to save the workbook in which it belongs using a unique name, on the
disk. When you save the workbook for the first time, you are prompted to specify the file name and the
location on disk in which to store it.
Use the following steps to save
1. Click the Save button or choose File/Save menu.
2. Specify a file name in the File Name box in the resulting dialog window.
3. Select the drive and folder where you want to save the file and click save
4. If it is an existing workbook, a Save message box prompts you to save the Workbook. Click Yes
to save the changes and close the file; or No to cancel changes and close the file; or Cancel to
return to the Workbook without saving.
Saving Automatically
Excel can save your Workbooks automatically, as you work on them by using the AutoSave feature.
You determine how often to Save and whether the setting is for the active Workbook or all open
Workbooks option.
1. With Excel Open, choose Tools/Options menu.
2. In the Autosave dialog box, check mark the Automatic Save Every check box and in the
Minutes text box enter the time interval for saving.
3. To Save all open Workbooks automatically, select the Save All Open Workbooks option,
otherwise, select the Save Active Workbook only option.
4. If you want to be prompted to save the Workbook, check –mark the Prompt Before Saving box
and click OK.
Closing a worksheet
Once you have finished working with a Workbook, close the file to clear it from memory. You can
close just the active Workbook or All open Workbooks at once.
1. To close just one Workbook, select it from Window menu and click File/Close menu.
Alternatively, click the close button of the Worksheet window.
2. To close all open Workbooks, hold the Shift key and click File / Close All menu.
44
2.5 Cell Data Types
There are four basic types of data used with spreadsheets:
i). labels
ii). Values
iii). Formulae
iv). Functions
i). Label
Any text or alphanumeric characters entered in a cell. Labels provides descriptive information and are
used as row and column headings to describe the contents of a row or column. A label has no
numerical significance in Excel and are aligned to the left of the cell.
ii). Values
Is a data that has numerical significance. Values includes numbers, date and time that you enter in
your worksheet. Values can be acted on by formulas and functions.
iii). Formulae
They are user designed mathematical expressions that create a relationship between cells and return
a value in a chosen cell. They perform simple calculations such as Addition, Subtraction, Multiplication
and division.
Note that a formula begins with equal sign (=) which tells Excel that the information you are about to
place in the cell is a calculation. E.g. To add the contents of two cells such as A1 and B1, and multiply
the results by 2,, the formula to use in cell C1 would be:
=(A1+B1)*2
Creating appropriate formulas requires the an understanding of the rules of precedence.
Entering a formula.
When typing formulas that have Cell References, you can either type out the cell address or click to
select the Cells. The formula also appears in the Formula bar as you type it. The cells that are
referred to in the Formula bar are highlighted with different color borders.
Spreadsheet formulas follow the same rules and logic used in ordinary mathematical formulas, the
only differences are in use of symbols and that in spreadsheet you start with an = sign.
To type a formula:
1. select the cell where you will place the formula
2. Type the equal sign (=) into the cell to begin the formula.
3. Enter the appropriate values, cell references and operators for the formula.
4. To enter a cell address you can either type the address or click on the specific cell or range.
5. When you finish typing the formula, press Enter to calculate the result.
iv). Functions
- Functions are inbuilt predefined formulae that the user can quickly use instead of having to create
a new one each time a calculation is to be done. OR
- Functions are ready-made formulas, built into the Spreadsheet, to perform a series of operations
on a specified range.
For example to determine the average of a series of numbers from A1 to A10, you can enter the
Function =Average(A1:A10).
45
Excel functions can be categorized into:
o Financial o Lookup and reference
o Mathematical; and trigonometric o Text
o Date and time o Logical
o Statistical o Database and information
2.6 Cell referencing
Cell Referencing is the location identity of a cell or range of cells on the worksheet. With cell
References you can refer to the cell containing the data rather than the data it self. This way, even if
the value in the referred cell changes the formula will still hold true.
By default, Ms Excel uses A1 reference style where a cell is identified by its column label followed by
row number e.g. B2, C4, D3, etc. You can also use R1C1 reference style where both the row and the
column are numbered e.g D20 will be R20C4. R1C1 style is useful for computing the row and column
positions in Macros and showing cell references.
Cell referred A B C D
to by B2 1
2 25 =A2*10
3 100
4
Fig. shows relative cell reference in a formula
When you copy the formula that uses a Relative Reference, the pasted formula will refer to a different
cell, but with the same relative position as with the original formula. E.g from the above worksheet,
when you copy the formula in cell B2 to cell B3, the formula changes from =A2 to =A3. in relative
terms, A3 is still one column to the left and one row above Cell B4. See below worksheet.
A B C D
1
2 25 =A2*10
3 100 =A3*10
4
46
identify than =SUM(C10:C20). In this case the FirstQuarterSales represents the range C10:C20 on
the worksheet named Sales.
Names can also be used to represent Formulas or Constants. For example, you can use the name
SalesTax to represent the sales tax amount (such as 16%) applied to sales.
Statement Answers
(a). Click this to reduce the Ms Excel window size to an (A). Name box
icon on the task bar. (B). Save command
(b). Displays the current / active cell address. (C). Save as command
(c). Saves the file without changing its current address (D). Minimize button
and name. (E). The row
(d). Location where you can edit the contents of a cell. (F). Formula bar.
47
2.7 Basic Functions and Formulae
A function consists of three elements:
(a). The = sign, which indicate the starting of a Function.
(b). The Function name, such as Sum, Product which indicates the operation to be performed.
(c). The Arguments, which are the values to be acted upon by the function e.g. numeric, logical
values or text enclosed in parenthesis. A1 Argument can be a value of 14%, a range e.g. A1:A10,
or a name e.g. SalesTax. Multiple Arguments are separated by commas. Some Functions, such
as =Now( ), have no Arguments other Functions have one Argument for example =year (37245).
Most Functions have multiple Arguments for example =Average(F2,F3,G1:G4,H5:H8), separated
by commas.
To enter Functions into the Worksheet type the Function and Arguments in the Formula Bar or click
Insert Function menu then Function or Click Insert button, in the standard toolbar which walks you
through the process of creating a Function.
NB: When working with a huge range of value, you can paste upto a maximums of 7 IF Functions,
then command it to switch to place the condition in the next column. Also you can use Lookup
function for the same to paste more without breaking especially when grading.
(Attempt KCSE 2005 Qs.4)
The cells K3 to K10 of a worksheet contain remarks on students performance such as very
good, good, fair and fail depending on the average mark. Write a formula that can be used to
count all students who have the remark “very good”. (2 marks)
• Countif: Counts the number of cells within a specified range that meets the given condition or
criteria. E.g. If B2:F2 contains Eggs, Beans, Beans, Eggs, Eggs: =Countif(B2:F2, “Beans”) will
return 2.
48
• Sumif: It adds values in the cells specified by a given condition or criteria. E.g. If A10 to E10
contains values 40,20,60,85,50, to sum all values greater than 50 =SumIf(A10:E10, “>50”). This
returns 145.
• ROUND ()
Rounds a number to a specified number of decimal places. Zero rounds off the number to the
nearest integer. E.g. =ROUND(46.678,1) returns 46.7 while =ROUND(D4,2) rounds the value in
cell D4 to two decimal places while =ROUND(49.768,0) return 50.
• Product E.g. =Product(A1:B1). Multiplies the values in the cells.
• Exponentiation (^): E.g. =A1^3
Enters the result of raising the value in cell A1 to power of 3.
• SQTR(D3) – calculates the square root of the cell specified.
• Division (/) e.g. =A1/B1
Divides the value in cell A1 by the value in cell B1
• Subtraction E.g. =B1-B2
Minus (Subtracts) the value in cell B2 from the value in cell B1
49
d). Arithmetic Formulae- using operators
Operator Function
+ (Plus) Adds values as specified
- (minus) Subtracts values as specified
* (multiplication) Multiplies values
/ (Division) Divides values
^ (Exponentiation) Raises a values in a cell to a specified
power.
( ) Parenthesis Encloses arguments to be calculated
first.
Order of execution
Operator Name Precedence
1. - Negation as in -1 1
2. % Percent 2
3. ^ Exponentiation 3
4. * and / Multiplication and division 4
5. + and - Addition and subtraction 5
6. =, <>, >, <, <=, >= Relational 6
50
########## The column is not wide enough to accommodate the value or a negative
date or time is used. Increase the column width or shrink the contents to
fit the column. Avoid using negative time or date.
Moving data
Unlike Copy command where a duplicate is created, the Move
(Cut) command transfers the contents of the original cell(s) to a
new location.
To move (cut) a range of cells:
1. highlight the range you want to move
2. From the Edit menu select Cut or click on Cut button or
press Ctrl + X.
3. Specify the location you want to move the contents to.
4. Click Paste command.
Formatting text
You can format font face, size, color, style and apply
effects using Format/Cell menu then click Font tab.
Format font dialog box appears, which you use.
Text alignment
51
Excel automatically aligns Text to the left and Numbers to the right. You can override this automatic
alignment and specify how you want data aligned within the cell: to the Left, Right, Center, Justified,
or Centered across a Range of cells. By using Format/Cells command and click Alignment tab.
Select one of the alignment options in the horizontal or vertical drop-down list and click OK.
Rotating text
You can also align text so that the letters are stacked,
rotated counter-clockwise between 00 and 900
(reading downwards)., or rotated clockwise between
00 and -900 (reading downwards). To do this:
1. Select the cell or range containing data you want
to rotate.
2. Choose Format/Cells menu, and click Alignment
tab.
3. In the Orientation box, drag the red-tipped pointer
up or down to change the orientation; or, specify
a value between 90 and -90 degrees in the
Degrees box. Click OK.
To do this;
1. Select the cell or range containing data you want to format
2. Choose Format/Cells menu, and click Alignment tab.
3. In the Text Control area, select the Shrink to Fit check box. Then click OK.
Formatting Numbers
The formatting toolbar contains buttons to format numbers. To use these Tolls, select the cells, and
click the desired button.
Increase Decimal
Decrease Decimal
52
Number formatting options
Excel’s Format Cells menu offers a wide range of Number Formats and even allows you to create
Custom Number Formats. To use the Number Format in a worksheet, follow the steps below:
Format Description
General Cells have no specific number format. Displays the value as you enter. It only
displays currency or percentage signs if you enter them yourself.
Number The default number format has two decimal places. Negative numbers are
preceded by a minus sign, may appear in red, or may be enclosed in parentheses.
Currency The default currency format has two decimal places and a dollar sign. Negative
numbers appear with a minus sign or may appear in red and/or parentheses.
Accounting This format is used to align dollar signs and decimal points in a column. The
default accounting format has two decimal places and a dollar sign.
Date The default Date format is Month, Day and Year, separated by slash. There are a
number of Date Formats.
Time The default time format is Hours and minutes separated by a colon. However, you
can opt to display Seconds, and am/pm (12-hour) or a 24-hour clock format.
Percentage The default Percentage format is two decimal places and a % sign. To display in
percentage, the value is multiplied by 100 and the results displayed with a
percentage sign.
Fraction The default Fraction Format is Up-To-One Digit type, but you can change it to Up-
To-Three Digit Format, or to one the common fraction formats.
Scientific e.g. 3.84E+12. The default Scientific format is one digit number with two decimal
places followed by the letter “E” (Exponent or Base 10), the plus or minus sign and
the exponent (power of) value.
Text The Text format is used to display both text and numbers in a cell as text. The cell
is displayed exactly as keyed in.
Special e.g. 000-00-0384 (Social Security Number). This format is especially designed to
display Zip codes, phone numbers and Social Security numbers according to the
country in which they are used. You do not have to enter special characters such
as leading zeros and hyphens.
Custom Use Custom format to create your own number format. You can use any of the
format codes in the Type list and then make changes to those codes. The # symbol
represents a number placeholder, and 0 represents a zero placeholder.
53
Worksheet borders
Placing Borders around cells adds emphasis, define data entry areas, or mark totals and subtotals.
To do this:
1. Select the cell or range where you want to add a
border.
2. Choose Format/Cells menu and click the Border
tab.
3. Select the Border , from style option select width
and line style you want.. Also select the Presets
option.
4. If you want to add a colour to your line or border,
click the Color from the color drop-down arrow
and select a color from the palate.
5. Click OK.
If you want to insert or delete multiple columns, select the same number of columns you want to insert
or delete, and Insert or Delete as explained above.
54
Inserting and deleting rows
Just as with columns, you can also insert blank rows or delete existing rows in the Worksheet.
To insert or delete rows, follow the steps below:
1. Select the Row Header or multiple rows where you want to insert or delete.
2. Choose Insert/Rows menu to insert, or Edit/Delete to delete the selected rows.
Also right clicking the selected Row(s) you can click delete or insert from the Shortcut menu.
Using Autoformat
It allows applying one of the Sixteen sets of formatting to a
selected range on the worksheet. It creates tables that are
easy to read and are attractive to the eye. To apply:
1. Select a range e.g. A1:A10
2. Click Format menu then select the Autoformat
3. Select a format from the autoformat dialog box. Click OK
to apply the format.
Data Management
Sorting: Is arranging data values in a particular order. To sort proceed as follows:
1. Highlight the Range you wish to sort
2. Click Data then Sort to display the dialog box. The sort by field is already reading the field that you
selected i.e. Criteria field.
3. Select the column you want to sort as either Ascending or Descending then click OK.
Filtering Data
You can use filters to display ONLY data that meets certain criteria. Its useful when you have a large
worksheet and you are only interested in a small portion. You can only apply filters to one list on a
worksheet at a time.
To autofilter data follow the steps below:
1. Click a cell in the list you want to filter
2. Select Data / Filter /Autofilter menu.
3. Drop –down arrows appear on each column heading. Click the drop-down arrow in the column that
contains the data you want to filter.
55
6. to apply an additional condition in custom click And or Or option, for example, And
COMP/STUDIES does not equal 70
7. To apply additional sorting on other columns, repeat from step 3.
Example:
To filter the Form 2 student spreadsheet and show only data, where the mark for COMP/STUDIES is
greater than or equal to 65 And does not equal 70 then:
1. Select Data/Filter/Autofilter.
2. Click on the drop=down list arrow of COMP/STUDIES column.
3. Choose (Custom …) to define your conditions. The Custom Autofilter dialog box opens as
illustrated in fig. above.
4. Choose the criteria to use, for example;
After you specify the criteria illustrated above, the results are as shown on the left. Rows which do
not meet the filter conditions are hidden.
Summarizing Data
Subtotal function
In a long list you can use subtotal to automatically outline the information on a Worksheet.
To insert subtotals in a list, follow the steps below:
1. SORT the list by the column for which you want to calculate subtotals. For example, sort the
student marks by CLASS.
2. Click a cell in the list.
56
5. In the Use function box, click the function you want to use to calculate the Subtotals.
6. In the Add subtotal to box, select the check boxes for the columns that contain the values for
which you want Subtotals.
7. Click OK to return to the Worksheet.
On clicking OK, Subtotals will be calculated and displayed as shown below.
Total function:
You can use the Autocalculate feature in Ms Excel to automatically show the total of a selected range.
To find the total of a range, highlight it ten click the Autosum Icon on the standard toolbar.
Forms
This is a specially prepared template that can be used to enter data in a Worksheet. It is specially
formatted to enable users to enter data in a format that is more
convenient to them.
To display a form:
Click Data, then Form. A form sample of Form 2 spreadsheet is
shown on the right.
Input Validation
To ensure that a user does not enter invalid data, set the validation criteria. An error message is
displayed when data that violates this rule is entered.
To set data validation:
1. highlight the range of cells to validate
2. On the Data menu, click Validation.
3. Click the Settings tab and select a validation criterion.
4. To display an input message when cell is selected, click the Input Message tab, type the
message to be displayed and check “show input message when cell is selected”.
5. Set the Error alert then click OK cell.
Importance of charts
- Enable one to present Worksheet data in graphical form.
- It helps the reader to quickly see trends in data and to be able to compare and contrast aspects
of data.
57
Charting Terminologies
Term Description
Gridlines Typically gridlines appear along the y-axis of the Chart and is where your values
are displayed, although they can emanate from the X-axis as well. Gridlines help
you determine a point’s exact value.
Data series The bars, pie wedges, lines, or other elements that represent plotted values in a
chart. Often data series correspond to rows of data in your in your worksheet.
However they can correspond to columns of data if that is how you have arranged
your data.
Categories Categories reflect the number of elements in a series .Categories normally
correspond to the columns in your worksheet, with the Category labels coming
from the column headings.
Axis One side of a Chart. A two-dimensional Chart has an x-axis (horizontal) and a y-
axis (vertical). The x-axis contains the data series and categories in the chart. If
you have more than one category, the x-axis often contains labels that define
what each category represents. The y-axis reflects the values of the bars, lines or
plot points.
Legend Legend defines the separate series of a Chart. For example, the legend for a pie
Chart shows what each piece of the pie represents.
Types of Charts
The Chart type you choose depends on the kind of data you are trying to chart and how you want to
present that data. The various standard types include: Column, Bar, Line, Pie, XY (Scatter), Area,
Doughnut, Radar, Surface, Bubble, Stock, Cylinder, Cone and Pyramid. The following are the major
Chart types and their purposes:
CHART Description
PIE It displays the contribution of each value to a grand total; or shows the
relationship among parts of a whole, so that the reader can assess and
compare items readily.
COLUMN Represents data as a cluster of columns comparing values across
categories. Column chart is suitable for any data type, particularly side-
by-side comparisons of numerous data values. Is used to emphasize
the deference between items.
BAR It is similar to a column chart, but displays bars horizontally rather than
58
vertically. Used to compare values at a given point in time.
LINE Illustrates linear or unbroken changes in a large number of values. Data
is represented as lines with markers at each data value in the x-y plane.
This chart emphasizes trends and the change of values over time.
XY (SCATTER) It is similar to the line Chart. XY (Scatter) plots two groups of numbers
as one series of XY co-ordinates. It is useful as a diagnostic tool when
looking for heavy occurrences or absences of data. It is commonly used
in scientific applications.
AREA It shows how volume changes over time and emphasizes the amount of
change. It is useful for giving a bigger sense of “mass” of a change or
concept.
59
7. Finally, Excel asks whether you want to embed (incorporate within) the Chart (as an object) in the
current Worksheet (or any other existing
Worksheet in the workbook) or if you want to
create a new Worksheet for it. Make your
selection as shown, and click Finish. The
completed Chart appears.
Chart Title
F2 MATHS AND COMP/STUDIES PERFORMANCE
100
80 Legend
Y - Axis title
MARKS
60 MATHS
40 COMP/S
20
0
IS E A IS NE E Y H O CE
H
SO ER RI YC IV DA OK
AR BIT I I
M M HA P
LO JO J A
EUN
A
D K X – axis title
NAMES
The Charts are part of the current Workbook and are automatically saved when you save the
Workbook.
Data Ranges
A data range is a rectangular block of cells that provides the base data that is used to create the
chart. The data has to be absolute.
To see the data range of a chart, right click it then select the Source Data command
Labels
Refers to each data representation on a chart which can either be labeled by a value or text label.
To label:
1. Right click the chart, select Chart Options command from the shortcut menu.
2. Click Labels Tab and choose whether you want Value or Text labels. Click OK.
60
Print preview
This displays how the worksheet will look like when printed.
To Preview a print job, click the print preview button on the Standard toolbar or File/Print Preview.
Printing a Chart
An embedded Chart is printed when you print the Worksheet that contains sit. If you want just the
embedded Chart, click the Chart to select it, and choose File/Print menu. Click Ok to print.
Setting Margins
By default, Excel prints a Worksheet with 1 inch margins at the top and bottom, and ¾ inch margins
on the left and right sides of the worksheet. You can change these margins by using the Page Setup
dialog box. Follow the steps below to do this:
1. With the Worksheet open, choose File/Page Setup and click Margins tab.
2. Specify the margins you want in the Top, Left, Bottom and Right text boxes.
3. To Center the Worksheet on the printed page, under Center on page select Horizontally and /or
Vertically option.
2. Click the drop-down arrow of the Header / Footer list boxes to see the Predefined options and
choose the desired one and click OK.
61
Note: Do not confuse the on-screen display of gridlines in the Worksheet with printed gridlines. Even
if you see gridlines displayed in the Worksheet, you still must select the Gridlines check box in order
to print gridlines.
Print options
1. To print click File then Print command.
Review question
1. Describe two ways to complete an entry into a cell.
2. How does Microsoft Excel determine that an entry is a text or a formula?
3. How do you clear (erase) the contents of as cell?
4. How can you copy a formula?
5. Explain how you can print a worksheet in a landscape orientation.
6. How can you insert rows in a Microsoft Excel worksheet?
7. Differentiate between copying and moving data in a worksheet.
8. What is the autoformat feature?
9. Explain the term filter. How is a filter different from a hide command?
10. Why forms are needed in Microsoft Excel.
11. Give two examples of charts that you know.
12. Why are charts important in a spreadsheet?
13. Explain the concept of subtotals.
14. What is sorting? Explain how you can sort data in ascending order.
15. Give three number formats in Microsoft Excel.
16. What are worksheet borders? Explain how to implement them in the worksheet.
17. What is the difference between printing a range and whole workbook?
18. Explain two ways of changing the font size in Microsoft Excel.
19. What is a legend?
20. Which chart type will be suitable to show trends?
62
3.0 DATABASES
Objectives
By the end of the chapter, you should be able to:
a). Define a database
b). Explain the concepts of database
c). Explain data organization in a database
d). Create a data base
e). Edit a database
f). Design a form
g). Apply basic concepts of queries
h). Create report and labels
i). Print queries, forms and reports
3.1 Introduction
Traditionally people used to manage data and information using physical files indexed on
one type of information usually alphabetically or chronologically. These traditional
databases had a number of disadvantages which included:
i). Unnecessary duplication of data
ii). Boredom and time wasting while searching for a record
iii). Misleading reports due to poor data entry
iv). Poor update of records
Today, as organizations became larger and complex electronic (Computerized) database are
used to manage information, by use of special program called Database Management System
(DBMS).
Data redundancy: is the duplication of data especially in the traditional filling system,
leading to wastage of space and other resources.
Data inconsistency: arises when one piece of information in a record does not concur with
the other piece in a different file.
63
- Computerized Database: creation and manipulation is achieved using DBMS software,
which facilitates creation, organization and maintenance of databases.
- Examples if Database Management System Software (DBMS) include:
o Ms Access o FileMakerPro o Ingress,
o Oracle o Clipper o MySQLetc.
o FoxPro o Microsoft SQL
o DbaseIV Server
o Lotus Approach o BD2
64
b). Database Models
A database model is a specific method for describing the structure and processing within a
database. The main database models are:
o Flat File
This model of database holds only one set of data and is not different from the manual
files. The data is stored sequentially in one large file. No particular relationship can be
drowned between the items other than the sequence in which they were stored. Examples
are Cards used in a Library books catalogue where the cards are arranged sequentially e.g.
alphabetically using books’ titles or by authors names. Also another example is teachers
assessment report consisting of performance card for every student in a class.
Disadvantage of Flat File: locating a record is tedious.
o Hierarchical
Data items are arranged in a hierarchy (tree) form.
Access is through levels e.g. to access level 2 data items, you have to first access level
one data items. It is said to have a Parent-Child relationship and the model represents
One – to - Many relationship.
Level 1 (root component)
Path
Disadvantages:
- It is not possible to insert a new level in the table without altering the structure.
- Does not support Many-to-Many relationship.
o Network
Links are used to express the relationship between different data items. Access is through
multiple paths and from any item.
Disadvantages
Incase of large volumes of data, it is very difficult to locate the item because it will
increase the complexity of the search
Note: All the three above models are rarely used in modern database system.
o Relational
Allows data to be represented in a simple row-column (Tabular) format. Each data field is
considered as a column and each record is considered as a row of a table. Related data
items are stored together in structures called relations or tables.. Links and relationships
between items of data are included during its creation, thus allowing faster and more
efficient retrieval by the user.
63
o Queries and query language
This is a tool used to search for or question a database on specific records. Since a query
is a question posed to the database, it returns a result for the user and this result is called a
dynaset.
The query statements are written using a special language called Structured Query
Language (SQL).
o Report
Is a tool for generating reports from an underlying table / query. It has a report generator
for that provides the user with a means to specify the output layout and what is to be
output or printed on a report.
o Macro
A feature used to automate frequent database operations / tasks.
o Programming module
Is a programming environment embedded in Ms Access used to automate complex
database operations. Unlike Macro, you have control over actions taken.
64
3. In the Save As dialog box that appears specify the name and location where your database
will be stored. Click Create to save the Database.
A screen similar to fig. 3.1 is displayed. It shows
the components (or objects) found in an Access
database.
Microsoft Access screen layout
Ms Access application window has a title bar,
menu bar, toolbars and status bar. However
instead of having a work area it provides the user
with an Object Window from which you choose
the type of an object to work with.
4. In the grid displayed enter a unique name for each field in the table. A field must start with
a letter and can be upto a maximum of 64 characters including letters, numbers, spaces and
punctuation.
5. Choose the correct data type before adding the next field. By default, Ms Access inserts
Text as a data type.
6. Save the table by clicking the Save button on the Standard toolbar or Save command from
the File menu.
7. Access will ask you whether you want to create a Primary Key. Click Yes/No
8. You can provide a brief description of the field and its contents in the Description section.
65
Data type Description
Text It includes alphabetic letters, numbers, spaces, punctuating etc that do
not require any calculating.
Memo Long text which appears only in some records. Cannot be used in
queries.
Number This field is made up of numeric numbers 0-9 that are to be used in
calculations.
Date/time Identify a field as either a Date or time.
Currency Identifies monetary values and numeric data used in calculations.
Yes / No It’s a logical field where an entry is either a Yes or a No
OLE object This data type is used with graphical user interface application for
inserting graphical objects such as an Excel worksheet, pictures, image,
etc. which is linked or embedded to the table.
AutoNumber It’s a unique number used if you want Ms Access to automatically
increment the values in the field.
Hyperlink Text or combinations of text and numbers stored as text and used a
hyperlink address.
Lookup Wizard Allow you to choose a value from another table or list of values created
in the field itself.
Field properties
This allows one to specify finer details related to fields and the table entries.
General Tab
To display the General Tab, the table should be open, then click View and select Design
view or click a button on the toolbar which look like a setsquare, pencil and a ruler. Click on
Genaral Tab which is located in the lower left corner of the Design view Window.
The various properties are:
• Field Size – allows the user to set the number of characters in a field instead of the default
50 for text fields. For numeric fields integer, bytes, single, double or long integer is used.
• Format – used to define how data will be displayed or printed.
• Decimal places – appears in currency and number data types to define the number of
decimal places to display.
• Input mask – automatically format the field entry into a specialized format. Its limited to
text , number, date/Time and currency data types.
• Caption – is a more descriptive field used in form labels and report heading. E.g Adm/No
could be Admission Number.
• Default value – is a value that appears automatically in the data sheet form if nothing is
entered is entered or defined otherwise.
• Validation rule – is a logical expression used to ensure that data entered is within the
required specifications. For examples if a numerical value should always be greater than
zero, then type >0; or if you want to restrict marks entered in a filed to value between zero
and a hundred, type >=0 and <=100.
• Validation Text – this is a message that appears once the validation rule is violated. For
example for the above validation rules you may create a validation text to display “You
MUST enter a value greater than 0; “Enter a number between 1 and 100” whenever the
user enters a value outside this range.
• Allow zero length – allows the user to proceed without making any entry in the field set
as zero length and it limited to Text ands Memo fields.
66
• Required – determines if any entry must be made in the field before you proceed to the
next record or field.
• Indexed – facilitates the organization of records for easy search. A primary key is an
example of an index set to No duplicates to control double entry (redundancy).
To reorder fields
Select the column of the field you want to move by pointing to the desired field name.
Drag the column upwards to the left to the top of the field where you want the field to appear
then drop.
67
2. Select the field(s) to be modified and make the necessary changes.
3. Click the Save button to save the changes.
68
1. Open the Database for which the form is created.
2. From the Database window, select Form tab then click New. From the New Form dialog
box that appears, click Form Wizard.
3. Choose the table or Query that contains the data that your new form will reference and
click OK
4. From the fields list window, select the fields to add into the form by clicking the > button
or click >> to add all fields then Click Next. See fig. 3.6
5. From the layout dialog box, select the layout
you wish to use then click Next.
6. In the form title dialog box, type the name of
the form then click Finish.
Fig.3.7
Creating a form using Autoform wizard
This wizard creates a form for you automatically by asking you very minimal questions and
includes all the fields from selected table.
1. Make sure your database is open
2. Click the Form tab, then New.
3. In the new from dialog box, select an autofrom layout e.g. Columnar, Tabular
4. In the “Choose the table or query where the object data comes” select OK. The form with
all the fields will be displayed.
5. Click the save button to save form.
Adding controls to a form
1. Display the form that you would like to edit in Design View.
2. Select the Toolbox option from the View menu. Click the button for the control you want
to add.
3. In the Form window, click and drag the pointer to draw a box in the location for your new
control. Release the mouse button. The Fig. 3.8 shows a form in Design View with
controls
69
NB: Use Labels Aa to type form header or information that does not need calculation. And
text box ab to type formulas (i.e calculations). Command buttons are mostly used in Forms.
Drag it on the grid. In the command button wizard that appears, it lets you to specify by
selection the action you want to happen when the button is pressed.
Removing controls
Use the following steps to remove a control:
1. Open the form to edit in Design View and display the toolbox.
2. Select the control you would like to remove and press the Delete key.
NB: Access dies not prompt you to verify the removal of some controls, be careful when
removing controls.
Formatting controls
The formatting toolbar has options that can be used to create professional forms.
To format a control follow the steps below:
1. Display the form in Design View.
2. Select the control you would like to format.
3. Click on the formatting button you require, for example to, if you want the field to
appear in Bold, click the Bold button on the Formatting toolbar.
Form layout
All forms must have a Detail section. This may include Page Header, Page Footer, Form
Header and Form Footer sections.
Form Header Displays information that remains the same for every record, such as a title
for the Form. A form Header appears at the top the section in Form View
and at the top of the first page when printed.
Page Header Displays information, such as a title or column headings, at the top of every
printed page. Page headers appear only on printed forms.
Page Footer Displays information, such as the date or page number at the bottom of
every printed page. Page footers appear only on printed forms.
Form Footer Displays information that remains the same for every record, such as
command buttons or instructions for using the form. A form footer appears
at the bottom of the screen in Form View or after the last detail section on
the last page when printed.
Creating Subforms
Subforms are used to display data from several tables that have a one - to – many
relationship.
70
Data Manipulation in a form
The form has navigation buttons located at the bottom which the user uses to navigate the
form as shown bellow.
1 2 3 4 5
Using queries
A query is a tool used to search for or question a database on specific records and perform
calculations on fields from one or multiple tables. Queries are the fastest way to search for
information in a database.
Types of queries
They are two namely: action query and Select query
a) Action Query: Used to make changes to many records once. The four types of action
queries are:
• Update – updates data in a table
• Append query – adds data in a table from one or more tables.
• Make table query – creates a new table from a dynaset.
• Delete query – deletes specified records from one or more tables.
b) Select query
Most commonly used. It is used for searching and analyzing data in one or more
tables based on user defined criteria. It lets the user specify the search criteria.
71
Creating a select query
1. From Database window, click on the Queries object.
2. Click on Design View button.
3. In the Show Table dialog box that open select the Tables tab that you would like to
include in the new query, click Add.
4. When you have completed adding tables to the query, click Close.
5. The query design grid opens, select the fields you want to display from the tables.
6. In the criteria box of the field you want to use, specify the criterion that you want to filter
the data.
7. click on the Run button to execute the query
8. The query will return the records that meet your criteria in the datasheet View. Save the
query.
Parts of a query
Field row: Fields from a table(s) to be use are arranged in this row and each field should
occupy its column.
Sort row: Used to specify the sort order i.e. ascending or descending or no sort by clicking
the down arrow.
Show row: You specify whether to display the field in the query by clicking. When the box is
not checked, the field will not be displayed.
Criteria row: you type conditional statement here that will be used by query to display
specific records.
Or row: Used to specify an alternative condition e.g. if you want to display records with a
field called City with items Nairobi or Embu, type Nairobi in the Criteria cell and Embu in
the Or cell.
Specifying the search criteria
To search for a particular set of records, enter a conditional statement in the criteria row using
either relational or logical operators.
Relational operators include:
< - Less than
> - Greater than
>= - Greater than or equal to
<= - Less than or equal to
<> - Not equal to
72
* Matches any number of characters. It can be used as the first or last
character in the character string e.g Wh* finds what, when, while,
why
? Matches any single alphabetic character E.g. B? finds ball, boy,
bell, bull
[] Matches any single character within the brackets e.g. T[eo]ll finds
tell, toll but tall
! Matches any character not in the brackets E.g. b[!ae]ll finds bill
and bull but not bell or ball
# Matches any single numeric character E.g: 1#3 finds 103, 113, 123,
133, 143
Note: when using wildcard characters to search for an asterisk (*), question mark (?),
number sigh (#), opening bracket ( [ ), you must enclose the item you’re searching for in
brackets.
73
Performing Calculations in a Query
Queries let the user perform mathematical calculations on numeric data unlike tables, by
using Total functions or by creating basic formulas.
Printing query
1. Open the database window of the Database containing the query you want to print.
2. Click query tab, then the query you want to print.
3. From the File menu, click Print. Set the printing options then click OK button.
Creating a select query from multiple tables
When you create a query using fields from more than one table, the tables should be linked.
To create a query based on related tables follow the steps below:
1. Start the database Window and click the Queries tab,
2. Select Design View and click ok
3. From the Show Table dialog box, click the tables you want to base your query on and
then click Add.
4. Relationship between various tables will be displayed. Add the fields from both tables
into the QBE grid.
5. Save and Run the query.
Types of relationships
They are three:
1. One – to – One
2. One - to – Many / Many –to - One
3. Many – to – Many
74
• One – to – One: for a particular field in one table(parent table), there is only one
matching record in the related table and vice versa.
• One – to – many: for a particular field in one table there is are several matching
records in another table.
• Many – to – many : for a particular records in one table there are several matching
records in other table and voce versa.
75
Creating a Report
1. From the Database window, select Reports and then click New.
2. From the New Report dialog box, click Report Wizard then OK.
3. Select a table or Query then the fields to be added to the report then click Next.
4. The wizard asks you whether you wish to add any group. Grouping is used to categories
records using a particular field for better presentation or if you need to perform
calculations on a group of common items e.g. salary paid, Amount, etc. Click Next.
5. In the dialog box that appears, select the Sort option if you want to sort the records. You
can also click the summary options button in case you want Ms Access to perform some
calculations on numerical fields. (you should have added a group in step 4 above). In
Summary Options dialog box, select the summary options you want performed e.g SUM,
AVERAGE, MAXIMUM and MINIMUM. Click OK to close the summary options
dialog box.
6. From Layout dialog box, select the type of layout such as Stepped, Block, Outline1,
Outline 2, Align Left1, Align Left 2). Select Page orientation either Portrait or Landscape.
Click Next.
7. In the Style dialog box, specify the report style such as Bold, Casual, Compact,
Corporate, Formal or Soft Gray. Click Next.
8. Finally enter the name of your report then click Finish. The report will be displayed on the
screen in Print Preview mode. Form Print Preview mode you can print and Switch to
Design view to edit or close the report.
Parts of a Report
Report Header: Contains un bound controls that displays title of the report
Page Header Contains headings or labels of data items to be displayed in every column
76
Detail section Displays data items or records from an underlying table or query
Page Footer Holds a control that is to be displayed on every page such as the page
number and date. For example =Now() displays the current date and time
as set in the system clock.
Report footer Display summary from a report such as the grand total for numerical data
in a particular field column. For example to get the Grand Total of Salary
Paid or Amount; in the Report Footer use Textbox control and type the
following in the formula.
=Sum [Salary Paid]) it will give you the sum of all records in that field
name.
Modifying a report
To modify headers and footers
1. Open the report in design view
2. Click the report header or footer you want to modify
3. Make the necessary changes and then click Save button.
4. Click the print preview button to view the changes.
77
Modifying Labels
1. Change to design view. The label design grid is displayed. Edit the layout as desired
like changing font type, size and color, applying fill, alignment etc.
2. To view the modified label, click the Preview button from the database window.
Revision questions
1. What is the importance of a report generated from a database?
2. What is the difference between a report and a label?
3. Explain how you would create a report that displays subtotals and grand totals.
4. Dr. Garaya is a pharmacist. She wants to generate labels that she can use to stick to
medicine bottles. Explain to her how she can generate labels of different sizes using
Microsoft Access database.
5. What Microsoft Access objects would you use to automate your database?
6. Assuming you have been appointed as the sales representative of an Insurance Company.
Explain how you would create annual reports that would include the company logo at the
top of every page.
78
4.0 DESKTOP PUBLISHING (DTP)
Objectives
By the end of the chapter, be able to;
a). Define Desktop publishing
b). State the purpose of Desktop publishing
c). Identify types of Desktop publishing
d). Design a publication
e). Format a publication
f). Print a publication
4.1 Definition
Publishing is a way in which information and experiences are shared by individuals, groups or
broadcast to a wide audience.
Publishing can also be defined as the process of producing publications like newspapers, cards,
pamphlets, pictures, calendars, etc that have special text and graphical layouts and designs.
Some examples of publishing media are:
• Printed material like books, magazines
• Radio, tape and digital music
• Television , satellite TV, Cable TV, teletext
• Cinema and video
• Telephones, mobile phones, and pagers
• Computers, laptops, palmtops, and handheld devices
• The internet and other networked information systems
Compared to a Word Processor, DTP software gives the user more tools and control of the page
layout, text manipulation and graphic design than a Word Processor.
Page layout
Involves placement and arrangement of text and graphics on the page to produce documents
such as newsletters, brochures, books, etc. Also the user can design a page layout by setting
consistent picture and objects locations dividing page in a number of columns and creating
layer.
79
Printing
The main purpose of desktop publisher is to produce publications, therefore it helps the user
prepare what is refereed an artwork in commercial circles for printing.
Types of publications
- Flyers and posters
- Newspapers
- Newsletters
- Business cards
- Announcements and invitation cards
- Certificates
- Books
- Magazines, pamphlets and journals
- Calendars
- Brochures
A brochure is a small booklet used for advertisement. They are displayed in racks, on coffee tables
of waiting rooms, at product shows, and through direct mailings. Brochures are the most frequently
used advertising media, and are used to give information on specific product, event, service or
organization. Dated information and employee names are usually not printed in brochures in order
to extend its life span.
80
4.5 Designing a publication using Microsoft publisher
4.5.1 STARTING PUBLISHER 2003
1) On the Start menu, point to All Programs, Microsoft Office and then click Microsoft Office
Publisher 2003. New Publication task pane appears.
2) In the New Publication task pane, choose a design template or click New to design from
scratch
3) On the File menu, click Page Setup, select publication type and orientation.
4) On the Arrange menu, click Layout Guides, set margins and other properties.
5) Click the OK button.
NB: For examination purposes, strictly use Blank Print Publication to design your publication
and NOT templates.
To design your publication competently marry skills from Ms Word because this DTP package is an
advancement of some features from Microsoft Word.
Just like MS Word screen layout the Ms Publisher has menu bar, standard and formatting toolbar. In
addition it has Object toolbar.
81
Microsoft Publisher window
Standard toolbar
Formatting
toolbar
Title bar
Menu bar
Horizontal ruler
Vertical ruler
A few things are highlighted below whose approach is different from Ms Word and Adobe PageMaker:
82
About layout guides and ruler guides
Layout guides comprise margin, column, row, and baseline guides. They are used to create a
grid on a master page. This grid appears on every page in your publication where that master
page is used. Use layout guides to organize text, pictures, and other objects into columns and
rows so that your publication will have an ordered, consistent look. Set layout guides in the
Layout Guides dialog box (Arrange menu).
Margin guides (margin guides: Guides on the top, bottom, left, and right sides of a page that
are used to define its margins. Most contents of a page are within the margin guides.), column
guides (column guides: Vertical guides that are used to divide a publication page into two or
more columns.), and row guides (row guides: Horizontal guides that are used to divide a page
into two or more sections to help structure the layout of the page.) are represented by blue
dotted lines; baseline guides (baseline guides: Guides to which lines of text can be aligned to
provide a uniform appearance between columns of text.) are represented by gold dotted
guides; and ruler guides are represented by green dotted lines.
Ruler guides
Are used to mark precise positioning of objects – a very important aspect of publishing.
83
4.5.5 Master pages
A master page is a publication page that contains the design and layout elements that you want to
repeat on multiple pages in your publication. One advantage of using master pages for the common
elements is that it gives your publication a more consistent appearance.
Note Only 40 characters will display in the Edit Master Pages task pane.
o If you want your new master page to be a two-page spread, select Two-page
master.
Note This option is not available if you are working on a Web publication.
4. Click OK.
84
Edit a master page
Every publication has one master page by default and must always have at least one master
page. As long as you have more than one master page, you can delete any master page you
want. If you delete a master page that is used by any publication pages, Publisher will apply
in its place the first master page listed in the Edit Master Pages task pane.
Margin Guides
To set margin guides click the Margin Guides tab then
specify Left, Right, Top and Bottom margins as well as
Spacing between the columns. Click OK.
85
Columns guides
To set column guides click the Grid Guides tab. Under Column Guides box, specify the number of
columns and spacing between them. If necessary Under Guides specify the number of columns and
spacing. Row guides are important if you were to design a publication and paste several copies e.g 4
or 6 instead of using ruler guides to partition. See figures below
Text hyphenation
What is Hyphen?
dash showing word break: a punctuation mark (-) used at the end of a line when a word must be divided or to
link the parts of a compound word or phrase
You may want to control where hyphens occur in a word, especially if the word is long.
1. Select the word that contains the hyphen you want to change.
86
2. On the Tools menu, point to Language, and then click Hyphenation.
3. Clear the Automatically hyphenate this story box.
4. Click Manual.
5. In the Hyphenate at: box, do one of the following:
o To add a hyphen, click where you want to place the hyphen, and then click
Yes.
o To remove a hyphen, select the hyphen, and then click No.
• For a word that is always hyphenated and can be separated onto two lines, such as
"two-thirds," press hyphen (-).
• For a word that is always hyphenated and can't be separated on two lines, such as
"Lydia Brown-Smith," press CTRL+SHIFT+hyphen (-).
• For a word that can be hyphenated, but only when it's necessary to split the word onto
two lines, press CTRL+hyphen (-).
87
2). Position the pointer tool on the object and hold down the left mouse button.
3). Drag the text object to a new position.
(overflow: Text that does not fit within a text box. The text is hidden until it can be flowed
into a new text box, or until the text box it overflows is resized to include it.),
88
If you type or import more text than the text box can hold, Publisher stores the extra text in
overflow, where you can't see it. Here are some ways to make the text fit into the text box.
You can leave the spelling of the word as it is, change it, or add the word to the
dictionary so that Publisher ignores it when you use the Spelling feature again. You
can ignore or delete repeated words.
4. To check the spelling in every text box, table frame, and AutoShape in the current
publication, select the Check all stories check box.
5. To stop the spelling checker before it has finished, click Close.
Note Publisher can check for misspelled or repeated words in text boxes, table frames, and
AutoShapes, but cannot check Mail Merge fields or WordArt. For form controls, Publisher
can check text in option button and check box labels but cannot check the default text (default
89
text: Sample text for Web page visitors. This text will appear in the Web form control,
assisting visitors in entering information.) for command buttons, text boxes, or list boxes.
90
4.10 Text formatting
To format text just like the other packages it must be selected. On the formatting toolbar choose font
style, size and other attributes.
Tip
The default value for space before or after paragraphs is displayed in points. You can
specify other measurement units by typing the abbreviation for them after the
numerical value: inches (in), centimeters (cm), picas (pi), points (pt), or pixels (px).
When you specify a unit other than points, Publisher converts the measurement to
points.
Tip
The default value for space between lines is displayed in spaces (sp). If you type a whole
number, Publisher interprets it as a number of spaces. You can specify other measurement
units by typing the abbreviation for them after the numerical value: inches (in), centimeters
(cm), picas (pi), points (pt), or pixels (px). When you specify a unit other than spaces,
Publisher converts the measurement to points.
Paragraph Indent
91
Create or modify a paragraph indent
Tip
The default measurement units for indents are displayed in inches. You can specify other
measurement units by typing the abbreviation for them after the numerical value: inches (in),
centimeters (cm), picas (pi), points (pt), or pixels (px). When you specify a unit other than
inches, Microsoft Publisher converts the measurement to its equivalent in inches.
Removing an indent
92
4.10.3 Superscript and subscript
To format text to superscript or subscript:
Highlight the text then from the Format menu>Font mark the Superscript or Subscript and click OK.
93
Adjust tracking
To change the spacing between all text characters, you need to adjust tracking. Tracking is
available only if you are working on a print publication.
Adjust kerning
To change the spacing between two specific text characters, you need to adjust kerning.
Scaling is shrinking or stretching the width of a text characters to take the size you want and
is only available only if you are working on a print publication.
You can view an example in the Sample box at the bottom of the dialog box.
94
Add borders, fills, and effects to a table
You can add patterned borders and border art or transparent, gradient, texture, or pattern fill
effects to tables only if you are working on a print publication. If you are working on a Web
publication, you can apply solid borders and solid fills.
95
Add, change, or remove a line border
• Under Line, select the options you want, and then click OK.
• To add fills or fill effects to cells, rows, or columns, click the arrow next to the Color
box and then select the options you want.
• Under Fill, move the Transparency slider to get the percentage of transparency you
want
For example, to change the margins in a cell, click the Cell Properties tab, and then
select the options you want under Text Box Margins.
96
4.13 Wrapping text around a picture
Rotating Objects
Select the object then hold down Ctrl key and rotate the green handle clockwise or anticlockwise.
NB: When you select the object, hold down the control key and drag the green rotation handle, it
creates a copy.
If the object is hidden, select any object, and then press TAB or SHIFT+TAB until the
object you want is selected.
97
On the Arrange menu, point to Order, and then click Bring to Front.
98
It is crucial if you have several objects in a publication to be grouped together. To group use either of
the two approaches;
1). Hold down shift as you click each object
2). From Arrange menu select Group or press Shift + Ctrl + G in the keyboard.
Or
Revision questions
1. Define the term artwork.
99
2. What is publishing? Howe is desktop publishing a unique form of publishing?
3. List any four application window layout components found in a typical desktop publisher.
4. Explain the function of each of the following tools:
a). pointer tool
b). rectangle
c). text tool
d). rotate tool
5. Why are master pages important in a publication.
6. Differentiate between margins and columns guides.
7. How can you caliberate rulers to measure in millimeters?
8. Explain how you can draw a triangle of height 5cm and base 6 cm.
9. Why do you need to lock margins or objects in a publication.
10. Explain the following:
a). font type style
b). line stroke
11. How can you import a graphic into the publication
12. To change the page orientation to wide, click _______________ then __________________
and select _________ from the _______________________ dialog box.
13. To fill a polygon, click ______________ then select ________________ and ____________
from the dialog box.
14. Rotating means changing the __________ of an object.
15. The _________ tool is used to change the zoom settings of the application window.
16. _______ means cutting off the unwanted edges of a graphic object.
17. The small black objects that appear around a selected graphic are called ________________.
18. Expert tracking means _____________ while Kerning means __________________.
19. How can you change the boldface and font size of selected text at once?
100
5.0 INTERNET AND E-MAIL
Objectives
By the end of the chapter, be able to:
a). Define internet
b). Explain the development of internet
c). Explain the importance of internet
d). Describe internet connectivity
e). Identify internet services
f). Access internet
g). Use e-mail facilities
h). State the moral, social and spiritual issues that may emerge through access to the internet
101
- news and information dissemination
- Communication services: It attains three forms as follows; like E-mail, Chat (real-time one-to-
one or group conversation, with discussions in typed form), Conferencing (dynamic exchange
of all kinds of information where each participant contribute responses to any items in the
conversations. The participants are at different geographical locations.
- Education like Virtual learning whereby students log on to the Internet to attend classes.
- Software downloading: there is a large variety of software on the Internet that users can
download and use i.e Public domain (free) software.
- E-commerce like online shopping, online Banking, online travel, arrangements.
e). Satellite transmission – is used for intercontinental transfer of data by having satellite base
stations transmitting the data through a wireless uplink channel to the satellite. The satellite then
sends the data signal to the base station on another continent where it is picked up and sent to
telephone exchanges for transfer to the destination computer.
f). Internet Service Providers (ISP’s)
ISP’s are companies that offers Internet services to end users through dial-up connections as
well as broadband services at a fee. There are several ISP services from which a user specifies
the one he/she needs. These include:
i). Limited access – this offer is for those who doesn’t need the service all the time. the user
sub-scribes for only the number of hours he/she needs the service per day.
ii). Unlimited Access - this is meant for those users who need to be connected to the Internet all
the time (24 hours).
102
Examples of ISP’s in Kenya and Africa:
o Africa Online
o Nairobinet
o Wananchi Online
o KenyaWeb
o Formnet
o Telkom
o Access Kenya®
o Swiftglobal®
o Bidii.com
o Interconnect
o Todays Online
Internet protocol
To achieve communication between computers and telecommunication devices that have
different hardware and software configuration a special software called Protocol is needed. A
protocol is a set of rules that governs how two computers can send and receive data on the
network.
There two types of protocols used with Internet:
i. Transmission control protocol (TCP)
It governs how data is transferred from one computer to the next.
ii. Internet Protocol (IP)
It determines the addressing system on the Internet.
Browsers
✓ Is a special program that lets the user surf or browse the internet
✓ A web browser can also be defined as a program used for displaying and viewing pages on
the World Wide Web. The most common Web Browser are:
• Netscape Navigator
• Internet Explorer
• Mozilla browser
Before accessing the Internet, a person must start the Browser software.
E-mail software
E-Mail software is a communication software specifically designed and developed to help a person to
compose, send and receive (read) text documents on the internet. Both the sender and the receiver
MUST have an e-mail address. Examples of e-mail software:
Microsoft Outlook Express, Eudora, Yahoo mail, GMail, etc.
103
Advantages of E-commerce
- Company can access customers all over the world and is not limited by space and time.
- It has allowed companies to create lo0w cost distribution channel
- It has created opportunity to new companies to enter previously impenetrable markets.
- Small companies have established websites to auction / advertise their goods reducing
operation costs and increasing sales.
d). World wide web
- WWW is a vast virtual space on the Internet where information pages called websites are installed;
or
- WWW is a vast virtual space on the Internet where information is made available; or
- WWW is a wide area hypermedia information retrieval initiative that aims to give universal access
to a large universe of documents.
The World Wide Web is driven by two fundamental technologies: HTTP and HTML. HTTP is the
Hypertext Transfer Protocol that controls how Web servers and Web browsers communicate with
each other. HTML is the Hypertext Markup Language that defines the structure and contents of a Web
page.
In order to connect a network to the internet, the local area network needs an Internet Server. This
server is given the name World Wide Web (WWW) and has all the information that others on the
internet access. This information is made available on:
Web pages
A web page is a single screen of information, which may contain text, images, animation, sound and
video. You view a web page via the web Browser software.
A website
Is a collection of web pages, or other resources located on a web server. The first page on a website
is called a home page.
Individuals and organizations establish Websites where their web documents can be placed for easy
access by external world. These sites are a special address called Uniform Resource Allocation
(URL) is used to access them.
Web portals – offer specialized services such as searching, e-mail, sports updates, financial, news
and links to selected websites.
A blog – a website that contains personal information which can easily be updated.
Multimedia sites contain photos, movies, music, web TV and internet radio. They are meant for
entertainment.
Examples of WWW Client programs are:
(i). Internet Explorer
(ii). Netscape
(iii). Mosaic
(iv). Lynx
(v). Charlotte
Links
To get from one Web page to another within a website, or another Web sites altogether, you have to
find Hypertext or Hypermedia on the Page you are viewing.
Hypertext - a system of storing images, text, and other computer files that allows direct links to
related text, images, sound, and other data
Hypermedia – (multi-media hypertext system): a hypertext system that supports the linking of
graphics, audio and video elements, and text. The World Wide Web has many aspects of a complete
hypermedia system.
104
These are organized groups of Internet users who wish to share ideas and interests. Once you
join a newsgroup, you can participate in discussion forums and debates.
h). News media on the net
All major media houses post their daily news on the Internet for clientele to access.
i). Health information
Through Internet we can get latest medical news and research findings for practitioners and
scholars.
j). Music and entertainment on the net
You can listen to music on the web and watch video clips if the computer is multimedia.
k). Chatting on the net
People can sign into a chat room and exchange ideas freely through discussions.
Try accessing www.try.com to see listings of chat topics you can participate in on-line.
(l) Searching :Search engines
Can be defined as:
o Special programs that help the user easily search for information on the internet.
o Special programs that maintain lists of hyperlinks available; or
o It is a program that searches documents for specified keywords and returns a list of the
documents where the keywords were found; or
o Are special programs that allows the user to type keywords that are run against a database.
Common search engines include:
Google (http:// www.google.com )
Hotmail (http:// www.hotmail.com)
Yahoo (http:// www.yahoo.com)
Alta Vista (http:// www.altavista.com)
Excite (http:// www.excite.com/search)
hotBot (http:// hotbot.lycos.com )
Multi-threaded search engines are search engines that allow the user to search multiple
databases simultaneously via a single interface.
a) Log-in / Sign – in
Before you can have access to any mail box, the process of authentication must be done. This is
done by providing the correct user name and password for that account.
Logging-in/signing-in: is the process of authenticating yourself to the computer so as to be
allowed to check the contents (mails) in a mail box.
You will only be allowed entry after provision of the correct username and password. This is
normally for ensuring that there is enough security in storing mails in the internet.
To access the Website, type the full address of the website in the address bar then press enter
key or go icon. Some websites allow free access to all their pages by visitors while others require
people to be members hence a new visitor has to register (sign up).
b) Browsing / surfing
Browsing / surfing is the process of accessing Internet resources like web pages and websites,
using URL address or Hyperlinks.
c) Hyperlinks URLs and Search engine
Hyperlink are used to navigate from one web page to another. Cal also be explained as a text
or picture on an electronic document, especially web page that causes web pages to open when
the link is clicked.
Uniform Resource Locators (URLs) – is the Internet address of a particular Web page, it
connects the user to a particular website.
105
d) Downloading / saving / printing web content
Success of finding what you want online increases with experience.
Downloading
Is the transmission of data files or applications from the server on the Internet to your local
computer.
Free ware or shareware
Are software available on the web for free downloading. You do not have to pay to use them.
Basic guidelines to note when downloading something:
1) Be careful about Beta (or evaluation) software since these are not fully tested programs and
they could end up damaging your computer.
2) Only download software from trusted sites, so that you do not risk getting viruses.
Downloading procedure
1. Right click the hyperlink to the file
2. On the shortcut menu, click the Save target as command.
3. After some searching the Browser displays the Save As dialog box. Specify the folder or drive
where the file is to be saved then type a unique name for the file in the name box.
4. Click the Save button and the download progress dialog appears on the screen. Unless
otherwise selected, the download will notify the user at the down load process.
5. Open the file in its application to view it.
Printing
To print a file, open it in the application in which it was created then send it to the printer for printing.
You can also print a web page directly from the browser window by clicking File then Print.
E-mail software
E-Mail software falls under special application packages communication software specifically
designed and developed to help a person to compose, send and receive (read) text documents on the
internet. Both the sender and the receiver MUST have an e-mail address.
The e-mails are usually stored in separate folders as described below:
Inbox – all incoming e-mails are stored here.
Outbox – contains e-mails that are waiting to be sent.
Sent – contains the e-mails that have already been sent.
Drafts – contains e-mails that have being worked on, and are not yet ready been sent.
Deleted items – contains e-mails that have been deleted. You can recover a deleted e-mail as long
as you have not emptied this folder.
Spam – contains mails from suspected sites e.g. may contain computer viruses.
An e-mail address directs the computers on the Internet on where to deliver the e-mail messages. A
typical e-mail format is described below:
Format: Username@Internat_address
Example: [email protected]
[email protected]
Each user ID is made up of two components: Username and Internet domain separated by an @ sign.
1) fauzifa – is the User name/ personal identifier and is usually coined by the user during e-mail
account registration.
2) @ is the symbol for ‘at’ which separates the username from the rest of the address.
3) Yahoo.com – is the name of the Host computer in the network i.e. the computer on which the
e-mail account is hosted.
4) The period “.” Is read as dot and is used to separate different parts of the e-mail address.
5) Com identifies the type of institution offering a particular service(s) and is called the domain
name.
6) .ke - is the country indicator.
106
.gov – government
.net – network centre
.edu – educational institutions
.mil – military site
.org – organizations
Most network addresses end with a country code, such as:
.ke – for Kenya
.ug – for Uganda
.tz – for Tanzania
.jp – for Japan
.au – for Australia
.uk – for United Kingdom, etc.
The two letter extension is added after the domain name to show the country where the cite is located
e.g. [email protected]
E-mail facilities
1). Mails
a) Checking mails
In order to check mail the user has to open the e-mail account by providing the correct user
name and password. In e-mail account, click the inbox folder command to view link list of all
received mails.
b) Compose e-mail
Composing implies writing. To compose click the compose command. The command header
element in the new e-mail window are:
To: here, you enter the e-mail address of the recipient.
From: here, your e-mail software will enter your address automatically.
Subject: should contain a few words outlining the nature of your message. It is not mandatory to
enter something here, but it generally helps the recipient to know what is contained in the e-mail.
Cc: stands for Carbon Copy, and is used to copy an e-mail to other recipients. The main
recipient is able to see who the e-mail has been copied to.
BCC: stands for blind Carbon Copy, meaning that a copy of your message is sent to an extra
address, without any indication of that action appearing in the main recipients copy of the
message.
Date: the date and time the message is sent are indicated automatically from e-mail software.
Attachments – the name and location of any file you may be sending along with the e-mail.
107
c) Sending e-mail
To send mail, type the correct e-mail address of the recipient in To: text box, type your letter then
click Send command.
d) Forward e-mail – a received mail can be forwarded to another recipient. After reading click
Forward command and then provide the address of the recipient.
Revision questions
1. Define the term Internet
2. What is the difference between internet and Internet?
3. Explain the concept of web page.
4. Explain the following internet address http:// ww.google.com in reference to the structure of a
URL.
5. What is Internet telephony?
108
6. Describe the history of the Internet.
7. What is the world wide web (www)?
8. What is a browser software?
9. Draw a sketch of a simple browser toolbar and label its shortcut commands or icons.
10. Explain the process of loading a website in your browser.
11. List four e-mail services.
12. What is file download? Explain the procedure.
13. Explain the meaning of the word hyperlink.
14. Give three steps that you would follow to search for information on the web.
15. What would you do if a website refuses to load in the browser with the first attempt?
16. What is a search engine?
17. Explain the meaning of the term Internet Service Provider (ISP)
18. What three things apart from the computer itself are needed to connect to the Internet.
19. Explain the term modem.
20. What is a protocol? Write the following in full: TCP/IP, HTML,
It involves:
- Protection of data and information against access or modification
- Denial of data and information to unauthorized users
- Provision of data and information to authorized users.
Data control is the measure taken to enforce the security of programs and data.
109
6.2 Data security core principles
Also referred to as information security. They are; Confidentiality, Integrity and Availability.
Confidentiality
Sensitive data or information like employees details, business financial ,etc belonging to the
organization or government should not be accessed by or disclosed to unauthorized people.
Integrity
Means that data should not be modified with without owners authority.
Availability
Information must be available on demand.
Viruses
The term virus stands for: Vital Information Resource Under Siege
A virus is a program that will change the operation of the computer without the user’s information.
Viruses attach themselves to computer files called executable files such that any time such
programs are run a copy of the virus is sent out. So it duplicates itself continuously.
Therefore a computer virus can be defined as:
- A self -replicating segment of computer code designed to spread to other computers by
sharing “infected” software.
- A destructive program that attaches itself to other files and installs itself without permission on
the computer when the files are opened for use.
- A program that can pass a malicious code to other non-malicious programs by modifying
them.
- A program or code that replicates itself and infects other programs, boot and partition sectors
or documents inserting itself or attaching itself to the medium.
Note: The main difference between a virus and a worm is that a viruses attaches themselves to
computer executable fifes while a worm attaches it self on non-executable files in the computer.
110
- Change in file size
- Loss or change in the file size
- Loss or change of data
- Disk access seeming excessive for simple tasks
- System crash
- Files and programs disappearing mysteriously
- Disk access seems excessive for simple tasks
Control measures
▪ Use surge protectors and UPS to protect computer systems against brownout or black out which
causes physical damage or data loss.
▪ Install a Fault Tolerant system which has the ability to preserve the integrity electronic data
during hardware or software malfunction.
▪ Disaster recovery plans by establishing offsite storage of an organizations databases so that
incase of disaster or fire accidents, the backed up copies are used to reconstruct lost data.
Unauthorized access
Physical access to computer system should be restricted to ensure that no unauthorized person gets
access to the system.
Form of unauthorized access:
(i). Eaves dropping / wire tapping
This is tapping into communication channels to get information packet sniffers can eavesdrop on
all transmissions and activities on the system
(ii). Surveillance (monitoring)
This involves where a person may keep a profile of all computer activities done by another person
or people. The gathered information is used for other illegal works. Special programs called
cookies are used by many websites to keep track of your activities.
111
(iii). Industrial espionage
Spying on your competitor to get information that you can use to counter or finish the competitor.
(iv). An employee who is not supposed to see sensitive data by mistake or design gets it.
(v). Strangers straying into the computer room when nobody is using the computers.
(vi). Network access in case the computers are networked and connected to the external world.
Control measures
1. Set up a comprehensive error recovery strategy in the organization.
2. Deny access permissions to certain groups of users for certain files and computers.
Physical theft
This involves the theft of computer hardware and software. It involves breaking into an office or firm
and stealing computers, hard disks, data and other valuable computer accessories by being taken
away by either an insider or an intruder. Most cases of theft are done within an organization by
untrustworthy employees of the firm {Inside job} or by an intruders (outsiders) for commercial,
destruction to sensitive information or sabotage resources.
Control measures
- Employ guards to keep watch over data and information centres and backup.
- Burglar proof the computer room.
- Reinforce weak access points
- Create backups in locations away from main computing centre.
- Motivate workers to feel sense of belonging in order to make them proud and trusted custodians of
the company resources.
- Insure the hardware resources with a reputable firm.
Trespass
This is the act of gaining access or entering into a computer system without legal permission.
Cracking
Refers to the use of guess work over and over again, by a person until he/she finally discovers a weak
in the security policies or codes of software. Alternatively refers to someone using his / her knowledge
of information systems to illegally or unethically penetrate computers systems for personal gain.
Hacking
Refers to when an individual intentionally breaks codes and passwords top gain unauthorized access
into a computer system, but without intent of causing damage.
Tapping
112
Tapping is when someone gains access to information that is being transmitted via communication
links. Any information that is transmitted across a network is at risk of being intercepted, if appropriate
security measures are not put in place.
Piracy
Is the act of making illegal copies of copyrighted software, information or data.
To eliminate piracy
- Make software cheap, enough to increase affordability
- Use licenses and certificate to identify originals
- Set installation password to deter illegal installation of software
- Enforce laws that protect the owners of data and information against piracy.
Fraud
Refers to leaking personal or organizational information using a computer with the intention of gaining
money or information.
Example of fraud is where one person created an intelligent program in the tax department that could
credit his account with cents from all the tax payers. He ended up becoming very rich before he was
discovered.
Alteration
Refers to illegal changing of data and information with the aim of gaining or misinforming the
authorized users. When a system is compromised the data lacks reliability, relevance and integrity.
Example of data alteration are when students break into system to alter exam results, or someone
breaks into a banking system to change account details or divert money.
Spam
A spam is unsolicited electronic junk mail, often commercial, message transmitted through the
Internet as a mass mailing to a large number of recipients. Is send by a person gaining access to a
list of e-mail addresses and redirecting the e-mail through the Mail Server of an unsuspecting host,
making the actual sender of the spam difficult to trace. Spam is annoying, but usually harmless,
except in cases where it contains links to web sites. Clicking on these links may sometimes leave your
system open to hackers or crackers.
Audit trail
Computer Audit Trails are used to keep a record of who has accessed a computer system and
what operations he or she has performed during the given period of time. Audit Trails are useful
both for maintaining security and for recovering lost transactions. Audit Trails help to detect
trespassing and alterations. Incase the system is broken into by a hacker; an Audit Trail enables
their activities to be tracked. Any unauthorized alterations can be rolled back to take the system
back the state it was in before the alterations were done
Data encryption
Data encryption is a means of scrambling (or ciphering) data so that it can only be read by the
person holding the encryption ‘Key or ‘algorithm’. The key is a list codes for translating encrypted
data – a password of some sort. Without the key, the cipher cannot be broken and the data
remains secure. Using the Key, the cipher is decrypted and the data remains secure. Using the
Key, the cipher is decrypted and the data is returned to its original value or state. Each time one
encrypts data a key is randomly generated. The same key is used by the data recipient to decrypt
the data.
Data encryption is a useful tool against network snooping (or tapping).
Log files
They are special system files that keep a record (log) of events on the use of the computers and
resources of the information system. The information system administrator can therefore easily
track who accessed the system, when and what they did on the system.
113
Firewalls
A firewall is a program or hardware that filters information coming through the Internet and
connection into your personal computer or network. Firewalls can prevent unauthorized remote
logins, limit or stop Spam, and filter the content that is downloaded from the Internet. Some
Firewalls offer virus protection, but it is worth the investment to install Anti-Virus software on each
computer.
Security monitors
These are programs that monitor and keep a log file or record of computer systems and protect
them from unauthorized access.
Biometric security – is unauthorized control measure that takes the user’s attributes such as
voice, fingerprints and facial recognition.
Authentication policies such as signing users log on accounts, use of smart cards and Personal
Identification Number (PIN).
Regulations and laws in Kenya, United Kingdom and USA that govern data processing and
information security.
114
Hardware and software are protected by either national or international Copyright, designs and
patents laws or Acts.
ICT Legislation – these are laws that govern what information can be kept about an individual
and how that information may be used. Any activity that contravenes these laws is considered
illegal.
In Kenya, the Copyright Act was amended in 1996 to include protection for computer programs
and software copyrights.
1. Data and information should be kept secure against loss or exposure
2. Data and information should not be kept longer than necessary
3. Data and information should be accurate and update.
4. Data should not be transferred to other countries without the owner’s permission.
5. Data and information should be collected, used and kept for specified lawful purposes.
6. To observe copyrights for those who create original works.
Some laws governing privacy and confidentiality have been created, and can be summaries as
follows:
1) No secret databases – no keeping of personal data exclusively secret in government or private
organizations.
2) Right of individual access – an individual must be able to find out what information about
themselves is recorded and how it is used.
3) Right of consent – information obtained for one purpose cannot be used for other purposes
without owner consent.
4) Right to correct – an individual must be able to correct or amend records of his or her
information.
5) Assurance of reliability and proper use – data must be reliable.
Revision questions
1. Differentiate between private and confidential data
2. Why information is called a resource?
3. Explain any three threats to data and information.
4. Give two control measures you would take to avoid unauthorized access to data and information.
5. Explain the meaning of industrial espionage.
115
6. Differentiate between hacking and cracking with reference to computer crimes.
7. What reasons may lead to computer fraud?
8. Explain the term “information security”.
9. Why would data and information on an externally linked network not be said to be secure even
after burglar proofing a room?
10. How can piracy be prevented in regard to data and information?
11. Define a computer virus.
12. Give four rules that must be observed to keep within the law when working with data and
information.
13. Give and explain two types of computer viruses.
14. What is a program patch? Why are patches important?
15. Explain the measures you would take to protect your computers from virus attacks.
16. What is data alteration? Explain its effects on data.
17. How can you control the threat of user errors to data and information?
18. Data and information security has recently become very important. Explain.
19. Explain tapping while dealing with computer crimes.
20. Why do we need copyrights for data and information?
116
Review questions 1.3
1. Selecting a string of text in order to work with it as a whole e.g. a word, sentence or paragraph.
2. Copying – making a duplicate copy of text.
Moving – relocating text from one place in a document to another.
3. To find words that you want replaced by others.
4. A special character e.g. * or ? That is used to represent a set of words that have some similar
characteristics. For example searching for “Wel*” will find all words that start with :Wel” e.g.
Welcome, Welsmith etc..
5. Searching for a word will find the word even when it is part of other words e.g. searching for spell
will also find Spelling and Spellchecker. However, if you search for a whole word, only the whole
independent text will be found.
6. To remove mistakes and improve document wording selections.
7. (a). Spelling and grammar checker.
(b). Thesaurus
8. (a). Standard dictionary
(b). Custom dictionary
9. (a). Title Bar (d). Rulers
(b). Menu bar (e). Toolbars
(c). Editing screen (f). Status bar
117
6. Non-printing (visible) text limiting borders that mark the distance that text starts on a page away
from the edge of the page.
7. To create larger cells in a table without increasing the height or width of existing cells.
8. Arranging text in ascending or descending order.
9. Linking – Object imported can only be edited in the original application from which it was created.
Embedding – Object imported becomes part of the current application and can be edited there.
10. Click it to select it, then drag handles to increase s
11. (a). Import from File.
(b). From Clip gallery
(c). By drawing.
12. (a). View Page layout.
(b). Go through document before printing
(c). Save paper and toner of printer because errors on printouts that may require reprints will be
minimal.
13. Super script – text formatted to be a slight higher in a line.
Subscript – Text formatted to be slightly lower in a line.
14. (a). Select a page size depending on the document page size needed.
(b). To comply with printer capabilities.
15. Highlight the text then click Table > Insert > Table
16. getting ready made objects and text from other applications into the Word processor
17. (i). Moves text cursor one column to the right in the same row.
(ii). Moves the text cursor one column in the left same row.
(iii). Increases cell height
18. Mathematical formula that accomplish calculations in a table.
19. (i). Common letter (main document) that is to be personalized.
(ii). A file of data records of the people that will receive the form letter.
(iii) Combining the data source with the form letter or main document.
20. (a). Merge to fax
(b). Merge to printer
(c). Merge to e-mail
(d). Merge to new document
Revision questions
1. A graphic is a non-text object like a picture, drawing etc.
2. (a). Click it to select then drag
(b). Click it ten click the increase brightness button on picture toolbar.
3. Microsoft clip gallery, scanner, using drawing tool.
4. A graphic image that is predefined in shape but the user draws it by selecting it then dragging its
size on the screen.
5. (a). Select it then choose a different line thickness on the drawing toolbar.
(b). Select it then choose a fill pattern from the fill bucket on toolbar.
(c). Right click the autoshape then select the Enter text command. Type the text then click a blank
area on the screen to apply.
2.0 SPREADSHEETS
Review Questions 2.1
1. A ledger sheet is made up of rows and columns for entering / writing data.
2. a computer software that5 looks like the manual ledger sheet with rows and columns for entering
data that can be manipulated mathematically.
3. (i). (a). Electronic software that looks like the manual ledger sheet with rows and columns for
entering data that can be manipulated mathematically.
(b). Electronic spreadsheet has inbuilt formulae called functions that are nonexistent in
manual worksheet.
(c). Electronic spreadsheet uses the power of the computer to quickly carry out operations.
(d). Superior formatting and editing qualities of electronic spreadsheet make it better than the
manual worksheet.
(ii). (a). Has more memory than calculator
(b). Able to perform more complex and even logical operations but a calculator cannot.
(c). uses large storage capacity of computer that calculator doesn’t have.
118
(d). Large work area that calculator does not have.
4. (a) Worksheet
(b). Database
(c). Graphs
5. (a) Scientific applications
(b). accounting
(c). Forecasting
(d). Data management
(e) Mathematical operations
6. Predicting future trends using the goal seek command.
7. (i). D (ii). A (iii). B (iv). E
8. (a). Double click the shortcut icon on the desktop, OR
(b). Select Microsoft Excel from the programs menu
9. formulae – arithmetic and user developed
Functions – Inbuilt formulae. Some of them are macro functions.
10. =$F$10+$G$20
11. =B1+D2
12. one page in a workbook is called a worksheet
13. (a). Moves cell pointer to that cell.
(b). Moves cell pointer to end of current row.
(c). Moves cell pointer to cell A1
14. (a). Intersection between row and column
(b). Horizontal arrangement of cells
(c). Vertical arrangement of cells
15. click the File > Close command
16. R20C7
17. It is a cell reference that is a name.. To name a range, select it then type a name in the name box
then press enter key to apply the name.
18. A pre-formatted worksheet document used as a master layout for other. To start a template:
(i). Click File > New command
(ii). In the new dialog box click the spreadsheet solutions tab then double click the template that
you wish to start.
19. values, labels, formulae, functions
20. (i). Single referencing – for one cell, e.g. A1
Multiple referencing – for many cells, e.g. A1:B3
(ii). Range – a group of rectangular cells.
Revision Questions
1. (i). select a cell then type at keyboard; OR
(ii). Select a cell then double click the formula bar and type the value in the bar
2. Formulae have equal sign at the beginning while text has either letters or a combination of letters
and numbers
3. Select cell then press delete key on the keyboard.
4. Click the cell that has the formula than click the Edit > Copy command. Click the cell to copy then
click the Edit > Paste command.
5. (a). Click File > Page Setup command,
(b). On the Margins tab of the page setup dialog box, select the page orientation then click OK
button,
Send document to printer
6. click the insert > Rows command
7. Copying – makes duplicate of data.
Move – relocates data from one section of document to another.
8. A feature that applies a pre-formatted format on a selected range of the worksheet
9. a filter hides all the rows that do not have a particular selected value in a column
10. (a). A form helps users to enter values in a table with minimum errors.
(b). It hides the base data of the table hence enhances data security
11. Pie charts, Line Charts, Bar charts, Scatter charts, Column charts.
12. a chart represents sets of data in pictorial form hence makes the data easier to understand and
interpret.
119
13. Subtotals command groups and finds totals of similar data records of similar data records in the
spreadsheet.
14. Sorting is arranging data values in a particular order.
Procedure:
(i) Highlight data range to be sorted
(ii) Click Data – Sort command
(iii) In the sort dialog box, select the order of sort in the key fields than click OK.
15. i). Number ii). Currency iii) Text iv). Scientific v). Fraction iv). Time
16. Are printable borders inserted around cell borders.
a). Select the range then click Format – Cells command.
b). On the Borders tab, select the border styles then click OK to apply.
17. Print range – print a selected range. Print whole document – entire worksheet that has data.
18. Highlight range then select font size from formatting toolbar.
19. Is a key that shows the meaning of different data values in a graph that are usually represented
by different colors.
20. A line chart.
3.0 DATABASE
120
REVIEW QUESTIONS 3.3
1. Form - user interface that helps the user view records and easily make entries unto
a table.
a. Bound controls -Data field in a layout grid that is used display data from the
from the underlying table.
b. Unbound controls -Data field in a form layout grid that is not based
c. On any source data.
2. Columnar form -Displays one record at a time with the fields arranged downwards.
a. Tabular form - Records are displayed across the screen from right to left.
3. Creating a form without using a wizard - refer your handout.
4. To provide an interface that let the user enter and view the data easily.
5. Using the navigation button.
102
Order.
6. Select query - used to search and analyze data in a table while action query is used
to make changes to underlying query.
7. Access gives a warning message and denies the user from entering the next record.
8. Refer to your handout.
REVIEW QUESTIONS
1. Report -used to give a summarized information for the purpose of presentation.
2. A report gives a summarized information for the purpose of presentation while a label
is a sticker placed on an item for the purpose of identification or description.
3. To create a report that displays subtotals and grandtotals, click Summary options
button in the report design grid in the grouping field footer and report footer
respectively.
4. Generating Dr. Garaya labels –refer to your handout notes.
5. Macros and Modules.
6. Drag the logo and drop it in the page header in the report design.
119
10. (b). To format a paragraph, ensure that the paragraph attributes button is pressed.
11. Tracking refers to changing the visual denseness or openness of characters in a line while
kerning is fixing particular pairs of letters that are too close or too far apart from each other.
12. Change case – change text case from upper to lower, sentence, title and toggle case while
drop cap refers to making the first character in a line bigger and drops down to occupy the
space in the next lines.
13. Fill and stroke – a stroke refers to a line style while a fill refers to applying background
pattern such as shading.
Revision questions
1. it is a publication that is ready for printing
2. The design and production of text and graphics layouts in mass.
3. (a). printable area (b). paste board (c).rulers (d). Menu bar
4. a). select text and graphic objects.
b). insert and select text in the application
c). drawing rectangles
d). moves objects around a fixed focal point.
5. helps user set general layout options that apply to all pages in the publication
6. Margins mark text areas on the page along the edges while column guides divide the page into
several fields.
7. right click a ruler then select millimeters
8. Drag ruler guides on the screen to mark a rectangle area of 5cm x 6cm on the screen. Draw a
rectangle in the guides. Select the rectangle and then click Element followed by polygon setting
dialog box, select 3 sides then click OK.
9. to hold them in place in order to avoid losing the format.
10. (a). The size, boldface, italics of font etc.
(b). Thickness of a line
11. click File then Place command. Browse for the file. Double click its icon. The mouse pointer
changes to become a loaded icon. Click anywhere on the pasteboard to place the graphic.
12. file – Document setup – Wide – Document setup.
13. element – Fill and stroke – Fill and colour type – Fill and Stroke dialog box.
14. angular placement
15. magnifier
16. cropping
17. place holders
18. Tracking refers to changing the visual denseness or openness of characters in a line while
kerning is fixing particular pairs of letters that are too close or too far apart from each other.
5.0 INTERNET AND EMAIL
Revision questions
120
1. It is a network of networks that covers nearly the whole world and enables transfer of
messages, data and information across continents.
2. Internet – organizational intranets and extranets.
Internet – an interconnection of internets and other networks and individual computers globally.
3. A hypertext page prepared to display content on the web.
4. Http – hypertext transfer protocol.
www – world wide web
google – name of computer with web content
.com – commercial organization.
5. Transmission of voice data over the Internet.
6. Started with ARPAnet as detailed in the handout.
7. A virtual space on the Internet that allows web pages and sites to be accessed.
8. Software that allows viewing of web content.
9. Refer in the handout.
10. Start the browser software like Internet Explorer. Type the URL address of the web page you
wish to access in the address bar then press the Enter Key to load the website.
11. (a). sending/receiving text
(b). sending / receiving attachments
(c).Sending fax
(d). Keeping address book
(e). Mobile mail to mobile devices
12. Downloading or saving files form remote hosts on the Internet on to your computer.
- Right click the link to the file
- Select the Save target as command
- Select a folder and name for the file in the Save as dialog box then start saving the file.
13. A text or picture that is a link to another webpage on the Internet.
14. Check newsrooms for latest information on the topic then use a search engine to look for links
to the information required.
15. Click the refresh button.
16. A search engine is a special program that collects and stores links to information websites
allowing user to search its database for them.
17. 17 a company that offers Internet Services to end users.
18. Modems, Internet software, Internet service provider, Telecommunication lines, TCP/IP
protocols.
19. Modem – term stands for modulator demodulator.
20. Are special communication rules that govern sending and receiving of message by computers
on a network. Transmission Control Protocol (TCP), Internet Protocol (TP)
121
Confidential data – data held by Government or organization.
2. Because of its importance in transactions, sharerability and high value attachment to it.
3. Unauthorized exposure
Unauthorized access
Destruction by natural calamities
Fraudsters and computer crimestars
4. (i). keep data and information in well secured and restricted places.
(ii). Use passwords and access permission policies to control access to the data
(iii). Use firewall to enforce security policy
(iv). Audit trials to identify threats to data and information.
5. The stealing of data and information for commercial gain and for competitors.
6. Hacking – breaking security codes.
Cracking – looking for weak access points in software in order to get access to data and
information
7. For economic gain, Ego, etc.
8. Is the ensuring of safety of data and information against threats.
9. Access can be through the network
10. Enforce copyright laws and other regulatory frameworks.
11. A virus is a destructive program that installs itself on storage media causing improper
functioning of the computer system.
12. (i). data should not be used for gain unlawfully
(ii). the owner of data and information has a right to know what data is held by the person /
organization having it.
(iii). do not collect irrelevant and overly too much information for the purpose etc, refer to
handout.
13. (i). Trojans (ii). Boot sector viruses (c). Backdoors
14. A software update that when incorporated in the current software make it better
15. Install anti-virus software. Also restrict foreign storage media in thee computer room.
16. Changing stored data without permission. This changes the information inferences from the
data.
17. Defines roles to various categories of users..
18. because information is one of the most valuable business resource for any organization or
Government
19. Listening to a transmission line to gain a copy of the message being transmitted
20. To deter illegal copying.
`
122