ICT Computer Studies F2-
ICT Computer Studies F2-
ICT Computer Studies F2-
Diba
Contents
Introduction
In the past, documents were processed manually and in hardcopies, either handwritten or by a
typewriter. Nowadays, documents can be created using a computer system through application
programs for word processing. In this chapter, you will learn the document; and using the help
facility. The competencies developed will enable you to prepare documents of good concept of
word processing; working with MS Word program and files; editing and formatting a word
document; printing a word quality.
Word processor
A word processor is an application software for manipulating electronic text-based documents. This
software allows a text to move around and to be manipulated in different ways. For example, a
word processing software allows correction of misspelled words throughout the document by
means of a single command of spelling and automatic grammar check. Such commands alert a
user to correct spelling, punctuation, and syntax errors. The document format, layout, and font type
and sizes can be changed repeatedly until a satisfactory appearance is produced. Since all editing,
ideally, occurs on screen, word processing can result in decreased paper usage, simplified editing,
and neat varieties of the same work in good quality formats. When the final draft is ready, the
document can be printed out in multiple copies if necessary, sent as an attachment through e-mail,
shared on a computer network, or simply stored as an electronic file.
Most word processors have powerful sets of programs, which can produce a combination of
images, graphics and text. Moreover, these word processors offer facilities for document
formatting such as font changes, page layout, and paragraph indentations. There are different
examples of word processors such as WordPerfect, WordStar, Microsoft Word (MS word),
Google Docs, Open Office writer, and Write Pro. Microsoft Word, in particular, has different
versions such as MS word 2003, MS Word 2007, MS Word 2010, MS Word 2013, MS Word 2016
and MS Word 2019. However, at this level, you will learn about MS Word 2016.
1
Features of electronic word processors
All electronic word processors have some common features such as:
Creating and editing features;
Formatting features;
Spelling and grammar check features;
Word wrap;
Mail merge; and
What You See Is What You Get (WYSIWYG) features.
Importance of using a word processor
Word processor enables a user to:
Easily correct mistakes in a document;
Store document electronically for future use;
Create good quality documents since it has many formatting features such as borders, text
layout, bullet styles, line and paragraph spacing, indentation shading, bold underline, etc;
Automatically check spelling since it is full of useful tools such as a grammar checker
available to improve the quality of user’s work;
Use a plenty of good quality document templates available online; and
Import data from a data file and use it to create mail merge.
KEYS;
1 = Start button
2 = Shortcut for MS Word
If you are using a start menu, the following activity can help you to load the program.
2
Parts of MS Word window
MS Word window has several parts, including Title bar, Menu Bar, Ruler, Working
area and Status bar. Figure 1.2 shows different parts of MS Word 2016.
4
Figure 1.4: Quick access pop menu
Menu bar
MS Word menu bar has different tabs including File, Home, Insert, Design,
Layout, References, Mailing, Review, and View, as shown in Figure 1.5.
Each tab has a ribbon that displays a list of commands in groups. For example, a ribbon for Home
tab contains command groups such as Clipboard and Font as shown in Figure 1.6.
File tab
File tab appears at the left topmost corner of all tabs. When open, it displays the menu for actions
such as Info, New, Open, Save, Save As, Print, Share, Export, Close, Account, and Options,
as shown in Figure 1.7
5
Figure 1.7: File menu
Home tab
Home tab displays a ribbon with different groups of commands such as Clipboard, Font, Paragraph,
Style, and Editing, as shown in Figure 1.8.
Design tab
Design tab displays a ribbon with Document Formatting and Page Background as shown in
Figure 1.10.
6
Figure 1.10: Design ribbon
Layout tab
Layout tab displays a ribbon with options for page setup, paragraph setup and word arrangement,
as shown in Figure 1.11.
8
Figure Figure 1.18: Vertical and horizontal scroll bars
You can scroll a document window in several ways. For instance, if you need to scroll only a
short vertical distance, click continuously up or down the vertical scroll bar. Likewise, you can
jump to the next page or previous page by clicking the next or previous page arrows. Also, you
can use a mouse to scroll faster up or down by holding and dragging down vertical scroll bars.
Status bar
Status bar appears at the bottom of the screen and provides information such as current page,
current section, total number of pages, total number of words, the language used, current line
number, and current column number. For example, in Figure 1.19, the status bar shows that the
current opened document is on page 11 out of 152 pages and the document contain 24532 words.
Usually, the status bar contains commands that show how the document can be viewed and
zoomed. In MS Word, you can display your document in one of the following views: Read
Mode, Print Layout, or Web Layout.
Read Mode: Read Mode view formats your screen to make reading your document more
comfortable.
Print Layout: The Print Layout view shows how the document will look like when printed.
Web Layout: Web Layout view enables you to view your document, as it would appear in a
browser such as Microsoft Edge, Mozilla Firefox, or Google Chrome.
13
Changing document view
You can change the document view to suit your needs. For example, you can
change word screen view into read mode by following these steps:
(i) Click View tab,
(ii) The icon next to Read Mode is Print Layout with a box around it,
(iii) Click Read Mode. You are now in Read Mode.
(iv) Press escape key on the keyboard to return to print preview mode.
14
Click File tab: Backstage view will appear.
Click New tab: a window which looks like that of Figure 1.20 display different
templates.
Click Blank Document, the blank document will appear.
In most MS Word versions, you can convert an MS Word document into a PDF
file type by following these steps:
Open an existing MS Word document or create a new MS Word document,
Click File tab option at the top-left of the MS Word program window,
Click Save As option in the menu,
On Save As window, click Browse to select a location on your computer
where you want to save the file,
In the Save as type drop-down list, select the PDF option as shown in Figure 1.21.
16
Saving MS Word document in external storage
External storage devices such as flash disks can usually store the file created by a word processor.
Follow the steps in Activity 1.8 to save a document in a flash disk.
Activity1.8: Saving an MS Word document in a flash disk or any other external storage
device
Steps:
(i) Open an existing MS word document or create a new MS word
document,
(ii) Insert the flash disk in the computer as shown in Figure 1.22,
(v) Click Browse: Save As dialog box will open as in Figure 1.24.
17
Figure 1.24: Save As dialog box
Type the name of the file, example “ICS Book TWO February 25 2021”
in the File Name (See Figure 1.24),
Scroll on the left-hand side of the menu to find the flash disk or removable disk,
Click on the Flash disk or on Removable Disk: the flash disk or removable disk will open
as in Figure 1.25.
Click Save.
17
Opening an existing MS Word document Opening a document stored in a computer
When a document is saved in a computer, it can be opened at any time when it is needed as MS
Word program allows a user to open an existing document. To open an already saved document, do
the following:
i. Click File tab,
ii. Click Open: the open dialog box will appear, giving you the option to
iii. choose the file from the location where it is stored.
iv. Choose the file,
v. Click Open: The file will be opened.
vi. Alternatively, you can use the shortcut for opening (Ctrl + O); this will display the open
dialog box as shown in Figure 1.26. You can also open an existing document by
double clicking the file.
or
NOTE: If the document you want to open is in the Recent Documents list, click its File
name or Thumb nail icon (see Figure 1.26) to open it. The window like what is seen in Figure
1.27 will be opened.
33
Exercise
1. Outline the steps for opening, creating, saving, and closing a word
document.
2. Why should you save your working document before closing it?
3. What is the use of Ruler in MS Word?
4. What is the importance of using a word processing program?
Selecting a text
Before making any change or editing a text, you must first select the text that you want to edit. You
can use the mouse or the keyboard to select the text. The selected text appears highlighted on the
screen, as it is shown in Figure 1.30.
34
Deleting a text in MS Word document
If you wrongly insert a text or an object in a word processor, you can remove the text or the
object that has been mistakenly written. This is done by the use of backspace key and the delete
key on the keyboard. To delete a character at a time, position the insertion point in front of the
character then press the backspace key; or place the insertion point at the beginning of the
character, then press the delete key. The delete key removes characters to the right of the
insertion point, while the backspace key removes characters to the left of the insertion point. To
delete a word, sentence, paragraph or block of text, select it then press the delete key.
Copying and moving a text
When editing a document, you may want to duplicate a text in another location, or you may want
to remove a text from its original location and place it in a new location. Copy is a command
used to create a duplicate of a text, while Cut is a command for moving a text. The shortcuts for
the two commands appear in the Clipboard group of the Home ribbon as in Figure 1.31.
Copying a text
To copy a text, you must first select the text, then click on the icon or command Copy.
Alternatively, you can copy a text by pressing the Control key (Ctrl) and C key on the keyboard.
Copying can also be done through the following procedure: select the text, hold the Ctrl key and
place the cursor over the selected text, press and hold the left mouse button, drag to the desired
location and lastly, release the mouse button to paste.
Cutting a text
Cut is one of the useful commands in a word processor. When editing a document, you may realise
that some text needs to move from the present location to a new location. The word processor
provides a solution to that through Cut command. To cut a text, do the following:
NOTE: The cut or copied text is stored on the Clipboard. The Clipboard is a temporary
storage area. Figure 1.32 shows a Home tab and Clipboard group. Every time a new text or any
other object is copied or cut, the clipboard content is replaced with the new one.
Pasting a text
Paste command helps you to shift the text you have copied or cut to another place. To paste a
text, locate a place where you want to insert the text, then click the paste icon or use a keyboard
shortcut Ctrl + V.
Undo and Redo command
Sometimes, you may make mistakes when entering a text in the word processor. Whenever you
make a mistake, you can easily reverse it with the Undo command. After you have undone one or
more actions, the Redo command becomes active and allows you to restore the undone actions.
Table 1.1 shows the procedures to
Undo and Redo actions.
Table 1.1: Undo and Redo actions
36
Choose the language for which you want to check the spelling and grammar,
Use custom dictionaries to add words to the spelling checker,
Use exclusion dictionaries to specify a preferred spelling for a word,
Check spelling and grammar in a different language.
Checking all spellings and grammar in a file at the same time is useful when you want to
proofread a text. You can check for possible mistakes and then confirm each suggested
correction. You can resolve each error that the program finds in different ways: Select
the word in the suggestions list, and then click Change or Select the word in Dictionary
check box, Edit the word, Click Change
If you want MS Word to recognise the word and not treat it as a misspelling, click Add or Add to
Dictionary. If you want to ignore a misspelled word and move on to the next misspelled word,
Click Ignore Once. If you want to ignore all instances of a misspelled word and move on to the
next misspelled word, Click Ignore All.
Alternatively:
Open MS Word document,
Click on proofing error icon on the status bar: the grammar check window will open as
shown in Figure 1.33.
37
Figure 1.34: Synonyms and thesaurus
38
Figure 1.3 find and replace
39
Figure 1.37 (a): Font type and size
NOTE: The Font size can also be changed by clicking on the Increase Font Size button to
increase or Decrease Font Size button to decrease the font (see Figure 1.37(b)).
41
Click the text highlight button to return the mouse to normal operation.
Text alignment
MS Word program has a feature that allows the user to either align a text to the left, right, centre, or
justify. By default, MS Word aligns a text to the left margin of the document. However, there may
be times when you want to adjust text alignment to the centre, right, or justify. To align a text, do
the following:
Select the text you want to align,
On the Home ribbon, select one of the four alignment options from the Paragraph group. Figure
1.42 shows the alignment options in Paragraph group.
NOTE: Alignment is, therefore, the act of arranging your text in different positions based on choice
or the purpose of the text. There are four kinds of text alignment namely left, right, centre and
justify.
Left alignment
Left alignment means that each line will start from the left margin. Left alignment is
commonly used for body text and make the document easier to read.
Right alignment
Right alignment means that each line will finish on the right hand margin. The starting position
of each line will be different based on the length of the line. Right alignment is used for small
sections of content, such as text in header and footer.
Centre alignment
Centre alignment means that each line will be displayed with equal spacing on either side. This
setting is mostly used to print title, header and quotes of any text.
Justify alignment
Justify alignment means that each line will start on the left side and finish exactly on the
right margin. The extra space will be adjusted among the words. Justified text looks neat as
words are evenly distributed to both sides of the page.
NOTE: If you want to change the alignment of a paragraph, select the text and then place the
cursor on the alignment style you want, then click on it.
Changing text case
There is a time when text cases need to be changed. The Change Case command helps to
change case, instead of deleting and retyping a text. To change the text case, follow these steps:
Select the text you want to modify,
On the Home ribbon, in the Font group, click the Change Case command arrow. A drop-down
menu will appear as in Figure 1.43.
42
Figure 1.43: Text case
Click the desired case option from the menu, like “Capitalise Each Word”, as shown in
Figure 1.44.
44
As mentioned earlier, numbers can be added to the text whenever listing of items is needed. To
add a number to a text, do the following:
Select the text you want to be numbered,
On the Home ribbon, in the Paragraph group, click the Numbering
button arrow ,
Click the numbering type you want from the list as shown in Figure 1.48.
Copying formats
A format of a specific text can be copied and applied to other text in the MS Word document. This
feature helps a user to save time and effort when more than one format has been applied to a text
and you want to format an additional text with existing formats.
To copy a format, follow these steps:
Select the text that has the format you want to copy.
On the Home ribbon, in the Clipboard group, click the Format Painter button as shown in
Figure 1.49.
36
Select the text to which you want to apply the copied format.
NOTE: If the copied format needs to be applied to more than one area, double- click the Format
Painter button. This keeps the Format Painter active until you press the Esc key or click the
format printer once again.
Drop cap
There are two types of drop cap, dropped and in-Margin. To apply the Drop cap, follow the steps
in
Results
E
ducation is an endless process, that someone get in and never lives unless he/she dies.
Use the same steps to apply dropped drop cap style to a text.
Page break
Page break enables you to separate sections of a document so that they can appear as separate pages
at the time of printing.
Page numbering
MS Word allows you to insert page numbers in your document. There are different options you can
use to insert page numbers. By default, numbering starts from 1 onwards. But you may use other
37
numbering formats instead of the default one, or use different numbering styles in one document.
Inserting page numbers Steps:
Click on the page you want to insert a number,
Click Insert tab,
In Header and Footer group, click the Page Number arrow ,
Select the position you want your numbers to appear (top or bottom) as shown in Figure 1.50.
Choose alignment (left, centre or right) and number style.
38
Figure1.51: Inserting section break
37
Click OK,
Go back to the Page Number menu,
Select the position of a page number,
Click.
Header and footer
Headers and footers identify a text in printed documents. Usually, headers and footers include
text or graphics such as page numbers, company logo, document title, file name, or author’s
name. A header appears at the top margin, while a footer appears at the bottom margin. MS
Word gives an option of using the same header or footer throughout the document, or using
different headers and footers at different parts of a document. You can also use different headers
and footers on odd and even pages or certain parts of the document.
Footer insertion
To insert the footer, follow these steps:
Click Insert tab,
In Header and Footer group of the Insert ribbon, click Footer arrow to insert footer (see Figure
1.53),
Select the position (Left, Centre or Right) and style of the footer,
Click,
Type the text for the footer,
Click the Close button.
Click,
Type the text for the header.
40
Figure 1.54: Header insertion
NOTE: After inserting the header and/or footer, click on Close Header and Footer button,
as shown in Figure 1.55, to close the header and footer window.
Figure 1.57: Inserting a table by selecting the number of rows and columns
Or
Select the Insert Table option as shown in Figure 1.58(a), and
Specify the number of rows and columns, like 2 and 5 respectively, as shown
in figure 1.58(b).
42
Click OK: the table will be created as shown in Figure 1.59.
Choose the type of border you want to apply to your table. In this case, All Borders, as shown in
Figure 1.61, has been selected.
42
Figure 1.61: Inserting borders
Merging cells
Select the cells you want to merge like what is shown in Figure 1.62,
43
Figure 1.63(b): Merged table cells
Inserting rows
44
Select the row above which you want to insert a row, as shown in Figure 1.64(a),
Click Layout tab under Table tools,
Click either Insert Above or Insert Below. The new row is inserted as shown in Figures 1.64(b).
Inserting column
Select the column after (or before) which you want to insert a column,
Click Layout tab under Table Tools,
Click either Insert Left or Insert Right as shown in Figure 1.65,
45
Figure 1.66: View of table column insertion
48
On the Design ribbon, in Table Tools, select the shading option (see Figure 1.72),
Shade the text with the colour of your choice as in Figure 1.73.
49
1.74(a). A row will be deleted, reducing the number of rows, as seen in table 1.74(b).
(v)
50
Figure 1.75(a): Before column deletion
51
Exercise 1.2
By using Microsoft Word, draw the following table:
TANZANIA INSTITUTE OF EDUCATION
ICS BOOK
TWO
Book Spreadsheet 10 hrs
Two Network 3 hrs
Contents Internet 6 hrs
Align the text direction in the column “Curriculum” to point downward
Change the style of the border
Merge the cells under the “Remarks” column
Type “Learning the use of technology” in the Remarks column
Save your work as ICS timetable
Type the following text, separate it into two columns, have a line in between, and apply justify
alignment.“Editing and Formatting of tables involve different attributes like introducing borders,
merging cells, inserting rows or column, deleting rows or columns, aligning text within the cells,
repeating heading rows, shading and changing text direction.”
52
Printing a document Page setup
MS Word automatically helps you to set the way you want your document to appear
when printed. It involves setting orientation and margins. There are two types of orientation namely portra
landscape.
Setting orientation Steps:
Click Layout tab,
In the Page Setup group of the Layout ribbon, click the Orientation command arrow,
Choose the orientation you want as shown in Figure 1.76(a).
Previewing a document
Before printing the document, you can preview it to see how it will look like when printed.
You can view one or more pages at a time, increase or reduce the size of the page on the screen,
and check page breaks.To preview a document before printing, follow these steps:
Click on File tab,
Click the Print Command on the Backstage view. Figure 1.77 shows how a previewed page
looks like.
53
Figure 1.77: A previewed document
Printing a document
To print a document, a computer needs to be connected to a printer. To print a word document, follow th
Click File tab,
Click Print command on the Backstage view,
Choose the printer connected to your computer,
Under settings, choose how you prefer your printed document to appear,
Select the number of copies you want to print,
If you are satisfied with the appearance of your previewed document, click the Print command to prin
document as shown in Figure 1.78.
54
Using MS Word help facility
MS Word Help is a collection of tools and files which help to answer questions, offer tips, and
provide help on all MS Word features. MS Office Help tools assist you when you need more
information about a particular task or feature.
Accessing the help facility in MS Word can be performed using the following steps:
Open a blank MS Word document,
Press F1 key on the keyboard: A help window will open as shown in Figure 1.79.
Review Questions
Multiple choice questions
1.Choose the letter of the most correct answer and write it in the provided box
The defines the appearance and shape of letters, numbers, and special
characters.
A. font type
B. font size
C. insertion point
D. paragraph formatting
2.The scroll box on the vertical scroll bar indicates the .
A. position of the insertion point from the top of the page
B. distance of the insertion point from the left margin
C. current relative location of a document portion displayed in the window
D. distance of the insertion point from the right margin
3. is the process of changing the way letters, numbers, punctuation marks, and symbols
appear on the screen and in print.
A. printing document
B. editing character
C. formatting a document
D. shading text
4.To save an existing document with a different file name, click .
A. the Save button on the Standard toolbar
B. Save on the File menu
C. the Save As button on the Standard toolbar
D. Save As on the File menu
5.To erase a character to the right of the insertion point, press the key.
A. cancel
B. backspace
C. delete
D. enter
B: Filling in the blanks
Write a correct word or statement to complete each of the following sentences
………………………is one of the software used for word processing.
The spelling checker can find and flag some ………………………
spelling errors.
A style of text that makes a letter or word darker and thicker to stand out in a document is called
………………….
.……………………………. text is very important as it identifies
which text in a document you want to modify.
The type of alignment for ensuring the text starts on the left margin and ends exactly on the
right margin is called ………………………
C: Short answer questions Answer the following questions
Briefly explain the applications of word processing in your school and community.
57
Explain how the use of word processors has reduced the use of typewriters.
Explain the advantages of MS Word as a word processing application.
Describe in details the functions of the Vertical and Horizontal Scrollbars.
Baraka has finished typing the letter. Print Preview shows that it is more than one-page long.
State two ways in which the letter could be made to fit on one page.
(a) A form two student is asked to write an essay about his/her school. Unfortunately, the word
“school” has been typed several times as “schol” in the document. It is possible to change the
misspelled word throughout the document in one operation. Name the feature which would enable
this to be done.
The first word in the following sentence has been typed as “their” instead of “there”. “There
will be coffee served on entrance”. This has been shown as an error on the document. Which
feature of the word processing package detects this kind of error?
Explain two different types of section breaks and how they are used.
Explain the difference between spelling errors and grammatical errors, as they appear in the
Spelling and Grammar checker.
Explain the difference between:
Save and Save As
Copy and Paste
Copy and Cut
Explain why you need to preview a document before printing.
59
Chapter Two
Spreadsheet
Introduction
Spreadsheet can be used to manipulate data in businesses, schools, hospitals, and even at
home to produce the required results.
In this chapter, you will learn about the concept and terminologies of spreadsheet, starting
and ending a spreadsheet program, entering and editing data in a worksheet, formatting
data in a worksheet, and manipulation of data in a worksheet. You will also learn how to
create charts, print a worksheet, and use the help facility. The competencies developed in this
chapter will enable you to process data in different contexts.
There are different spreadsheet programs that exist in the market to date. Example are MS
Excel (Microsoft Office), Apache OpenOffice Calc (Apache OpenOffice), Apple iWork (iWork
Suite), Quattro Pro (WordPerfect Office) and Google sheets (Google Suite). In this chapter, you
will use MS Excel
The working area of a spreadsheet contains grids of columns and rows that form a
worksheet. Columns are labelled with letters, while rows are labelled with numbers. Usually,
several worksheets form a workbook, which is kept as a file. MS Excel 2016 worksheet
possesses 16384 columns and 1048576 rows. The intersection of a column and a row is called
a cell. The cell name is identifi by coordinates starting with column letter followed by row
number, like B5 and D12. Activity 2.1 will help you to go to the last cell in the fi column
(A1048576) and the last cell in the row (XFD1) as shown in Figure 2.1.
63
Scrolling the worksheet to the last column or the last row
(i) Select cell A1,
(ii) Press Ctrl + Down arrow key: cell A1048576 will be selected; the
command takes the insertion point to the last cell in column A.
(iii) Press Ctrl + Right arrow key: cell XFD1048576 will be selected;
The command takes the insertion point to the last cell in the last
row.
(iv) Press Ctrl + Up arrow key: cell XFD1 will be selected; the
command takes the insertion point to the last cell in the first row
(XFD1).
(v) Press Ctrl + Left arrow key: cell A1 will be selected; the command
takes the insertion point to the first cell in the first row.
64
Spreadsheet terminologies
Electronic spreadsheet is a computer application software that displays a series of columns and
rows, and is used to manipulate data, especially numerical data.
Cell is the intersection of a column and a row forming a box into which a user can enter data.
Active cell is the selected cell.
Worksheet is the data fi created in a spreadsheet program. It is the working area
in a spreadsheet.
Workbook is a data fi that contains one or more worksheets created together in a
Spreadsheet program.
Exercise
1. What is the difference between a spreadsheet program and a word
processor?
2. Explain the importance of using a spreadsheet program.
3. What activities can be done using a spreadsheet program in the following
areas: home, school, hospital, kiosk, and supermarket?
65
Activity 2.3: Starting MS Excel 2016 in Windows 10
Steps:
(i) Click the Start button (arrow number 1 in Figure 2.2(a)) on the task
bar for Windows 10: the Start menu will appear.
(ii) Scroll down and click on MS Excel 2016 (arrow 2 in Figure 2.2(a)):
different MS Excel templates will appear.
(iii) Choose the Blank document template: MS Excel 2016 window will
open.
Figure 2.2 (a): Starting MS Excel from the start pop up menu
Alternatively, you can open MS Excel 2016 by typing the word excel in the search box
as shown by arrow number 1 in Figure 2.2 (b). Then, MS Excel 2016 will appear as shown by
arrow number 2 in Figure 2.2(b).
64
Figure 2.2 (b): Starting MS Excel by searching
From the displayed program menu, click MS Excel 2016: MS Excel program will open a
page with various templates, including Blank workbook. Other templates include invoices,
calendar, charts, budgets and business. Since you are opening MS Excel for the fi time,
select the Blank workbook by clicking it, as shown by arrow number 1 in Figure 2.2 (c).
65
Figure 2.2(d): Blank MS Excel window
66
Creating a workbook
When MS Excel program is started, a blank workbook is created. The default title of the workbook is Book
workbook is a file that consists of worksheets. Usually, the default name of the first worksheet in a
workbook is Sheet1. A user can insert additional worksheets as desired. The actual outlook is shown in
2.2(d).
Parts of a spreadsheet program
In order to easily use the spreadsheet, it is important to understand the parts of a spreadsheet program win
shown in Figure 2.4.
Part Description
Active cell The cell you are currently working on. A dark
border outlining the cell identifies an active cell.
Column headings The letters which appear along the top of a worksheet
window. Columns are listed alphabetically from A
to XFD with a total of 16384 columns in MS Excel
2016.
Formula bar The bar that displays the contents of an active cell. It
is located immediately below the Menu ribbon. As
you type or edit data in an active cell, the changes
appear in the formula bar.
67
Part Description
Name box The box that displays the address of an active cell.
Row headings The numbers which appear along the left side
of a worksheet window. Rows are numbered
consecutively from 1 to 1048576.
Select all button A button that you click to select all contents of a
spreadsheet. It is located at the intersection of
column and row headings.
Sheet tabs Tabs which display the names of sheets. They are
located at the bottom of a workbook. To move
between worksheets, click the appropriate sheet tab.
Task pane The pane that provides access to frequently used
tasks. When you start MS Excel, the Getting
Started task pane appears. The Task pane disappears
once you open a workbook. There are several task
specific panes available in MS Excel.
Tab scrolling buttons Series of buttons that you can click to move be-
tween worksheets in the workbook. They are locat-
ed to the left of the sheet tabs.
The MS Excel 2016 worksheet has a menu bar with several tabs which display ribbons that
contain different commands. The following are description of different menu tabs:
Insert tab
Insert tab displays a ribbon that contains commands to allow a user to insert Tables, Illustrations,
Add-ins, Charts, Sparklines, Filters, Links, Text, and Symbols, as shown in Figure 2.5.
68
Figure 2.6: Page layout ribbon
Review tab
Review tab contains a ribbon with tools for Proofing, Language, Comments, and
Changes, as shown in Figure 2.7.
Formula tab
Formula tab provides a ribbon with various formats of formula such as Function Library, Defined
Names, Formula Auditing, and Calculation, as shown in Figure 2.8.
Working area
The spreadsheet working area consists of grids of columns and rows. The point of intersection
between a column and a row is called a cell. A cell can be identified using a cell name, which
consists of column letter and row number. Technically, a cell name is called a cell address.
Examples of cell names are B4, D25, H67, etc.
Selecting cell, column and row
Use a mouse pointer to click cell B4, as illustrated in Figure 2.10. B4 appears on
69
the name box as shown in Figure 2.10. This means the cell is selected. By clicking on another cell,
the name box will change.
NOTE: “B” refers to the column of the selected cell, and “4” refers to the row of the selected
cell.
Click on 7: row 7 is selected as shown in Figure 2.11.
70
Adding a row in a data table and in a worksheet To add a row
in a data table, follow these steps:
(i) Select the range of cells to which you want to insert a row,
(ii) Right click, then click Insert,
(iii) Select Shift cells down as shown in Figure 2.13,
(iv) Click OK.
To add a row in a worksheet, follow these steps:
(i) Select the number of rows you want to insert,
(ii) Right click, then Click Insert.
Removing a row
The following steps will help you to remove a row in a worksheet:
Select a row you want to remove,
Right click, then click Delete.
The following steps will help you to remove a row in a data table:
Select the number of rows you want to remove,
Right click,
Click Delete,
Choose Delete option,
Click OK.
Ending a spreadsheet program
After working with a file, you may need to close it and do other activities. To close the
workbook or a file, click on the Close button which is at the upper rightmost corner of
the MS Excel window as shown in Figure 2.14.
72
Figure 2.15: Data organised in rows and columns
Steps:
Type the headings as shown in Figure 2.16,
Enter the data and use the cursor or tab key to move to the next cell.
73
Entering numbers with leading zeros
Steps:
(i) Select the cells into which you want to enter numbers containing
leading zeros e.g., 00055,
(ii) Right click the selected cells: a drop-down menu will appear.
(iii) Click on Format cells to open the format cell window,
(iv) Click Number tab,
(v) Select Text category, as illustrated in Figure 2.17,
(vi) Click OK.
(vii) Type the numbers with leading zeros in the cells as in Figure 2.18.
The numbers are stored like text.
Position the cursor in the border, between columns B and C: the mouse pointer changes to a
double-pointer arrow as shown in Figure 2.20.
Double-pointer arrow
MS Excel 2016 allows you to define the range of data to be entered into a cell. It also allows you to preve
invalid data into a cell. In addition, you can create messages that will tell users about the type of data tha
entered into a specific cell by providing instructions for correct input. You can restrict the range of num
permitted in a cell. For example, if you have a column
for students’ marks, you can restrict it to the range of numbers from 0 to 100 to prevent entry of out of ra
If there are blank cells in the column, remove the check mark from “ignore blank”. Otherwise, unintende
will be allowed.
In the Data Validation box, choose Whole number to allow the function to check the value being entered.
On the Data option, choose between as shown in Figure 2.24.
Enter 0 on the Minimum text box and 100 on the Maximum text box, then press OK.
Figure 2.24: Data validation options
To insert an error message, click on Error Alert; on Style option choose “Stop”. On the Title text
box, write “Out of Range”, and on the error message text box, write an alert message, then click
OK as shown in figure 2.25.
Test some marks entries, e.g., 76, 85, 100, and 102.
NOTE: Since the range is restricted to 0 to 100, entering 102 will display an error message as
shown in Figure 2.26.
Exercise 2.2
Saving a workbook
If you want to save a workbook for the first time, use Save As command. Use the following steps
to Save the workbook:
Click the File tab, as in Figure 2.27: this will display the backstage menu as shown in Figure 2.28.
Replacing data
Editing also enables you to change the contents of a cell: this involves editing a number or a text.
In this case, you can change or remove a single character, or remove the whole text, or remove
a character between, before, or at the end of other characters. To perform these actions, do the
following:
7. Validate the monthly salary column so that it only accepts values from
Tshs. 300,000 and Tshs 700,000.
8. Change the salary of Nurse to Tshs. 900,000.
Formatting data in a worksheet
To format is to change the appearance of data in a cell. MS Excel formatting options enable
you to change the layout and appearance of the cells in a worksheet. There are several formatting
features in MS Excel program such as data wrap, cells merge, changing position of contents,
and adding cell borders.
Using formatting features
Formatting can change the style, size, colour, alignment, border style, and cell patterns.
Changing font style and font size
A font determines the appearance of the text in a document. Examples of font types are Arial,
Arial black, Times new Roman, etc. In MS Excel 2016, the default font type and size are
Calibri and 11 respectively. To change the font size, do the following:
Open a file,
Select the cells you want to format,
Click Home tab,
Click the down arrow on a command for font size options, as shown in Figure 2.36,
Choose the font size, and observe the changes in your cells.
(a) (b)
Figure 2.38: Formatting attributes
Adding cell borders
As stated previously, spreadsheet programs are made of grids of columns and rows. If you
present the data in a tabular form, these grids will not appear in the printout. In order to ensure
they appear and make the cells visible in the printout, borders should be added.
Adding cell borders Steps:
Select the cell to which you want to add borders,
On the Home ribbon, click the Borders button in the Font group to apply the most recently
used border, or
Also, the position of cell contents can be changed by using the Alignment tab of the Format Cells
dialog box, which is opened by clicking the dialog box launcher in the Alignment group.
Figure 2.41 shows Format Cells window with option tabs for number, alignment, font,
border, fill, and protection. Click on Alignment tab for text alignment in a cell.
Figure 2.41: Format Cells window
By default, MS Excel 2016 aligns numbers to the right and text to the left. The Alignment group
on the Home ribbon includes six alignment buttons (see Figure 2.42) that can be used to change
the horizontal and vertical alignment of cell contents.
The Align Left button aligns the cell contents to the left edge of the cell.
The Centre button centres the cell contents horizontally within the cell.
The Align Right button aligns the cell contents to the right edge of the cell.
The Top Align button aligns the cell contents to the top edge of the cell.
The Middle Align button centres the cell contents vertically within the cell.
The Bottom Align button aligns the cell contents to the bottom edge of the cell.
Select the cell on which you want to apply the copied format.
NOTE: If you want to apply the copied format on more than one area, double click the Format
painter button instead of a single click. This keeps the Format painter active until you press the
Esc key.
Exercise 2.4
1. Open the previous created file called EMPLOYEES ON
CONTRACT FEB 2021.
2. Merge the cells of the title.
3. Wrap up the title cells for date of birth and monthly salary.
4. Change the text direction to 450 for the cells titled Sex, Employer,
and Position.
Data manipulation
Mathematical operators
Mathematical operators are symbols or signs that are used to represent arithmetic operations in
MS Excel. Operators specify the type of manipulation that you want to perform on the
elements of a formula.
Common mathematical operators
The common mathematical operators are shown in Table 2.2.
Table 2.2: Common mathematical operators
Order of operations
MS Excel 2016 enables you to create formulas that contain multiple mathematical operators.
These mathematical operators are evaluated in a specific order. When you use a combination
of operators, the order of evaluation can affect the result of the formula. MS Excel 2016
evaluates mathematical operators in the following order:
Computations enclosed in parentheses, wherever they appear in the formula.
Computations involving exponents.
Computations involving multiplication and division. Because they are equal with regard to
the order in which MS Excel performs them, the operations are evaluated in the order in
which MS Excel encounters them, which is from the left to the right.
Computations involving addition and subtraction are performed in the order they are
encountered.
Figure 2.49 shows the summary of the order of operation in a mathematical computation.
Comparison operators
In addition to mathematical operators, logical operators are used in MS Excel to perform
calculations which need comparisons. Two values can be compared using the operators listed
in Table 2.3. When two values are compared by using these operators, the result is a logical
value,
which is either TRUE or FALSE. Table 2.3: Mathematical comparison operators
Comparison operator Meaning Example
= Equal to A1=B1
> Greater than A1>B1
< Less than A1<B1
>= Greater than or equal to A1>=B1
<= Less than or equal to A1<=B1
<> Not equal to A1<>B1
Formulas and functions Formulas
One of the most powerful features in MS Excel is the ability to manipulate numerical data
using formulas. An MS Excel formula is an expression for performing mathematical
calculations on data worksheets. Among other things, MS Excel can help you add, subtract,
multiply, and divide numerical data. A formula in MS Excel performs numeric calculations such
as addition, subtraction, multiplication, and division. It comprises an expression to the right an
equal sign. The expression in a formula can have a combination of variables, constants, and
operators.
Elements of MS Excel formula
All formulas in MS Excel begin with an equal sign and contain various components such as
arguments and operators. The result of MS Excel formula is stored in a cell where the formula is
entered. When the data of the arguments in MS Excel formula changes, the formula
automatically recalculates the result. MS Excel formula can contain one or more elements,
described in Table 2.4.
Table 2.4: Elements of MS Excel formula
There are three ways you can use the MS Excel program for calculation:
Use numerical data and arithmetic operations;
Create a formula using cell address; and
Apply built-in formulas or functions.
Using numerical data and arithmetic operations
MS Excel program can perform calculations like a normal calculator. For example, if you want to
perform arithmetic “2 +3 =5”, the expression in a worksheet will appear as = 2+3 typed in a cell.
The cell will display number 5, while the formula bar will maintain the expression =2+3. This is
also applicable to other arithmetic operations like subtraction, multiplication, and division.
Steps for writing a simple mathematical expression are as follows:
Click on a cell into which you want to write a fomula,
Type the equal sign,
Type the expression,
Press the Enter key.
Activity 2.9: Performing arithmetic operations on numerical data
Perform the following arithmetic operations using MS Excel:
= 65 + 35
= 99 – 33
= 64/8
= 12*8
Using cell address to create a formula
You can create a formula using a cell name followed by an arithmetic operator and then a
second cell name. For example, A1 + B1 will add the numbers in the cells A1 and B1 as shown
in Figure 2.50.
Cell references
Cell referencing is the imitation of a formula relative to other cells of similar expression.
Most of the calculations done in MS Excel by applying formulas and functions use cell addresses
such as A1, D12, and E20. There are three types of cell references namely relative, absolute and
mixed cell references.
Relative references
Relative references is when you copy a formula across multiple cells, and then the cells change
based on the relative position of columns and rows. For example, if you copy the formula =A2+B2
from row 2 to row 3, the formula will become
=A3+B3 (see Figure 2.51).
Figure 2.51: Relative references
Absolute references
An absolute cell reference always points to the same place, even if the position of a cell is
changed. For example, if you have cell D2 with a formula that adds the content of cell B2
and cell E2 (which is absolutely referenced as $E$2), the resulting formula is =(B2+$E$2)
as shown in Figure 2.52(a). When the formula is copied to another cell like cell D5, the
referencing of cell E2 will not change, while that of B2 will change to B5 i.e =B5+$E$2,
as shown in Figure 2.52(b). This shows that, regardless of the change in position of the
formula, the cell which is absolutely referenced will not change.
NOTE: In the absolute cell reference, a dollar sign ($) is added before a letter and before a number
to fix the reference. For example, $A$5 and $D$20 are
absolute cell references.
3. The formula = $C5 + D5 is entered in cell E5 and then copied to cell E8.
Write down the formula as it appears in the destination cell.
4. The formula =D$6+E6 is entered in cell F6 and then copied to cell F10.
Write down the formula as it appears in the destination cell.
An example of a function with more than one argument that calculates the average of numbers in a
range of cells, A6 through A9, and C6 through C9, is shown in Figure 2.54(b):
TOTAL
TOTAL
TOTAL
TERM I TERM II
REMA
TERM
TERM
TERM
BIOS
BIOS
MAT
MAT
ENG
ENG
CHE
CHE
NAM
KIS
KIS
ICS
ICS
W
W
M
M
E
H
TEW 88 80 95 90 85 80 80 80 90 90 75 80
KOD 90 90 98 90 85 85 75 90 95 96 100 80
BAG 95 85 98 85 80 75 75 80 100 80 88 80
KOL 100 88 75 80 90 95 96 90 75 80 93 90
GAB 75 90 92 90 95 90 80 85 90 94 96 95
MIN
MAX
Find the total marks obtained by each student in term I and term II.
Find the average marks obtained by each student in term I and term II.
Find the minimum and maximum marks for every subject and summary results.
If the average marks obtained in term I and II is more than 90, the remarks should be “Distinction”;
otherwise, the remarks should be “Excellent”.
Create the following table using MS Excel.
TAK
RE
NA NAME HOURS PAYMENT HOUSE PERCE
WORKED PER HOUR GROSS ALLOWAN NTAGE
1 KODE 156 500
2 KOLE 157 500
3 NICE JOEL145 500
4 AISHA 157 500
5 LIZAFI 147 500
6 MDUGILE 160 500
MINIMUM TOTAL
MAXI
AVERAGE
BONUS 0.3 TAX 0.09
From the table, calculate gross payment, tax, house allowance, take home, total take home, and
percentage take home, given that:
Gross Payment = Hours worked * Payment per hour
Bonus = Bonus factor*Gross payment
Tax = Tax factor* Gross payment
House allowance = 3/5*Bonus
Take home = Gross payment + Bonus – Tax + House allowance
Percentage take home =Take home/ Gross payment *100 [give answer in 2 decimal places]
Find average and minimum values of Gross payment.
Find the maximum value of house allowance.
Format take home in Tsh. i.e., “Tsh” #,###.00.
If average hours are greater than 148, then remarks is “KEEP IT UP”;
otherwise, the remarks is “BE CAREFUL”.
Correct the word vorountier to volunteer.
Edit the word “TAKEHOME” to be two separate words i.e., “TAKE HOME”.
Save your work by file name “Salaries”.
Function and formula are different in some contexts and similar in others:
Write down three differences between a formula and a function.
Write down two similarities between a formula and a function.
Data sorting and filtering
Sorting of data
Sorting is the process of arranging data into meaningful order so that you can analyse them easily.
You can sort data either in Ascending or in Descending order. If data are text as shown in
Figure 2.57(a) and are sorted in ascending order, they are displayed in alphabetical order from
A to Z as shown in Figure 2.57(b); while the descending order sorts the data from Z to A.
Similarly, if you have numerical data as shown in Figure 2.58(a), ascending order sorts numbers
from the smallest to the highest; while descending order sorts numbers from the largest to the
smallest, as shown in Figures 2.58(b).
Textual data
Figure 2.57(a): Text data before sorting Figure 2.57(b): Text data after sorting
Numerical data
Figure 2.58(a): Numerical data before sorting Figure 2.58(b): Numerical data after sorting
Filtering
If your worksheet contains a lot of contents, it can be difficult to find information quickly.
Filters help to narrow down the data in a worksheet, allowing you to view only the information
you need.
NOTE: For filtering to work correctly, your worksheet should include a Header row which is
used to identify the name of each column. For example, on Figure 2.59, the worksheet is
organised into different columns identified by the header cells in row 2: SN, STUDENT NAME,
MARK.
Figure 2.59: Unfiltered data
Check the boxes next to the data you want to filter, then click OK. In this example, you will
check Grade A as shown in Figure 2.62.
Figure 2.62: Selection of grade A
The data will be filtered, temporarily hiding any content that does not match the selected
criteria. Only students with grade A will be filtered as shown in Figure 2.63.
Figure 2.63: Filtered students with “A” grade
Types of charts
There are different types of charts that can be used to produce a visual presentation of data. Choosing
a type of chart depends on the kind of data you have and what you want to express.
Table 2.6 describes some charts in MS Excel.
Table 2.6: Types of charts in MS Excel
Type Description
Column Used to show the changes in data over a period of time or
illustrate comparisons among items
Line Mainly used to plot changes in data over time
Bar Emphasises the comparison between items at a fixed period of
time
Pie Emphasises a significant element in the data. It represents data
in the form of a pie
Scatter Useful for showing the correlation among data points; that
correlation may not be easy to see from data alone
Area Displays the magnitude of change over time
Creating charts
Good charts should both explain the data and evoke curiosity. A chart summarises thousands of
data points into a single picture. The arrangement of a chart should explain the underlying data,
and enable the reader to isolate trouble spots worthy of further analysis. MS Excel enables you to
create a chart with only a few mouse clicks. For example, to create a column chart, use the
following steps:
Open the MS Excel program,
Create a table that contains the data to be plotted,
Use the mouse to select the cells which contain the data you want, including column and
row headers,
Click on the Insert tab,
On the Insert ribbon, click on Recommended Charts tab,
Click on the chart type of your choice as shown in Figure 2.64.
Figure 2.64: Column chart
NOTE:
To select non-contiguous data in a worksheet, hold down Ctrl button and use the mouse to select
the cells.
MS Excel remembers the order in which you select data. As a rule of thumb, when entering data,
leave the top-left cell blank.
Chart tools
When a chart is selected, the Chart Tools appear. The design and format tabs are located under
MS Excel’s Chart Tools as shown in Figure 2.65.
Design Tab: Contains buttons to change the chart type and style, add chart element, etc.
Format Tab: Contains buttons to format data, insert shapes, add
WordArt, resize charts, etc.
Changing a Chart Type
Click on the Design tab,
Click on Change Chart Type button similar to Figure 2.66,
Page orientation
Page orientation enables you to display a rectangular page either holizontally or vertically. There
are two types of page orientations, Portrait and Landscape, as shown in Figure 2.71.
Print preview
Print preview is an action of viewing your worksheet before printing. This action switches from
Normal view to Preview. The preview displays the pages to be printed. You can adjust the page
areas to suit your choice.
Steps for print preview:
Click on Page Layout,
Under Sheet Options group, click an arrow for the dialog box launcher: the Page Setup dialog
box opens as shown in Figure 2.73(a).
Review questions
Do you think that spreadsheet programs are useful in day-to-day activities? Give evidence
to support your answer.
Define the following spreadsheet terminologies:
Cell
Label
Column
Row
Differentiate between column headings and row headings.
What is the difference between a worksheet and a workbook?
Distinguish between MS Excel and a Spreadsheet.
MS Excel can be used for several purposes. Mention five of them.
The following table displays examination results of Form Two students at ABC Secondary School.
Prepare a spreadsheet of the results showing individual marks in the subjects, total, average, grade,
and position.
A B C D E F G H I
S/ Name Hours No Hourly Basic Gross Tax NSSF Allowance Net Pay
Worked Rate Pay Pay Deduction Contribution
per s s
(Tsh)
Month
1 Kode 18 4000
2 Kobi 20 4500
3 Kajole 32 3000
4 Kole 40 2860
Kajeje 36 2200
Kajiji 45 4680
7 Kange 25 1500
8 Kama 39 2800
Complete all fields in the payroll table, given that:
10. (a) A formula to add the contents of B5 and C4 was entered in cell F5
as =B5 + C4. What will it become when it is copied to cell H8?
(b) Explain the reason for your answer in 10(a).
Cell A1 A2 A3 C1 C2 C3 G1
Entry 5 7 10 10 15 15 =SUMIF (C1:C3, “<> 10”,
A B C D E F G
1 5 10
2 7 15
3 10 17
4
5
6
7
8
9
10
If the formula =COUNTIF (C1:C3, “> 10”) is entered at G1, write down the value that is
displayed.
Write down the formula that would be entered at cell B7 to sum the values in column A whose
values are greater than or equal to 5.
The formula = $C2 + C$3 is entered in cell C5 and then copied to D10. Write down the formula as it
appears in the destination cell.
(a) Give two examples of MS Excel charts that you know.
(b) Outline the steps to create a simple chart in MS Excel.
Kujengwa, Mbigiri, Dotto and Tuntufye had tea, sausages, and bananas for breakfast. They
took one sausage, two sausages, three sausages, and one sausage respectively. In addition, they
each took a cup of tea and two bananas. Tea, sausages and bananas cost Tsh. 10, 15, and 5
respectively.
Construct a worksheet showing that information.
State the expression you would use to obtain:
Total expenditure by Dotto.
Total number of sausages taken.
The total cost of the cheapest item.
The following table is a Microsoft Excel worksheet containing the scores of Form 1 students of
Guta Secondary School.
A B C D E F G
3 Kobelo 80 78 58 72
4 Majimoto 75 78 64 80
5 Mzurikwao 65 84 78 81
6 Vumilia 90 81 57 74
7 Nyanchere 73 65 85 78
No A B C D
1 Nduwanga
2 Ndumbwi
3 Ndubilio
4 Ndunduma
5 Ndungandi
A B C D
1 Item Amount
2 Fare 200
3 Stationery 50
4 Bread 300
5 Miscellaneous 150
6 Total
The student intends to have spent half the amount of money in the budget by mid-term.
Given that the value 0.5 is typed in cell D1, write the shortest formula that would be typed in cell
C2 and then copied down the column to obtain half the values in column B.
Write two different formulas that can be typed to obtain the total in cell B6 and then copied to
cell
The following information shows the income and expenditure for “Bebayote” Daladala for five days.
The income from Monday to Friday was Tshs. 4,000, 9,000, 10,000, 15,000, and 12,000
respectively, while the expenditure for the same period was Tshs. 2,000, 3,000, 7,000, 5,000, and
6,000 respectively.
Create a spreadsheet that will contain the given information.
Find the average expenditure per day.
Find the average income per day.
Find the total income per week.
Find the total expenditure per week.
Find the net profit.
Use the following information to complete the table that follows:
Basic pay = Hours worked x pay per hour
Allowances are allocated at 10% of basic pay
Gross pay = Basic pay + allowances
Tax deductions are calculated at 20% of gross pay
Net pay = Gross pay – tax deductions
A B C D E F G H
Name Hours Pay per Basic Allowances Gross Tax Net pay
1
worked hour pay pay deductions
2 Katembo 12 1500
3 Fusi 28 650
4 Ngonyani 26 450
5 Mapunda 30 900
6 Mbawala 18 350
7 Shimba 22.5 500
8 Wanyama 24.5 250
9 Nanyumbu 17 180
10 Ndungulu 33 700
Total
Based on the table in question 25, write the fomulae using cell references for the following
cells:
(a) D2 (b) E4 (c) F10 (d) G7
Jane and Juma have invested in a small agriculture business. Farming production and sales
for the year 2020 for various crops in tons are as follows:
Quantity (Tons)
Productio
Productio
Average
Crop Unit
Total
May
Mar
Sept
Productio Price
Aug
Apr
Nov
Jun
Feb
Dec
Jan
Oct
Jul
n (Tshs)
Rice 1,100,00 0 0 5 40 50 50 20 5 5 2 3 7
Maize 700,000 5 5 2 3 7 70 70 7 15 17 15 17
Groundnu 2,500,000 2 2 7 20 30 20 30 40 60 13 14 5
Cassava 1,000,000 40 40 40 40 40 30 30 30 40 40 40 40
Beans 1,600,000 7 7 70 70 7 15 17 22 29 11 10 20
Sweet 900,000 6 15 20 30 35 20 10 8 70 3 3 4
Potatoes
Coffee 8,000,000 8 7 3 3 4 20 60 15 17 22 29 7
Millet 900,000 5 5 5 5 5 3 3 3 5 5 5 5
Yams 800,000 13 14 5 7 15 17 22 29 7 7 15 17
Introduction
Introduction
In the past, information was shared amongst people through traditional means. Today, due to
technology advancement, information is shared through a variety of ways, including the use of
connected computers. In this chapter, you will learn about the importance and uses of
computer networks. You will also learn about the types of computer networks, network
topologies, as well as equipment and accessories used in computer networking. The
competencies developed in this chapter will enable you to create and use simple
communication networks.
MAN
Disadvantages of MAN
Difficult to manage: As a network grows bigger, it becomes difficult
to manage.
Maintenance: Technical people are required to set up and maintain it.
More wires and other connectivity media are required: Additional cables or other media are
required to connect two or more LANs to form a MAN.
Advantages of WAN
Area of coverage: It covers a geographical area of large proportion.
File and data updates: Users can get file updates and data from servers in a wider area.
Companies can update files on the servers and all the devices connected to the severs can receive
them. For example, a software installed in a server computer can be used by users across the
organisation, saving time for maintaining the software in different computers across the
organisation.
Centralised data: Sharing of data across the respective networks cover a wider area.
Disadvantages of WAN
Security: Since WAN has a variety of technologies, it faces more security issues compared to
LAN and MAN. This can open the security gap which paves the way to malicious attacks and
theft.
Troubleshooting:Troubleshooting issues such as pinpointing the cause of problem are
difficult to handle in a WAN due to its broad geographical coverage.
Installation cost: It is very complex and expensive to install a WAN since it requires many
resources such as routers, switches and security solutions.
Mode of connectivity
Based on the modes of connectivity, a computer network can be wired or wireless. Wired networks
use cables as network media for data transmission, while wireless networks transmit signals without
any physical wire. Figure 3.8(a) shows a sample wired network and Figure 3.8(b) shows a sample
wireless network.
Figure 3.8(a): Wired network Figure 3.8(b): Wireless network
Network devices and accessories
LAN devices and accessories
Basically, a computer network consists of many components. Each component has a specific
function. The common network devices are presented in subsequent sections.
Network Interface Card
A Network Interface Card (NIC) is an electronic card that enables a computer to connect to a
network. NIC is sometimes called Ethernet card or network adapter. It can be built-in or an
expansion card. An example of NIC is shown in Figure 3.9.
Network cables
Network cables are networking hardware used to connect one network device to other network
devices. For example, network cables connect two or more computers to a printer, a scanner,
and other network devices. Different types of network cables like coaxial cables, optical fibre
cables, and twisted pair cables are used depending on the network’s topology, protocol, and size.
These devices can be separated by a few metres or nearly unlimited distances.
Twisted pair cables
Twisted pair cables, also known as ethernet cables, are insulated cables twisted together.
These cables are used in telephone lines and LANs. There are two types of twisted pair cables:
Unshielded Twisted Pairs (UTP) cable is a cable comprised of only wires and insulated cables
as shown by lebel 1 in Figure 3.12.
Shielded Twisted Pairs (STP) cable is a cable braided with wire mesh that encases each pair of
insulated wires as shown by label 2 in Figure
3.12. STP cables are less affected by Electromagnet Induction (EMI) compared to UTP cables.
Figure 3.12: Twisted pair cables (1 and 2) and their heads (3)
Key:
1 = Unshielded Twisted Pairs cable
2 = Shielded Twisted Pairs cable
3 = Cable heads or connectors
Advantages of twisted pair cables
i. They are easy to use and maintain.
ii. They are cheap.
Disadvantages of twisted pair cables
i. They are affected by Electromagnetic Induction, which cause interference.
ii. They are suitable for use only in short distances.
Exercise 3.1
3. What type of network will you use in each of the following situations?
(a) Connecting computers in a bank with several branches in different
regions of Tanzania.
(b) Connecting computers in a bank with several branches worldwide.
(c) Connecting computers for exchanging notes within a school compound.
4. Explain how networking facilities are used in buying and selling com-
modities in a supermarket.
Computer network topologies
When you design and build a computer network, there are several ways in which computer and
other network devices are connected to create a computer network. This gives rise to a concept of
network topology. A topology is a layout or design of the connected devices. Network topology
may be physical or logical.
Physical topology refers to the visible design of the network including devices, while logical
topology refers to how data are actually transferred in a network. This textbook will only discuss the
physical topology. There are six common physical network topologies namely Bus topology,
Star topology, Ring topology, Mesh topology, Tree topology, and Hybrid topology.
Bus topology
Bus topology consists of a single cable known as a trunk or backbone or segment that connects all
the computers and other devices in the network. Each system is directly attached to a common
communication channel. Signals transmitted over the channel make up the messages. Figure 3.16
shows a structure of a bus topology.
In a ring topology, each node is connected to form a single, closed data path. Data from one node are
passed along to the next node at which they are examined, and if that node is not the
destination, then they are transmitted to the next node until the destination is reached. Figure 3.18
shows a ring topology. Rings can be unidirectional or bidirectional. In a unidirectional ring, all
traffic travel in one direction or the other, i.e., clockwise or anticlockwise around the ring. In a
bidirectional ring, traffic travel in both directions, i.e., go and return.
Concept of Internet
The Internet is a worldwide system of computer networks. It is a huge network that links together
millions of smaller networks. Telephone lines and cables connect networks all over the world to form
the Internet. Users of computers connected to the Internet on one side can get information from
computers connected to it on the other side, and can sometimes talk directly to each other. The use
of Internet has revolutionised communications worldwide. This means that it is possible to send a
message from Tanzania to other countries such as Burundi, Democratic Republic of Congo (DRC),
Ghana, United States of America (USA), United Kingdom (UK), China, and Japan through the
Internet.
The Internet is a globally leading information dissemination tool, and a medium for
collaboration and interaction between individuals regardless of their geographical locations.
Actually, there are thousands of networks, tens of thousands of computers, and billions of users
of the Internet, with the numbers expanding daily.
The history of Internet originates from the invention of the telegraph, telephone, radio, and
computer. These technologies set the stage for this invention and an environment whereby the
connection may be in a wired or wireless medium. A computer connected to the Internet is said
to be online.
Generally; Internet: is the Public network.
An Intranet: is the Private network contained within an enterprise that is used to securely share
company information and computing resources among employees. An intranet can also be used
for working in groups and teleconferences. Intranets encourage communication within an
organization.
An Extranet: is an Intranet which is partially accessible to authorized outsiders.
The WWW: is the graphical component of the Internet which includes web sites.
Internet terminologies
Internet Protocol (IP) address
This is a unique string of characters that identifies each computer using the Internet Protocol to
communicate over a network. OR
Internet Protocol (IP) address is an address used to uniquely identify a computer and other devices
on a network. An IP address is a numerical label assigned to each device (for example, computer, router,
modem, and printer) in a computer network. It is normally a number that has four parts in the form
W.X.Y.Z. Examples of IP addresses are 1.1.1.1, 10.50.100.254, 172.128.10.1, 10.0.0.20, and
192.168.5.250. The highest number in each part of an IP address is 255. An example of the IP
address is shown in Figure 4.1.
MAC address
Computers communicate with each other through the Network Interface Card (NIC). Just like
names, every computer in the world must have a unique name which is used to easily identify it
in a network. This unique name is called Media Access Control (MAC) address. The MAC address
is a unique combination of numbers and letters which is given to a network adapter. Every NIC in
the world has a unique MAC address. A MAC address is given to a network adapter when it is
manufactured. It is coded onto the NIC of your computer. When communicating, the IP addresses and
MAC addresses work together. Thus, a hardware and software work together to make data from the
sender to arrive to the receiver. The MAC address is a string of six sets of two digits or characters,
separated by colons e.g., 01:10:11:02:36:84 (see Figure 4.1). MAC addresses follow a particular
standard to avoid conflict in communication.
https://www.tie.go.tz/publications/ICS.pdf
Protocol
A protocol is a set of rules that govern communication between computers on a network.
In order for two or more computers to talk to each other, they must be speaking the same language.
Many different types of network protocols and standards are required to ensure that your computer
can communicate with another computer located on the next desk or far away around the world.
Hypertext Markup Language
Hypertext Markup Language (HTML) is a language used to create web pages. A markup language
facilitates creation of documents in which the structure and contents are clearly distinguishable.
Web Page
A web page is the hypertext document that can be accessed over the World Wide Web through
web browsers. It is written in a markup language called HTML. It contains text, pictures, audio,
video, and hyperlinks.
Website
A website is a collection of related web pages that have the same theme and are connected
together using hyperlinks. The opening page of either personal, commercial, or an institutional
website is called a Home Page. Every website has a home page. An example of a home page is
shown in Figure 4.3.
Web server
A web server is a computer that stores web related files. These computers have high processing
power and storage capacity. The main goal of web servers is to provide access to information
and other resources to users on the Internet. When you use a web browser to request for a paticular
web page, a web server processes your request and gives you the information you requested.
Hyperlink
Hyperlink is a link between two web resources. When clicked, a hyperlink takes you to another
resource on the web. When the mouse pointer passes over a hyperlink, it (mouse pointer)
changes from an arrow to a pointing hand.
Hypertext
Hypertext is a text that contains hyperlinks. The hyperlinks are used as references to other
documents and media in the web server.
Web browser
A web browser is an application software that locates and displays World Wide Web documents.
It retrieves information from a web server and displays it on your computer screen. Examples
of web browsers are Microsoft Edge, Mozilla Firefox, Safari, Opera, and Google Chrome.
Microsoft Edge
Microsoft Edge (ME) is a cross-platform web browser developed by Microsoft. It was first
released for Windows 10 in 2015. Microsoft Edge replaced Internet Explorer (IE) which was
used in previous versions of Windows Operating System. The Microsoft Edge browser is
represented by the icon shown in Figure 4.4.
Mozilla Firefox
Mozilla Firefox was officially launched in February 2004. It was formerly known as Phoenix, then
Firebird, and eventually Firefox. The browser is represented by the world map symbol. Figure 4.5
shows the icon of the Mozilla Firefox browser.
Opera
Opera is a web browser developed by Opera Software in 1996. It is a well-known browser that is
mainly used in smartphones, Personal Digital Assistants (PDAs), and tablets. It is compatible with
many operating systems such as Solaris, Linux, Mac OS X, and Microsoft Windows.
It is represented by the “O” symbol. Figure shows an icon of Opera web browser.
Modem
A modem is a communication or network device that performs two key processes namely
modulation and demodulation. Through t h e m o d u l a t i o n p r o c e s s , the modem converts
digital signals to analogy signals for transporting over a telephone line. By demodulation, the
modem converts analogy signals from the telephone lines to digital signals. The term modem is
a blended word formed by two words, modulation (Mo) and demodulation (Dem). In a
computer, information is stored in digital form. However, information is transmitted over
telephone lines as analogy waves. The modem, therefore, is an important network device that
allows computers to receive and send information over the telephone lines. See Figure 4.9.
Search Engines
Since the creation of the Internet, people have been storing and sending huge amounts of
information online. The challenge for Internet users is to find and retrieve relevant information
as quickly as possible. This requires special software for doing this task, which led to the creation
of search engines.
Press the enter key: The homepage for the Google website search engine will be opened. The
page will appear as shown in Figure 4.10.
In the Google Search field, enter a question or a topic to be searched. For example, make your
search topic to be “ICT in Education in Tanzania”, similar to Figure 4.12.
Figure 4.12: Specifying a question or topic to be searched
To use Google search to find answers to your search topic, just click on “Google Search”: the
window similar to Figure 4.13 will appear as the result of the search. Several results that match the
searched topic will be displayed (see Figure 4.13) .
Clicking on a link of your choice, you will open a web page or a document, depending on the
content found during the search. Documents can be in Portable Document Format (.pdf), word
document format (.doc), PowerPoint format (.ppt), Excel format (.xls), etc.
You can save the image by right clicking on the picture and selecting Save Image as option, as
shown in Figure 4.16.
Searching for videos takes the same procedure as searching for images. Figure
shows the link to view videos related to a searched topic.
Application of Internet
The Internet provides several services such as e-mail, e-learning, e-commerce, newsgroups,
online forums, video and teleconferencing, and social media.
Electronic mail
Electronic mail (e-mail) is an electronic communication between different people using computers
or other ICT devices such as mobile phones. Communication through e-mail requires a person
to register (sign up) on an electronic program offered freely or through charged services by a
particular website. In an e-mail account, a person can create, save, and receive information
electronically. An example of e-mail address is director.general@tie.go.tz.
Accessing e-mail services
To access e-mail services, you must have an e-mail account, which is associated with an e-mail
address. There are two types of e-mail addresses: commercial e-mail addresses and
organisational e-mail addresses. Most commercial e-mail addresses are personal e-mails.
Commercial e-mail addresses: These are free e-mail addresses that are created on commercial
websites such as Yahoo, Google and Hotmail. Examples of com- mercial e-mail addresses are:
kode2021@yahoo.com (from Yahoo)
kole_kalikela@gmail.com (from Gmail)
nduwi.kaminula@hotmail.com (from Hotmail)
Provide personal information on the form as shown in Figure 4.21, then click Continue.
Figure 4.21: Yahoo mail account registration form
Follow these steps to provide the information required for your Yahoo account:
Fill your personal information including:
Type a password that you will be using to open your account, then click Continue. You will be
asked to verify your phone number. Yahoo will send you a code. This is challenge-response test
used in computing as an attempt to ensure that the response is generated by an authentic person.
Type the code as shown in Figure 4.22, then click Verify.
Figure 4.22: Yahoo account verification code
The message to confirm that your Yahoo e-mail has been registered will be
displayed like what is shown in Figure 4.23.
Click on Done option. The created e-mail account is ready and you can access the account
information. A web page may display greetings bearing your name as shown in Figure 4.24.
Sending an e-mail
On the e-mail account home page, click on Compose: a web page is displayed for you to fill the
e-mail address of a receiver, subject or message heading, and a message to be sent, as illustrated
in the Figure 4.26
To finish sign in, type a password in a specified place as shown in Figure 4.29.
Click Next to open the account as shown in Figure 4.30. Click on Inbox folder to see the
messages in the account.
Figure 4.30: Accessing Yahoo mail
In the Inbox folder, a list of unread messages is shown in bold. The latest message in Figure 4.30 is
from Yahoo, and its subject is “Welcome to email that gets you Get ready to”.
NOTE: In addition to the Inbox, other folders displayed on left hand side of your web
browser are such as unread, starred, sent, spam, archive, and trash. The descriptions of some of
these folders are given next.
Sent: A folder containing messages that have been sent from your account.
Draft: A folder containing messages that are written but not sent.
Spam: A folder containing messages received from suspicious sources.
NOTE: After reading the e-mail message, you can delete the message, print, reply, or forward
it to other recipients. For example, to forward the message, click on be Forward button that
appears above the message and the Compose Message page will appear for you to fill the details
as in the procedure for sending an e-mail.
To reply to the e-mail message, just open that particular e-mail, then click on the Reply
button. The compose e-mail window will appear, but this time the recipient’s address and the
subject will already be there.
Click on Attach File icon to attach a file as shown in Figure 4.34: the computer gives
an option to choose the location where you can find the file you want to attach. In this case, the
options are Desktop, Downloads, Recent places, or other locations in your computer. Click on
the Desktop folder: the dialog box
will be opened as in Figure 4.35.
The attached file can be seen in terms of its size, and file extension. For Yahoo mail, the
maximum file size to be attached should not exceed 25MB. Other email applications might have
different maximum file sizes. If you want to attach another file, you may click on the
Attach More button as seen in Figure 4.38. Complete the task by clicking Send. The message
will be sent and the feedback report will be displayed.
Figure 4.38: Button for attaching more files
Disadvantages of e-Learning
The following are some disadvantages of e-Learning:
• It minimises social interaction between students and teachers.
• Internet connection may be required to access some resources, and Internet can be expensive.
• It requires self-motivation as unmotivated student may waste time on other entertaining sites.
Electronic Commerce
The development of the Internet has also led to the development of online business
transactions, which is termed as electronic commerce (e-commerce). This has significantly
changed the way we do business. E-commerce is a term used to describe a business or
commercial transaction that involves the transfer of business information across the Internet.
It can be a consumer-based retail site, an auction, a music site, or a business exchange.
-commerce allows consumers to electronically exchange goods and services with no barriers
of time or distance. When implemented properly, e-commerce is often faster, cheaper and
more convenient than traditional business methods. E-commerce is used in various business
scales such as retail sale, wholesale, and manufacturing. Examples of e-commerce fora in the
world are such as Jumia, Kupatana, Amazon, KiKUU, eBay, BE FORWARD, and Alibaba online
shopping. Some of the common applications of e-commerce are described in subsequent sections.
Online Marketing
In marketing, e-commerce is used to collect data about customer behaviours, preferences, needs,
and buying patterns. This is possible through web and e-commerce software. Web and
e-commerce software help in marketing and purchasing activities such as price fixing,
negotiation, product features enhancement, customer relationship, purchase, and customer
support. E-commerce also includes advertising products through other sites and software such
as Google ads or ads in YouTube videos.
Online Auctions
In some cases, e-commerce is practiced by direct selling of goods and services among customers.
E-commerce also supports bidding in online auction. Bidding is a part of an auction that allows
prospective buyers to offer a price for an item. For example, in eBay, customers are given an
opportunity to quote online the prices for commodities. A person who quotes higher than others
is given an opportunity to pay for the commodity. Then the goods are sent to him/her via a
courier services such as Post Cargo, EMS, or DHL. In some cases, auctions take place online,
but there is an option to physically collect the goods, e.g., the Tanzania Revenue Authority
(TRA) online auction.
Finance
One application of e-commerce in finance is Electronic Banking (e-banking).
Customers can check balances of their savings and loan accounts, transfer money, and pay their bills
through e-banking. Examples of e-banking services are such as CRDB SimBanking, NMB
Mkononi, and NBC Kiganjani. These e-banking services are also complemented by widerspread
mobile money services such as Airtel Money, M-Pesa, Tigo-Pesa, T-Pesa, Halotel Money, and
EasyPesa. Another application of e-commerce is online stock trading. An example of online
stock trading is Dar es Salaam Stock Exchange (DSE) that also operates electronically.
Manufacturing
commerce is used in the supply chain operations of companies. Some companies form an electronic
exchange by providing both bought and sold goods, trade market information, and run back-
office information such as inventory control. This speeds up the flow of raw material and
finished goods.
Online forums
These are online services where people contribute to written discussion about a particular
subject. To participate in the discussion forum, a person is sometimes required to subscribe using
an e-mail address. Examples of online forums include Google Answers, Quora, and Slide Share.
Online forums can be used for both academic and social purposes.
Exercise 4.2
Review Questions
Define the term Internet.
Explain common features of web browsers.
How can the Internet enhance and promote learning?
How can you use the Internet to enrich your presentations?
The best user of Internet services is the one who considers it as a time saver rather than a time
waster. Discuss.
Suppose the National Examinations Council of Tanzania (NECTA) displayed 2020 National
Form Four Examination Results, and you needed to access the information on the Internet. How
would you go about it?
What is the difference between IP address and MAC address?
List any three services provided on the Internet and their importance.
Your head of school wishes to be connected to the Internet. He/she already has a Personal
Computer (PC), a printer, and access to a telephone line.
However, he/she understands that a modem is needed. State why a modem is required to connect
him/her to the Internet.
Suggest any four application areas in which you would expect a supermarket retail manager to
use the Internet.
What is a website? Provide three examples of websites and their usefulness.
(a) What is meant by the term e-learning?
Explain the importance of e-learning.
List three challenges that are likely to be encountered in e-learning.
(a) What is a network protocol?
(b) Explain the importance of network protocols in computer networks.
(a) Explain the meaning of the following concepts as used in Internet:
Internet Service Provider (ISP)
Web pages
Web browsers
Hyperlink
(b) Name three examples of Internet Service Providers in Tanzania and their contribution to the
social-economic development of the country.
Briefly describe four advantages of using the Internet to
disseminate information compared to conventional methods.
In the following e-mail address, identify the parts labelled as A, B, C, and D.
iat@africaonline.co.tz
A B C D
A file in a school website can be accessed via the following URL:
http://www.tambaza.ac.tz/results/form_2_results.pdf. Briefly explain the parts of this address.