COM 215: Computer Packages II 1
COM 215: Computer Packages II 1
Generally speaking, computer system is a collection of electronic gadget which under the
1
control of a given instructions (programs) facilitates in to accepting, processing of data as
well as transforming it into a prescribed form called information.
Components of computer
1. Hardware
2. Software
Software - Computer programs and related data that provide the instructions for telling
computer hardware what to do and how to do it.
HARDWARE
Hardware components are often categorized as being input, output, storage or processing
components.
Devices which are not an integral part of the CPU are referred to as peripherals.
SOFTWARE COMPONENT
Software components of a computer system have no physical presence; they are stored in
digital form within computer memory.
1. System software
2. Applications software
System software is the software used to manage and control the hardware components and
which allow interaction between the hardware and the other types of software.
1. Operating system
APPLICATION SOFTWARE
Application software is programs designed to perform specific tasks for users. Application
software can be used as a productivity/business tool; to assist with graphics and multimedia
projects; to support home, personal, and educational activities; and to facilitate
communications.
1. Word Processing software: this is used to create worksheets, type letters, type
papers, etc.
Examples
MS Word
WordPerfect
MS Works
AppleWorks
2. Desktop Publishing software: these are use to make signs, banners, greeting cards,
illustrative worksheets, newsletters.
Examples
Adobe PageMaker,
MS Word
MS Publisher
AppleWorks
Quark Express.
Examples
MS Access
Filemaker Pro
AppleWorks
MS Works.
Examples
MS PowerPoint
AppleWorks (slideshows)
HyperStudio
HyperCard
Digital Chisel,
SuperCard
6. Internet Browsers - This software allows one to surf the Web. Often they can read
email and create Web pages too.
Examples
Example
Adobe Photoshop
Paint Shop Pro
AppleWorks
MS Works, MS Paint (comes free on Windows PC's)
Painter
8. Graphics Programs (vector-based) - This software creates graphics that are similar
to illustrations or cartoon drawings.
Example
Adobe Illustrator
Corel Draw
AppleWorks
Fireworks.
SPREADSHEET SOFTWARE
A spreadsheet is an interactive computer application for organization, analysis and storage
of data in tabular form. The program operates on data entered in cells of a table. Each cell
may contain either numeric or text data, or the results of formulas that automatically calculate
and display a value based on the contents of other cells.
MICROSOFT EXCEL
Excel is a computer software program designed to create spreadsheets. It also includes many
formulas and other tools to complete statistical analyses.
Excel window
COMPONENTS OF MS-EXCEL
Next to the Microsoft Office button is the Quick Access toolbar. The Quick Access toolbar
gives you with access to commands you frequently use. By default, Save, Undo, and Redo
Next to the Quick Access toolbar is the Title bar. On the Title bar, Microsoft Excel displays
the name of the workbook you are currently using. At the top of the Excel window, you
should see "Microsoft Excel - Book1" or a similar name.
The Ribbon
You use commands to tell Microsoft Excel what to do. In Microsoft Excel 2007, you use the
Ribbon to issue commands. The Ribbon is located near the top of the Excel window, below
the Quick Access toolbar. At the top of the Ribbon are several tabs; clicking a tab displays
several related command groups. Within each group are related command buttons. You click
buttons to issue commands or to access menus and dialog boxes. You may also find a dialog
box launcher in the bottom-right corner of a group. When you click the dialog box launcher, a
dialog box makes additional commands available.
Microsoft Excel consists of worksheets. Each worksheet contains columns and rows. The
columns are lettered A to Z and then continuing with AA, AB, AC and so on; the rows are
numbered 1 to 1,048,576. The number of columns and rows you can have in a worksheet is
limited by your computer memory and your system resources.
The combination of a column coordinate and a row coordinate make up a cell address.
Formula Bar
If the Formula bar is turned on, the cell address of the cell you are in displays in the Name
box which is located on the left side of the Formula bar. Cell entries display on the right side
of the Formula bar. If you do not see the Formula bar in your window, perform the following
steps:
The Status bar appears at the very bottom of the Excel window and provides such
information as the sum, average, minimum, and maximum value of selected numbers.
+ Addition
- Subtraction
* Multiplication
/ Division
^ Exponential
In the following exercises, you practice some of the methods you can use to move around a
worksheet and you learn how to perform mathematical calculations.
Note: Clicking the check mark on the Formula bar is similar to pressing Enter. Excel records
your entry but does not move to the next cell.
SUBTRACTION
10
4. Type Subtract.
5. Press Enter. Excel moves down one cell.
6. Type 6 in cell B2.
7. Press Enter. Excel moves down one cell.
8. Type 3 in cell B3.
9. Press Enter. Excel moves down one cell.
10. Type =B2-B3 in cell B4.
11. Click the check mark on the Formula bar. Excel subtracts cell B3 from cell B2 and
the result displays in cell B4. The formula displays on the Formula bar.
MULTIPLICATION
1. Hold down the Ctrl key while you press "g" (Ctrl+g). The Go To dialog box appears.
2. Type C1 in the Reference field.
3. Press Enter. Excel moves to cell C1
4. Type Multiply.
5. Press Enter. Excel moves down one cell.
6. Type 2 in cell C2.
DIVISION
1. Press F5.
2. Type D1 in the Reference field.
3. Press Enter. Excel moves to cell D1.
4. Type Divide.
5. Press Enter. Excel moves down one cell.
6. Type 6 in cell D2.
7. Press Enter. Excel moves down one cell.
8. Type 3 in cell D3.
9. Press Enter. Excel moves down one cell.
10. Type =D2/D3 in cell D4.
11. Click the check mark on the Formula bar. Excel divides cell D2 by cell D3 and
displays the result in cell D4. The formula displays on the Formula bar.
When creating formulas, you can reference cells and include numbers. All of the following
formulas are valid:
=A2/B2
=24+53
AUTOSUM
You can use the AutoSum button on the Home tab to automatically add a column or row
of numbers. When you press the AutoSum button, Excel selects the numbers it thinks you
want to add. If you then click the check mark on the Formula bar or press the Enter key,
Excel adds the numbers. If Excel's guess as to which numbers you want to add is wrong, you
can select the cells you want.
1. Go to cell F1.
2. Type 3.
3. Press Enter. Excel moves down one cell.
9. Click the AutoSum button in the Editing group. Excel selects cells F1 through F3
and enters a formula in cell F4.
10. Press Enter. Excel adds cells F1 through F3 and displays the result in cell F4.
Range reference refers to all the cells between and including the reference. A range
reference consists of two cell addresses separated by a colon. The reference A1:A3 includes
cells A1, A2, and A3. The reference A1:C3 includes cells A1, A2, A3, B1, B2, B3, C1, C2,
and C3.
Understanding Functions
Functions are prewritten formulas. Functions differ from regular formulas in that you supply
the value but not the operators, such as +, -, *, or /.
For example, you can use the SUM function to add. When using a function, remember the
following:
=SUM(2,13,A1,B2:C7)
In this function, the equal sign begins the function.SUM is the name of the function.2, 13,
A1, and B2:C7 are the arguments.
Parentheses enclose the arguments. Commas separate the arguments. After you type the first
letter of a function name, the AutoComplete list appears. You can double-click on an item in
the AutoComplete list to complete your entry quickly. Excel will complete the function name
and enter the first parenthesis.
EXERCISE 1
Functions
15
Calculate an Average
You can use the AVERAGE function to calculate the average of a series of numbers.
Note: You can also use the drop-down button next to the AutoSum button to calculate
minimums, maximums, and counts.
You can use the MAX function to find the highest number in a series of numbers.
19
DATA ANALYSIS
One of the most useful ways to begin an initial exploration of data is to use techniques that
result in a graphical representation of the data. These can quickly reveal characteristics of the
variable being examined. There are a variety of graphical
BAR CHART
Example1
The school of sciences comprises of different lecturers form different departments. To have
the statistics of number of publications of lecturers in the college The report of some
publications in 2017 summarized data collected by observing four lecturers. In total, there
were 2 publications by Haliru Ibrahim Wala, 4 publications of Mal. Kabiru Yunusa, 5
publications of Ahmad Maccido and 3 publications by Mr. Jude Nwoji.
In this example, we will use the publications data to create a bar chart. Begin by entering the
data into the Excel spreadsheet. Enter the Lecturers into column A and title it Lecturers.
Enter the number of publications into B, titling it Publications. Once the dataset is entered,
you screen should look like the next image.
20
21
PIE CHARTS
Still we can use the previous example to make a pie charts as shown below
To achieve that, nearly the same procedure with a bar chart but only varied in the selection of
data presentation format
1. First of all select the inserted data
2. Click Insert and select Pie> Pie and select the first option under 2-D Column.
Excel will automatically select the data entered and create a pie chart. You should
see the following pie chart.
Data frequency table refers to a way of presenting a summary of the data in such a manner
that it facilitates the possibility of seeing patterns or relationships in the data. A data
frequency table shows how many times each data point (observation or outcome) occurs in a
given data set. Distributions may take different shapes and this example we will consider data
which is typical of that obtained from the questionnaire concerning the computer literacy of
School of Business and another 30 completed and usable questionnaires from students from
the School of Science. We have 60 data points in all.
The 30 respondents from the Students supplied the following number of months
working experience:
23 28 29 34 34 39 43 44 45 45 48 48 49 54 54
54 55 56 56 65 65 65 67 73 76 76 77 78 87 92
The set of have been reproduced across columns. Having entered the data, it is possible to
create a data frequency table by just counting the number of times each data point occurs.
However, it is often the case that it is better to group data into intervals such as 10-19, 20-
29 etc. This occurs with data for quantitative variables such as age, weight, income etc,
where there are likely to be many different outcomes.
The first step in producing a Frequency Table is to establish the range of the data. The
range for this set of data is 69.
The second step is to decide the number of group’s intervals into which the data should be
divided. A heuristic for this is that the data may be grouped into the number of intervals
represented by the square root of the sample size. As the sample size is 30 five or six groups
would be appropriate in this exercise. It is useful to keep the width of the intervals constant
except perhaps for the first and final groups. In this example we have used interval markers
of under 25, 36, 48, 60, 72 and greater than 72. These numbers need to be entered in
different side.
Excel has a function which allows data frequency tables to be constructed which is
24
Mean
Median
Mode
N-VALUE
Before we calculate the measures of central tendency, we need to find out the value of N ( the number
of subjects or observations). The way to do this in excel is to use the Count() function over the range
of values.
=count(range)
Example
To find the n of the following data, you are expected to inter it either in a one column or as it
is.
OBSERVATION
12 14 29
18 15 10
14 12 17
10 9 14
And then select a cell which you want to hold the result and then, key in the count function
and pass the range as shown in the next figure.
MEAN
In the case of Mean there is a built in Excel function that returns the mean as its value
=Average(Range)
For example to get the mean of the data above, you are going to use the function average()
and pass the rage.
=AVERAGE(A2:C5)
26
MODE
Likewise the mode, there is a function with can retune the mode of a given distribution
The syntax for this computation is:
=Mode(Range)
MEDIAN
The syntax for this computation is
=Median(Range)
27
1. Range
2. Mean Absolute Deviation
3. Variance / Standard Deviation
RANGE
Conventionally, a range for a given series of data could be obtained by subtracting the
minimum unit of data from the maximum simply:
So, in excel there is no predefine function that can return that, there for it could be compute
by determine the maximum data value as well as the minimum hence we apply the function
=MAX() for maximum and =MIN() for minimum
28
Therefore, the range formula which is Range = max – min could now be applied since both
max and min value were obtain in D7 and E7 respectively.
Syntax
VARIANCE
To calculate statistical variance in Microsoft Excel, use the built-in Excel function VAR
Syntax:
30
STANDARD DEVIATION
The STDEV function returns the standard deviation for data that represents a sample.
To calculate the standard deviation for an entire population, use STDEVP or
STDEV.P.
MEASURES OF ASSOCIATION
The measures of association refer to a wide variety of coefficients that measure the
statistical strength of the relationship on the variables of interest; these measures of strength,
or association, can be described in several ways, depending on the analysis.
Correlation Coefficient
We usually use correlation coefficient (a value between -1 and 1) to display how strongly two
variables are related to each other. In Excel, the CORREL function is used to find the
correlation coefficient between two variables
Example
Let find the correlation between age and height of a given number of students
A college bookstore must order books two months before each semester starts. They believe
that the number of books that will ultimately be sold for any particular course is related to the
number of students registered for the course when the books are ordered. They would like to
develop a linear regression equation to help plan how many books to order. From past
records, the bookstore obtains the number of students registered, X, and the number of books
actually sold for a course, Y, for 12 different semesters. These data are below.
32
Actually, there are two ways to do a linear regression analysis using Excel. The first is done
using the Tools menu, and results in a tabular output that contains the relevant information.
The second is done if data have been graphed and you wish to plot the regression line on the
graph. Using the Tools menu
In order to do this version of the linear regression analysis, in Excel, you have to begin by
creating a data table that has the independent and dependent variables. This table has to have
the data in columns, not rows, in order for the regression to work properly. A sample data
table is shown below.
33
To do the linear regression, go to the Tools Menu and select Data Analysis. From the Data
Analysis window select Regression. That will open a wizard that will look like the picture
below:
In the Output Options section, you have the opportunity either to have the result of the
regression analysis put on a new, blank page in your Excel workbook, or to be located on the
same page as the data. To locate the result on the same page as the data, click in the button
labeled Output range, and then click in the box to the right of that button to move your
cursor there. Now, click on a cell that you want to be the upper left hand corner of the output
and that cell location will be put into the wizard. Click the OK button and the result of the
regression analysis will be located in the spot that you have chosen.
DATABASE SOFTWARE
Accessing data
Inserting, updating, and deleting data
Security
Integrity, facilitated by:
o Locking
o Logging
o Application-defined rules, including triggers
Supporting batch and on-line programs
Facilitating backups and recoveries
Optimizing performance
Maximizing availability
Maintaining the catalog and directory of database objects
Managing the buffer pools
Acting as an interface to other systems programs
Supporting user interface packages, such as the popular SQL interface for
relational database systems
In the early days, database applications were built on top of file systems.
Types of Database
Relational Databases
This is the most common of all the different types of databases. In this, the data in a relational
database is stored in various data tables. Each table has a key field which is used to connect it
to other tables. Hence all the tables are related to each other through several key fields.
What is DBMS?
DBMS Stands for Database Management System; is a technology tool that directly supports
data management. It is a package designed to define, manipulate, and manage data in a
database.
Functions of a DBMS
1. Designed to allow the definition, creation, querying, update, and administration of
databases
2. Define rules to validate the data and relieve users of framing programs for data
maintenance
3. Convert an existing database, or archive a large and growing one
4. Run business applications, which perform the tasks of managing business processes,
interacting with end-users and other applications, to capture and analyze data
Example of DBMSs
1. Microsoft SQL Server
2. Microsoft Access
3. Oracle
4. SAP etc
MICROSOFT ACCESS
ELEMENTS OF MS-ACCESS
Microsoft access has some prominent elements / objects that facilitate in data persistency as
well as manipulation, these includes:
1. Table
2. Query
3. Report
4. Macro
5. Modules
TABLE
In Access, data is stored in tables. A table is a set of columns and rows, with each column
referred to as a field. Each value in a field represents a single type of data. Each row of a
table is referred to as a record.
QUERIES
You use queries to retrieve specific information from your database based on the criteria set
to it. For example, you can use a query to find the names of the employees in your database
who live in a particular state.
FORM
Forms give you the ability to choose the format and arrangement of fields. You can use a
form to enter, edit, and display data.
REPORTS
MACROS
Macros give you the ability to automate tasks. You can use a macro to add functionality to a
form, report, or control.
MODULES
Like macros, modules give you the ability to automate tasks and add functionality to a form,
report, or control. Macros are created by choosing from a list of macro actions, whereas
modules are written in Visual Basic for applications.
CREATE A DATABASE
When you start Access, the Getting Started with Microsoft Office Access screen appears..
You can create a blank database or you can use one of the templates provided by Microsoft.
When you use a template, Access creates forms you can use to enter data, reports you can use
to retrieve data, and more. You can modify the forms, reports, and other objects to suit your
needs. This tutorial will teach you how.
1. Start Access.
2. Click Blank Database.
3. Type the name you want to give your database in the File Name field. Access will
automatically append .accdb to the name.
4. Click the Browse button. The File New Database window appears.
5. Locate the folder in which you want to store your database. Note that the name of the
file appears in the File Namefield.
6. Click OK.
7. Click the Create button. Access creates the database and opens a datasheet with the
Table Tools available to you.
40
1. Start Access. The Getting Started With Microsoft Office Access screen appears.
2. Click Local Templates. Icons representing local templates appear in the center of the
window.
3. Click the icon for the template you want to use.
4. Click the Browse button. The File New Database window appears.
5. Locate the folder in which you want to store your database.
6. Click OK.
7. Click Create. Access creates and opens your database.
41
What is a Datasheet?
In Access, data is stored in tables. A datasheet displays the information stored in a table in
columns and rows. The columns are called fields and the rows are called records. You can
use a datasheet to create a table, enter data, retrieve data, and perform other tasks.
What is a Table?
A table is a set of columns and rows. Each column is called a field. Within a table, each field
must be given a name and no two fields can have the same name.Each value in a field
represents a single category of data.
42
43
SELECT field name FROM database's table name WHERE conditional clause
For example, to find all professors earning more than N75,000, a suitable query might be:
MICROSOFT WORD
Uses of MS-word
Microsoft Word is a word-processing application that can be part of the Microsoft Office
suite or a stand-alone program installed on to your computer.
Follow these step-by-step instructions to start a document in Microsoft Word.
Step 1: From the desktop or from your ‘Start’ menu, open Microsoft Word.
Step 2: Microsoft Word will open up and present you with an option to select a document
template, or a blank document.
Step 3: If you don't want to use any of the templates on display, click on the blank document.
Step 4: A new blank document will open up ready for you to start typing.
Components of MS-word
45
1. Title bar
2. Menu bar
3. Tools bar
4. Ruler
5. Text Area
6. Document viewer
7. Status bar
8. The Title bar – It displays the name of the window.
9. The Task Bar – This is found at the bottom of the desktop. It contains the start
button, the Quick launch toolbar and the task bar tray (Which contains the clock and
other icons.)
10. The Status Bar – This is found at the bottom of the window. It provides information
about the current state of what is being viewed on the window and any other
contextual information.
11. The Toolbars – It provides a quick way to access task. Most toolbar correspond to a
menu command.
12. The Scroll bar – If a window is not enough to display all the information, a scroll bar
appears at the side (either vertically or horizontally) of the window. It can either be
dragged or clicked.
Document View
In Word, you can display your document in one of five views: Normal, Web Layout, Print
Layout, Reading Layout, or Online Layout.
Normal View
Normal view is the most often used and shows formatting such as line spacing, font,
point size, and italics. Word displays multiple-column text in one continuous column.
Web Layout
Web layout view enables you to view your document as it would appear in a browser
such as Internet Explorer.
Print Layout
The Print Layout view shows the document as it will look when it is printed.
Reading Layout
Reading Layout view formats your screen to make reading your document more
comfortable.
Outline view
Outline view displays the document in outline form. Headings can be displayed
without the text. If you move a heading, the accompanying text moves with it.
TOOLS BAR
47
Before you get started with Word, there are a few concepts with which you need to be
familiar. This lesson explains those concepts.
Click
Options
Highlighting Text
Highlighting Menu Items
Placing the Cursor
Menu Commands Using the Alt Key
Shortcut Notations
Starting a New Paragraph
Options
The following is an introduction to various features of the Microsoft Word screen.
Highlighting Text
Throughout these lessons, you will be asked to highlight text. You can use either of the
following methods:
1. Place the cursor before or after the text you wish to highlight and click the left mouse
button.
2. Press the F8 key, which will serve as an "anchor" showing where text you wish to
highlight begins or ends.
3. Press the appropriate arrow key (left arrow to move to the left or right arrow to move
to the right) until the text is highlighted. You can use the up or down arrow key to
highlight one line at a time. Press Esc to remove the anchor.
1. Place the cursor before or after the text you wish to highlight.
2. Hold down the left mouse button.
Menu Bar
When you click any option on the Menu bar, a drop-down menu appears. To choose a drop-
down menu item:
Or
During this lesson, you will often be asked to place the cursor at a specific location on the
screen. You place the cursor by moving the cursor to the specified location and pressing the
left mouse button or by using the arrow keys to move to the specified location.
There are many methods to accomplish tasks when you are using Microsoft Word. Generally,
when selecting items from the menu. However, you can also select a menu option by:
1. Pressing the Alt key while typing the underlined letter on the Menu bar.
1. Hold down the Alt key and press "o" to select Format from the menu.
2. Press "p" to select Paragraph from the drop-down menu.
3. Hold down the Alt key and press "i" to select the Indents and Spacing tab.
4. Hold down the Alt key and press "b" to select before from the Spacing frame.
5. Press Enter to close the dialog box.
Shortcut Notations
A key name followed by a dash and a letter means to hold down the key while pressing the
letter. For example, Alt-O means you should hold down the Alt key while pressing "o" A
shorthand notation of the above demonstration would read as follows:
1. Press Alt-o, p.
2. Press Alt-i.
3. Press Alt-b.
4. Press Enter.
Typists who are slowed down by using a mouse usually prefer using keys.
When you type in Microsoft Word, you do not need to press a key to move to a new line as
you do when typing with a typewriter. To start a new paragraph, press the Enter key.
You have completed this lesson. Typically, you would save your work before exiting. This
lesson does not require you to enter any text, so you might have nothing to save. To exit
Microsoft Word:
The exercises that follow will teach you how to enter and delete text. To enter text, simply
type just as you would if you were using a typewriter. To capitalize, hold down the Shift key
while typing the letter. Use the Backspace key to delete text. You do not need to press Enter
to start a new line -- Microsoft Word automatically wraps at the end of the line. Press Enter to
start a new paragraph.
Exercise 1
2. Now delete the name "Ahmad" Using either the arrow keys or the mouse, place
the cursor between the “d” of the name Ahmad and the "M" that is the first
alphabet of the name Maccido.
You can also delete text by using the Delete key. First, highlight the text you wish to delete,
then press the Delete key.
Exercise 2
Delete the word "Maccido" from the sentence you just typed.
Inserting Text
To insert text, you must be in the Insert mode. To check to see whether you are in the Insert
mode, look at the Status bar, located at the very bottom of the screen.
Look at the right side of the Status bar. If the letters "OVR" are gray, you are in the Insert
mode. If the letters "OVR" are black, you are in the Overtype mode.
Insert Mode
Overtype Mode
Alternatively
1. Press Alt-t, o.
You can bold, underline, or italicize when using Word. You also can combine these features
in other words, you can bold, underline, and italicize a single piece of text. In the exercise
that follows, you will learn three different methods for bolding, italicizing, or underlining
when using Word. You will learn to bold, italicize, or underline by using the menu, an icon,
or the keys.
Exercise 3
Type the following exactly as shown. Remember, pressing the Enter key starts a new
paragraph.
Press the Enter key at the end of each of the following lines to start a new paragraph.
1. On the line that begins with "Icon," highlight the word "Bold." To do so, place the
cursor before the letter "B" in "Bold." Press the F8 key; then press the right arrow key
until the entire word is highlighted.
Note: To turn off bold, highlight the text and press the Bold icon again.
Note: To turn off italics, highlight the text and press the Italic icon again.
Note: To toggle Italic off, press Ctrl-i again. You can also remove formatting by
pressing Ctrl-spacebar.
You can underline when using Word. The following are some of the underlines format:
2. Click the Underline icon on the toolbar. You will get a single underline.
SAVE FILE
You must save your files if you wish to recall them later. Before you can save, you must give
your file a name. To save your file and close Word, follow the instructions given in the
subsequent pages.
OPEN FILE
To continue working on a file you previously saved, you must open the file. To open the file
you used in Lesson 3:
56
CUT AND PASTE
In Microsoft Word, you can cut (delete) text from one area of a document and save that text
so it can be pasted elsewhere in the document. When you cut text, it is stored on the
Clipboard. You can also copy text. When you copy text, it is also stored on the Clipboard.
Information stored on the Clipboard stays there until new information is either cut or copied.
Each time you execute Cut or Copy, you replace the old information on the Clipboard with
whatever you just cut or copied. You can paste Clipboard information as often as you like.
Exercise 3
1. Place the cursor after the period in the sentence "I am content where I am."
2. Press the spacebar to leave a space.
3. Choose Edit > Paste from the menu.
4. Your text should now read
"I am content where I am. I want to move."
FONT SIZE
In Microsoft Word, you can change the size of your font (text). The following exercise
illustrates changing the font size.
1. Highlight:
"I am the smallest. I am a little bigger. I am the biggest."
2. Press Ctrl-spacebar to set the formatting back to the default.
3. Highlight "Smallest."