CSC 111 Practical Lab Manual
CSC 111 Practical Lab Manual
LABORATORY MANUAL
1
WEEK 1: INTRODUCTION
1.0 Objectives
Students are expected to know the do’s and don’ts of using the lab
Students are expected to know what a computer is
The Laboratory has been the birth place for scientific innovation throughout History and the
twenty first century cannot be left out. The development in Science has given rise to different
laboratories such as Biology Laboratory, Physics Laboratory and Chemistry Laboratory, the 3
Science Fields which has always been the basis for creating science Laboratory.
With the evolvement in the field of Computing, necessity has given birth to a new Laboratory,
which is the Computing Laboratory it has different aspects such as the Computer Science
Laboratory, Mathematical Laboratory, and Geo informatics among many others.
A laboratory can be defined as a place where scientific research and testing is carried out, a
room for teaching Science or a place with appropriate equipment for teaching Science or doing
scientific work. The Vision of the Federal University Lafia can only be achieved in the
Laboratory! Innovation has to be imbibed for creativity towards excellence. I beseech you
therefore to see the laboratory course as a very important part of your studies in this
Institution.
The Laboratory manual on the Introduction to Computer Science is expected to be a guide for
the first year study, the content are simple and explanatory enough for a first year student.
We hope you find it interesting enough for you to desire to know more!
The computers are for use by all students. Do not over burden the machines by storing
files or downloading programs on local hard drives, this includes your desktop.
Mobile phones and electronic devices should be in silent mode during practical sessions
2
You may use the printers and plotter only for class related purposes. Your printer use
will be monitored
Do not connect any external device to the computer unless you are told to do so
Files stored on local hard drives may be deleted without warning. This includes the
“Desktop” of the machine, do NOT delete any file until you are asked to do so
The minimum requirements for a computer system generally include a keyboard, a central unit
(comprising a CPU and memory) and a monitor. The data is usually entered via the keyboard
and the information is usually presented through a monitor screen.
Education
Medicine
Business
Banking
3
Government
Defense
Communication
This generation is often described as starting with the delivery of the first commercial computer
to a business client. This happened in 1951 with the delivery of the UNIVAC to the US Bureau of
the Census. This generation lasted until about the end of the 1950’s. The main feature of the
first generation of computers was that vacuum tubes were used as internal computer
components. They were very large computers and very expensive, generate a lot of heat and
consume a lot of power.
In the mid-1950’s Bell Labs developed the transistor. Transistors were capable of performing
many of the same tasks as vacuum tubes but were only a fraction of the size. The first
transistors-based computer was produced in 1959. Transistors were not only smaller, enabling
computer size to be reduced, but they were faster, more reliable and consumed less electricity
In 1965, the first integrated circuit (IC) was developed in which complete circuits of hundreds of
components were able to be placed on a single silicon chip 2 or 3mm square. Computers using
IC’s soon replaced transistor based machines. The size of computers also reduced during this
period. Computer software became much more powerful and flexible and for the first time,
more than one program could share the computer resources at the same time (multi-tasking).
In 1970, large-scale integration was achieved where the equivalent of thousands of integrated
circuits were crammed onto a single silicon chip. This development again increased computer
performance whilst reducing computer size and cost. Around this time, the first complete
general-purpose microprocessor became available on a single chip.
4
The Fifth Generation (The Future)
This generation of computers is referred to as future computers. The main requirements of the
5G machines were that they incorporate the features of Artificial Intelligence, Expert Systems
and Natural Language. The goal is to produce machines that are capable of performing tasks in
similar ways to humans, are capable of learning and are capable of interacting with humans in
natural language, capable of recognizing voices and have human senses.
5
WEEK 2: COMPONENTS OF A COMPUTER
2.0 Objectives
Students are expected to know the difference between a hardware and software
Students should be able to identify the peripherals of a computer and know their
functions.
Central Processing Unit (CPU): It is the device responsible for the processing of data and
instructions carried out by the computer.
6
Fig 2.0: Intel Xeon CPU
Motherboard: it is the board used to interconnect every component in the system unit.
It also holds the ports that connect the other peripherals which are not a single unit
with the system unit.
Fig 2.1:
Schematics
of a Motherboard
Visual Display Unit (VDU) or Monitor: This is an output device that is used to display
input or processed data. It displays visuals of what the user or the computer is doing per
time.
7
Fig 2.2: a flat screen monitor
Keyboard: it is an input device used to key-in data by users into the computer for
storage or manipulating purposes or as instructions to the computer.
8
Mouse: it is an input device that is used to pass instructions and commands to the
computer. It has two buttons called the left and right click and a roller. The left click
button is used to select text, files, folders and icons and when clicked twice in quick
succession on an object, it gives the computer instructions to open the object. The right
click button is used to access more options of commands that can be carried out on
particular objects.
Random Access Memory (RAM): It is a storage device that is used to temporarily store
data. It is referred to as volatile memory because data stored in it are lost when there is
a sudden loss of power and the computer shuts down. The size of a RAM influences the
speed of processing of data i.e. the larger the capacity of the RAM the faster the
computer processes data.
9
Fig 2.5: RAM chips
Read Only Memory(ROM): This is a storage device that is used to keep data used by the
computer for startup and other hardware specific information. It is non-volatile because
when power is lost, the data in it are not lost.
10
Fig 2.7: a 1.0 terabyte (TB) Hard disk
Power pack: this is used to regulate input power into the computer so as not to cause
damage to the components of the system unit.
11
Fig 2.10: power cable
12
WEEK 3: USING A COMPUTER
3.0 Objectives
Students are expected to know how to interconnect the peripherals and hardware
components of the computer
Students are expected to know how to start up a Computer
They are expected to know the components needed to have a working computer
They are expected to distinguish between the input and output devices
Students should be able to know how to handle the mouse
Connect the keyboard to the system unit which like the mouse, can be done using a
PS/2 port, USB and wireless. When using PS/2, connect the keyboard to the PS/2
port behind the system unit. The port and the keyboard connector are usually
coloured green for easy identification. When using USB, connect the USB end
connector of the keyboard to any of the USB ports available on the system unit.
Connect the VDU to the system unit using the DB cable provided behind the system
unit. The end of the DB cable to be connected to the system unit have pins which
vary in number from cable to cable (usually 9, 16 and 25) while the DB port on the
system unit has holes that the pins insert into. Connect the DB cable and screw the
cable tightly to the system unit.
Connect the power cable of the system unit to the power pack behind the system
unit.
13
After the above connections are made, the system is ready to be connected to a power
source either directly to the wall jack or to an Uninterrupted Power Supply (UPS) and to be
started.
14
In order to use your computer effectively, you must interact with it using both the mouse and
the keyboard. The above image of a keyboard may closely resemble (if it is not identical to) the
keyboard in front of you; learning the function of just a few keys will help you to interact better
with your computer and individual programs. The following is a list of commonly used keys that
have special functions (keep in mind that key functions can change depending on which
program you are using):
5. Tab: This key will indent what you type, or move the text to the right. The default indent
distance is usually ½ inch.
6. Caps Lock: Pressing this key will make every letter you type capitalized.
7. Control (Ctrl): This key, when pressed WITH another key, performs a shortcut.
8. Enter: This key either gives you a new line, or executes a command (pressed in a word
processing program, it begins a new line).
9. Number Keypad: These are exactly the same as the numbers at the top of the keyboard;
some people just find them easier to use in this position.
10. Arrow Keys: Like the mouse, these keys are used to navigate through a document or
page.
The mouse is your most useful tool when working with Windows! It allows you to quickly select
and run programs by simply clicking a button.
15
Fig 2.1 the mouse
1.Pointing Move your mouse so that the cursor points to an item on the screen.
2. Clicking Hold the mouse still, and click the left mouse button once. Clicking usually selects an
object (highlighting it) or opens a menu or window.
3. Double-clicking Hold the mouse still and click the left mouse button twice in quick
succession. Double-clicking is usually used to open a program or file, or to expand a folder so
that you can see its contents.
4. Right-clicking Hold the mouse still, and click the right mouse button once. Right clicking
usually opens a context-sensitive menu that provides you with a set of relevant options.
5. Dragging Position your mouse on an object, hold down the left mouse button, and drag the
object before releasing the button.
16
Specify the account type e.g. Administrator, Guest or Standard
Click on Create account
Click the new account created
Click on create password
Type the password for the account
Type the same password in the Confirm password text box provided
Click create password
Locking a computer simply means hiding your open windows and desktop while displaying a
login window until the right password for the user account that is running is entered. To
lock a computer, follow the steps below;
Shutting down is to turn off the computer i.e. shutting every system resource from running.
17
3. Point the mouse to a blank area of the desktop, right-click to open a pop-up menu, and
use your mouse to select the option for arranging icons by name.
4. Right-click on the My Computer icon to view its pop-up menu. Click an empty area on
the screen or else press [ESC] on the keyboard to close the menu.
5. Double-click on the My Computer icon to open its window. Then click the X in the top
right corner to close it again.
6. Create two user accounts one named your first name and the other your last name.
7. Log in using the first name account and then lock it and switch to the last name account.
18
WEEK 4: INTRODUCTION TO THE WINDOWS OPERATING SYSTEM
4.0 Objectives
Students are expected to know
What an operating system is
The functions of operating system
The types of operating system
How to do simple Windows settings
How to start and close an application
How to create shortcuts on the desktop
How to create files and folders
How to rename files and folders
The Operating System is the most important program that runs on a computer, which manages
and controls a computer’s activities. Without an operating system, computer hardware and
application software would be useless. An operating system is a computer program that
manages the resources of a computer and allows other programs to run as well. The most
popular is the windows operating system; others are Mac OS, and Linux.
19
identify at which time the CPU will perform which operation; which portion of memory is used
by which programs, which Input and Output Devices are used by which programs.
20
4.1.7 Protection System
If a computer system has multiple users and allows the concurrent execution of multiple
processes, then the various processes must be protected from one another’s activities.
Protection refers to a mechanism for controlling the access of programs, processes, or users to
the resources defined by the operating system.
21
4.2.4 Multi-user Operating Systems
These Operating Systems allow multiple users to access a computer system concurrently. The
Operating Systems must make sure that each of the programs they are using has sufficient and
separate resources so that a problem with one user doesn’t affect the entire community of
users. Mainframe Operating Systems are an example of multi-user Operating Systems.
22
4.3.3 Setting the system clock and date
Click on the Start menu
Click on Control Panel
Click on Date and Time
Click on Change Date and Time
Set the date and time and click ok
In the next window click apply and then OK
Alternatively,
A shortcut to doing this is by double clicking the icon of the application on the desktop if
available.
4.4 Week4PracticeExercice
1. Open the my computer window by double-clicking on its icon
2. Move the computer window to a new position on the screen by dragging its title bar.
3. Click on the view menu to see the available options
4. Change your view options to menu and change it back to icons
5. Practice maximizing, restoring and closing your Computer window
6. Hibernate, Lock, restart and shut down the computer system
23
7. Click on the start button
8. Select All Programs.
9. Navigate your way to the Microsoft Word program
10. Open Microsoft Word
11. Close Microsoft Word
12. Open Windows Explorer and identify your C: drive.
13. Click on the time and date icon on the task bar, click on it to set the date and time on
the computer.
24
WEEK 5: INTRODUCTION TO MICROSOFT WORD
25
5.3 Microsoft Word Environment
When Microsoft Word is opened and ready for use, the environment looks like the
context of figure 4.2.
Cursor
Vertical Scroll Bar
Text area
View Choices
Status Bar
To the right of the Microsoft Office button is the Quick Access toolbar. This provides you with
access to commands you frequently use. By default Save, Undo and Redo appear on the Quick
26
Access toolbar. You can use Save to save your file, Undo to rollback an action you have taken
and Redo to reapply and action you have rolled back.
Next to the Quick Access toolbar is the Title bar. The Title bar displays the title of the document
on which you are currently working.
The Ribbon is located near the top of the screen, 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. The Ribbon is used to issue commands.
The Status bar appears at the very bottom of your window. It displays document information
such as cell mode, office theme name and current display zoom percentage. Also, at the right-
hand side of the status bar are some Office programs such as view shortcut buttons, Zoom
slider and fit to Window button.
Click the Office button and select New. You can also use Word’s previous menu structure by
pressing Alt+F (simulating the File menu) followed by N to select the new option. The New
Document window appears.
Type the New Document window enables you to create a blank document by clicking the Blank
Document option. Several other options appear, and most of them are related to templates you
can use to create highly specific kinds of documents.
Scroll down the New Document window to see additional templates as well as more online
templates. Most of the time you’ll want to create a blank document instead of going to the
Office website to peruse additional material.
27
5.5.4 Select Blank Document
Although the Blank Document option toward the top of the New Document window might
seem fairly insignificant given its appearance amid all the other template-related options in the
window, most users select the Blank Document option when creating a new document.
Click the Office button and select Open. You can also follow previous Wordversions’ menu
command structure and select File, Open to display the Opendialog box.
The document you want to open might not appear at the default locationshown in the Open
dialog box, so navigate to the folder in which the documentyou’re looking for resides using the
Windows navigation links.
(You can open documents from your computer’s disk or from elsewhere in the file system.If
you want to open a document located on the Web, preface the filename with http:// or ftp: //
to open document files from those sources).
When you locate the folder that holds the document file, select the file youwant to open. Then
click the Open button to open the selected file in Word’sediting workspace.
28
5. Move the cursor over the list of fonts.
6. Click the font name to select the font you want.
1 2
5 6
29
5.6.4 Change Text Colour
Select the text and click the Font Colourbutton included on the Font Group of the
Ribbon.
Select the colour by the down arrow next to the Font Colour button.
30
WEEK 6: INTRODUCTION TO MICROSOFT EXCEL
6.1 Introducing Excel
Excel’s primary goal is to help you organize and manage financial information such as income
statements, balance sheets, and forecasts. Typically such data is organized into a worksheet,
sometimes called a spreadsheet. Excel is an electronic spreadsheet program that supports
many features, including the following:
Automatic cell formatting; the Live Preview feature makes formatting even quicker
than ever before
Automatic worksheet computations that enable you to generate a worksheet that
automatically calculates when you make a change to a portion of the worksheet
Built-in functions, such as financial formulas, that automate common tasks
Automatic row and column completion of value ranges, with automatic completion
of ranges of data
Formatting tools that let you turn worksheets into professionally produced reports
Powerful data sorting, searching, filtering, and analysing tools that enable you to
turn data into an organized collection of meaningful information
Powerful charts and graphs that can analyse your numbers and turn them into
simple trends.
When you first start Microsoft Excel, Excel displays a blank workbook with three empty
worksheets named Sheet1, Sheet2, and Sheet3. If you have been working in Excel and want to
begin with a new workbook, click your Office button and select New. Excel displays the New
Workbook dialog box.
Click the Blank Workbook button to open a new, empty workbook with three worksheets
inside.
All the other options on the New Workbook dialog box relate to available templates. For
example, you can create a sales report worksheet based on the pre supplied Sales Report
template that you’ll find by selecting from the list of online templates available in the New
31
Workbook dialog box. The categories running down the left side of the New Workbook dialog
box are additional templates you can use.
Obviously, a template saves you lots of formatting time, but unless your application matches
that of one of the templates, you’ll probably find it easier to create a new worksheet from
scratch than to change one that Excel creates from a template.
Create your workbook in the blank work area of cells that Excel gives you. You’ll enter text,
numbers, and formulas, depending on the needs of your workbook. You can print your
workbook (see Print a Worksheet) at any time.
After creating your workbook, click the Quick Access toolbar’s save button and type the name
of your workbook. Excel uses the filename extension .xlsx for your workbook. You can select
another file format, such as Excel97-2003 Workbook; doing so saves the workbook with the
older Excel extension of .xls. Other file formats are also available (see About Worksheets and
Workbooks).
Click your Office button to display the Office dialog box. Select Open to select from a list of
worksheets. Excel displays the Open dialog box.
The worksheet that you want to open might not appear at the default location shown in the
Open dialog box, so navigate to the folder in which the workbook you’re looking for resides. If
you’re using Windows Vista, you can click the bread crumbs along the top of the Open dialog
box, or if you’re using an earlier Windows version use the Look In drop-down list and traverse
to your file.
When you locate the folder that holds the workbook file, select the file you want to open. Then
click the Open button to open the selected file in Excel’s editing workspace. The All Microsoft
32
Office Excel Files button enables you to select from only Excel files, but when you click this
button, a list of other file formats appear that you can select from.
After the file opens in the Excel workspace, you can edit the file. Navigate to where you want to
make edits (see Edit Cell Data), or move to the end of the document and add to it (see Enter
Data into a Worksheet).
After you finish with the worksheet, click the Quick Access toolbar’s save button to save the
worksheet. You can also press Ctrl+S to save your worksheet. If you want to save changes under
a different filename from the one you opened, click your Office button, select Save As, and
enter a new filename before clicking the Save button.
Cel
l
Row
Sheet Tab
33
The Microsoft Excel Window, Figure 5.1 includes the following components:
34
Table 6. 2: Auto Fill
36
6.6 Week 6 Exercise
A B C D E
1 3 67 5 22 8
2 1 6 7 8 7
3 2 13 9 10 34
4 4 70 12 17 87
37
WEEK 7: INTRODUCTION TO MICROSOFT POWERPOINT
7.1 Introducing PowerPoint
Have you ever presented a talk and longed for a better approach to messy overhead slides?
Have you seen the pros wow their audiences with eye-catching, professional computerized
presentations? With PowerPoint 2007, there is simply no reason why you shouldn’t be wowing
your audiences as well. Professional presentations are now within your reach.
38
7.2.1 Normal view
Normal view splits your screen into three major sections the Outline and Slides tabs, the Slide
pane, and the Notes area. The Outline and Slides tabs are on the left side of your window. They
enable you to shift between two different ways of viewing your slides. The Slide tab shows
thumbnails of your slides. The Outline tab shows the text on your sides. The Slide pane is
located in the center of your window. The Slide pane shows a large view of the slide on which
you are currently working. The Notes area appears bellow the slide pane. You can type notes to
yourself on the Notes area.
Slide Sorter View shows thumbnails of all your slides. In Slide Sorter View, you can easily add,
delete or change the order of your slides.
Use the slide show view when you want to view your slides, as they will look in your final
presentation. When in Slide Show view:
Select Open from the Office Windows menu. PowerPoint displays the Opendialog box, from
which you can open an existing presentation. Locate theplace where the presentation resides
and click to select a presentation. ClickOpento load the presentation into PowerPoint. You can
also select an existingpresentation if its name appears in the right pane labelled Recent
Documents.
After PowerPoint loads the presentation, you are free to run or edit it.
39
7.3.3 Open another Presentation
After you’re inside PowerPoint, if you want to open a second presentation,click your Office
button again to display the Open dialog box and selectanother presentation to open.
PowerPoint enables you to open multiple presentationsat one time, each in its own Windows
window.
PowerPoint provides three view buttons to the left of the Zoom slider control.The Normal view
shows one PowerPoint slide at a time in the large, centerediting area. Slide Sorter view shows
multiple thumbnails of your slides on thescreen at one time. The Slide Sorter view is useful for
seeing multiple slides atone time to get an overview of your presentation or perhaps to
rearrange yourpresentation by dragging slides to different locations. The Slide Show
buttonstarts your presentation running.
When you finish giving or editing a presentation, close the presentation byclicking your Office
button and selecting Close. This clears your PowerPointediting area. If you made changes that
you haven’t yet saved, PowerPointprompts you to save your changes before closing the current
presentation.
Click your Office button and select Open to display a list of presentations.Select the
presentation you want to give.
After your presentation appears on the screen, click to display the Slide Showribbon and click
the Set Up Slide Show button to open the Set Up Showdialog box.
Many of your Set Up Show dialog box settings are determined when youcreate your
presentation, although you can always change them here at theSet Up Show dialog box. You’ll
be able to select all or just a range of slides(from the From options), as well as determine how
your slide show will display(either in the default full-screen mode or in a smaller window with a
lower resolution).
40
If the Manually option is unchecked, PowerPoint assumes that you originallycreated this
presentation to display automatically, without intervention. Ifyou’re speaking and using the
presentation to support your speech, you probably won’t want the automatic changing of slides
that occurs. Instead, youwill want to move from slide to slide when you’re ready to do so. If
youraudience has questions along the way or if you decide to cover a topic longer than you
originally planned, you need full control over your presentation.So in such a case, ensure that
Manually is checked.
To start your slide show, click the Slide Show ribbon’s From Beginningbutton. Excel starts the
slide show by displaying the first slide in yourpresentation.
Place your cursor where you want the list in the document.
Click the Bulleted or Numbered lists button.
Begin typing.
41
Choose Sound from file, Sound from Clip Organizer, play CD Audio Track or Recorded
Sound.
42
WEEK 8: THE USE OF INTERNET AND E-MAILS
8.0 Objectives
To use the Internet, a user must first know how to connect to it.
First ensure that the wireless adaptor is turned on, if you are connecting to a
wireless network.
You will need a LAN cable if you are not connecting to a wireless network, so make
sure you have the cable connected to the Ethernet port of your computer.
Click on the network icon on the task bar
If wireless networks are available, the list of available networks will be displayed
Click on the desired network you want to connect to.
If the network is pass worded, you need to provide the password to be able to
connect successfully
A notification will be displayed on the task bar showing success or failure of the
connection attempt.
When Successful, launch a web browser on the computer to access the internet
The internet is a global network of computers that are interconnected to share resources and
data to the people that use it. The internet hosts several services. The two most well-known are
email and the World Wide Web (WWW)
43
Web Browser: it is an application used to view web pages and it is the interface which a user
interacts with to access the resources and information available on the World Wide Web.
Examples include Mozilla Firefox, Microsoft Internet Explorer and Google Chrome etc.
URLs: Each web page has an address on the internet. This address is called a Uniform Resource
Locator (URL). A hyperlink is a piece of text or a graphic that provides a link to something's URL.
The "something" could be a hearing on the same web page, the next page in a website, a page
in another website, a sound file, or digital video, and so on. An example of a URL
iswww.fulafia.edu.ng
When you click a hyperlink, the link's target is opened in the web browser.
HTTP: Web browsers communicate with web servers primarily using HTTP (hyper-text transfer
protocol) to fetch web pages. HTTP allows web browsers to submit information to web servers
as well as fetch web pages from them. The browser then displays the web page on-screen
The world wide web (or WWW) is a global system of linked web pages containing links to
information or content.
Search engines are available to help you find and access all of the information, e.g.
www.google.com, www.wikipedia.com, www.bing.com etc.
Chat applications allow users to exchange messages in real-time e.g. yahoo messenger,
nimbus chats, windows chats etc.
Open a web browser by double clicking its icon on the Desktop or by opening it
from All Programs in the Start menu.
Go to the address bar of the web browser and type the address of the website e.g.
www.fulafia.edu.ng
After typing the address, press ENTER and the webpage begins to load
44
When the webpage opens, surf around the page using the mouse
To visit a website you do not know its address, use a search engine to find the address and you
can do so by following the below steps.
The steps above are also used to search for materials on the Internet by typing a word, phrase
or sentence of the topic or subject.
45
8.4.1 Sending and Receiving E-mails
Once an email address has been created, you can now send and receive e-mails from and on
that address. To send an e-mail, follow the steps below;
Once you are logged in to your box, click the Inbox button
Click any of the message you wish to read and it opens in a new tab
8.5Week 8 Exercise
1. List ten web browsers and the year in which it was created.
2. Create a new email address
3. Go to www.wikipedia.com and download articles on introduction to computer
science
4. Use the address created in question 2 above and send an email to
cscfulafia@gmail.com and let the content be any news item found on
www.fulafia.edu.ng as well as the article in 3 above.
46
WEEK 9: SIMPLE MAINTENANCE TECHNIQUES
Objective
To install an antivirus or any other software, follow the steps given below;
47
Insert installation CD in the CD drive or if in a flash disk, insert flash disk in USB port
Double click the source location of your antivirus in the My Computer window
In the list of files of the antivirus software, locate the file with a .exe extension e.g.
avast.exe and double click it to run it
If a System Security window pops up asking you whether to allow the installation of
the software, click yes.
The antivirus will commence installation, follow the installation wizard and ensure
to read every message displayed by the wizard before clicking a button
Once the installation process is complete, click Finish
NOTE: Before you do a system backup, ensure the media (e.g. external hard disk or DVD)
you want to back up the files to be connected/inserted to/in the computer and its free
available size will be able to accommodate the files you are intending to backup.
48
9.4 Week 9 practice exercise
1. List five anti-virus programs available and five names of known virus.
2. Shut down the computer system following the proper shut down procedure.
3. Copy files and folders from the computer to an external storage device for backup.
49