Professional Documents
Culture Documents
ICT - Manual - Kashan - ADSD01002
ICT - Manual - Kashan - ADSD01002
INFORMATION SCIENCES
Laboratory Manual
For
Application of Information and Communication
Technology Lab
CS-1102 L
SCHOOL OF COMPUTING
AND INFORMATION
SCIENCES
Certificate
_______________________ _______________________
Course Teacher Lab Teacher
-Student developed a good -Student demonstrated the -Student was able to identify -S
systematic procedure for testing ability to test software the problems in software no
software code that allowed for code in order to identify code but required some so
quick identification of problems. technical problems, and assistance in fixing some of
Ability to was able to solve any the problems.
troubleshoot -Student is good at analyzing and problems with little or no
software quickly solving all technical assistance.
problems.
-Able to explain program design -Able to explain most of -Able to explain some -U
and fundamental concepts the program design and program design and relevant de
Q&A correctly and provide alternative relevant fundamental fundamental concepts. fu
solutions. concepts.
Writing Style -All sections of the report -The sentence flow is smooth. - Student make effective use -S
are very well-written and of technical terms and rarely te
technically accurate. -Student uses technical terms resorts to jargon or cliches. to
effectively and accurately. cl
L1-Object: Recognize and observe familiarity with folders and windows utility and performing the related tasks. 6
L2-Object: Recognize and observe computer Hardware, and Peripherals..................................................12
L3-Object: Show your understanding of MS-DOS by Practicing given tasks............................................16
L4-Object: To identify the software of MS Word and get familiar with it..................................................20
L5-Object: Practice to develop the familiarity with more advanced features of MS Word........................27
Object: Building the understanding of MS PowerPoint and exploring its functionalities...........................32
L7-Object: Demonstrating the familiarity with Insert option in PowerPoint..............................................37
L8-Object: Practice identifying the software, MS Excel and exploring its functionalities.........................47
L9-Object: Practice to build the understanding of Formulas in MS Excel..................................................53
L10-Object: To evaluate Grade/Marks in MS Excel...................................................................................56
L11-Object: Recognize To build the familiarity with the MS Visio 2010..................................................59
L12-Object: Recognize Performing tasks on MS Visio-2010.....................................................................64
L13-Object: To construct database in MS Access.......................................................................................70
L14-Object: Practice of insertion and deletion of records in database........................................................81
L15-Object: Build your understanding of HTML and rendering of a simple web page.............................88
Lab: 01
L1-Object: Recognize and observe familiarity with folders and windows utility and
performing the related tasks.
Theory
Create and manage files and folder tree
� `File is Each document, whether it is a plain text file or a letter in Word or music or the code to run a
program, is called a file.
� Folder is Files are grouped together in folders , also called directories by folks who are used to certain
other operating systems.
� Disk or drive is technically, a disk is an object on which you store your files and a drive is the device that
reads from and writes to the storage media. Often these words are used as though they were the same thing.
Some 'drives' are not discs at all, like flash drives.
� Your files and folders are stored on your computer's hard disk ,or an external drive
connected to your computer, or on a network drive , or on some kind of removable media like a
floppy disk , a CD or DVD, a USB drive, or another kind of removable disk.
� A large hard disk can be divided into several logical drives to make the space easier to work with and
maintain. Older operating systems cannot handle drives larger than 2 GB unless they are divided up this way.
These logical drives display as additional hard drives.
� A: The floppy drive is A: and a second floppy drive is B:. Yes, computers are still reserving letters
for these ancient drive types. In the olden days, about 1982, our first computer was tops with dual 5¼" floppy
drives!
� C: The hard drive or solid state drive that contains the operating system is C:. Logical drives and external
� D: Your CD or DVD drive uses the first letter after all of your hard drives, so it D: only if
you have only one hard disk and it has no logical partitions.
� Network drives are usually further down the alphabet. Many networks start the network drives at
Z
and go up the alphabet.
� Removable drives like flash drives are assigned a letter when they are connected. Those letters can be
reused by different devices as you plug in and remove various storage devices. You can assign a drive letter to
your device so that it will always use that letter when it is attached to a computer. You must consider whether
you will run into a computer that already has a drive with that letter name! More than just confusion can
occur. Duplicate drive names are just not allowed, so you will not be able to view or use your files.
� Computers with built-in slots for removable media (USB, Smart Media, SD, Memory Stick, etc.) often show
those drives even if they are empty. A printer that is connected to your computer may show as a drive if it has
slots for media, even when those are empty. There is a setting in the Folder Options dialog on the View tab
that lets you 'Hide empty drives in the Computer folder'. But it may not hide those media slots that are built in.
� Path is the drive and folders you must go through to get to the folder or file that you want form the path to the
file. A path always starts with a drive letter.
� Examples:
� The path C:\Windows\notepad.exe leads to the file that starts Notepad. The path C:\Program Files\Internet
Explorer leads to the folder that holds Internet Explorer's program files. Note that a path uses a back slash \
while a web address (a URL) uses a forward slash /.
FOLDER TREE
⮊ WinXP: An old-style menu and toolbar run across the top of the My Computer window. The Folders button
on the toolbar toggles the left pane between Common Tasks and the folder tree.
⮊ Vista, Win7: A new toolbar has different buttons depending on what is in the Contents pane. But it always
includes the buttons Organize and Views
⮊ Win8, Win8.1: Uses a ribbon with tabs to hold all the commands. The Home tab contains the
commands for managing files and folders. The View tab has the buttons for what will show in the window and
in what order. The Details pane is off by default. It shows on the right.
CREATING
FOLDER
1. A folder is
a location
where you
can store
your files. You can create any number of folders and even store folders inside other folders (subfolders).
Here’s how to create a new folder:
2. Go to the location (such as a folder or the desktop) where you want to create a new folder.
1. Right-click a blank area on the desktop or in the folder window, point to New, and then click Folder.
2. Type a name for the new folder, and then press Enter.
FILE MANAGEMENT
⮚ COMPUTER FILING:
There are many ways to move files and folders in a computer. However, the built in Windows Explorer (not to be
confused with Internet Explorer) is the preferred way. Windows Explorer can organize and control files and folders
stored on the different systems available, such as external hard drives, CD drives, the hard drive, photo memory sticks,
etc. Using Explorer we can delete, view, copy, and move files and folders, however this tutorial will focus on using
Explorer to move files and folders
⮚ STARTING EXPLORER:
To open Windows Explorer, click on the Start Orb , and in the Start Menu search box that opens, type in
"Explorer" (without the quotation marks). From the menu that will open automatically, click on Windows Explorer.
Alternatively, there may be a Windows Explorer icon in the taskbar on the desktop.
destination in the same window, information is moved using drop and drag.
Lab: 02
Storage Devices
Computer Hardware:
The physical attributes of the computer system. The hardware designs specify the commands it can follow, and the
instructions tell it what to do. The hardware components included in the computer system are: Motherboard,
Processor, and Memory.
Motherboard:
It is the main circuit board. It contains the connectors for attaching additional boards/ cards. Typically, the
motherboard contains the CPU, BIOS, memory, mass storage interfaces, serial and parallel ports, expansion slots, and
all the controllers required to control standard peripheral devices, such as the display screen, keyboard, and disk drive.
Collectively, all these chips that reside on the motherboard are known as the motherboard's chipset. To upgrade the PC
for additional core feature and faster speed, memory chip or CPU chip or entire motherboard can be replaced.
Processor Socket:
Sockets are the home for your Central Processor Unit (CPU). Several types of sockets exist, but only 2 of them are
really used, and both are used by Intel and AMD. The Pin Grid Array (PGA) and the Land Grid Array (LGA).
With the type PGA, the CPU will have pins to fit in the socket holes, but with the type LGA, the CPU will not have
such pins and will just sit on the socket.
Processor:
Central Processing Unit, CPU, is the component installed in your motherboard socket. The CPU executes and
interprets programs, and processes data.
Like a calculator it reads the information you give, interprets it, executes the equation, then writes back the result. This
gives you the big picture.
CPU comes in 2 brands, AMD and Intel. Both build equally good CPUs, with their own features.
Memory Slots:
Memory slots also known as memory banks are for Random Access Memory modules (RAM). There are two to four
Memory banks; each memory bank can receive a RAM module designed for a specific Mother Board.
There are 2 main power connector types for those motherboard parts. The 20 pins + 4 pins (2 separate connectors on
the same motherboard), and the 24 pins.
The Advance Technology Attachment (ATA) interface is used to connect hard drives and optic drives. 2 drives can be
attached on the same ribbon, 1 master and the other slave, and it supports almost all modern hard drives storage
capacities.
Modern computer mother boards have the new interface called Serial Advance Technology Attachment (S-ATA). It is
faster than the ATA and only 1 device can be attached to it. The wire is thinner than his predecessor and surely help
at the cooling process inside the computer case.
The fan connector is used for plugging the back/front wall or side panel case fans. As fans do not require a lot of
energy, the connector is small and very fragile.
The Serial ATA connector is used for hard disk drives. SATA technology speed up drives data transfer.
The peripheral connector with 4 pins is used for optic drives as hard drives. It was the only connector for mass storage
devices before the SATA.
The small connector with 4 pins is used for floppy drives. Here too, I recommend caution when working with small
connectors like this.
⮚ Microsoft Windows supports several commands which may be invoked by typing them in a command
window; they are usually like their MS-DOS equivalents.
⮚ Press alt key + shift key and click mouse right button while pressing the buttons to open command prompt
window in any drive or folder.
Command List:
CD (Current Directory)
Current working directory, displays the current working directory when used without a path parameter.
Change Directory:
To change a directory use Directory Letter with the: sign.
CD..
Changes the working directory to the parent directory (up one directory level).
CD\
Changes the working directory to the root (top level) directory of the current drive.
Copy
Copies file contents from one location to another or from one file to another. The destination defaults to the current
directory. If multiple source files are indicated, the destination must be a directory, or an error will result.
Before copying.
After Copying:
The contents of Source File are copied to Destination File.
It is not necessary that file Destination file must exist before applying the copy command, It can be created at the run
time.
� Del tree Deletes a directory along with all of the files and subdirectories that it contains. Normally, it will ask
for confirmation of such a drastic action.
L4-Object: To identify the software of MS Word and get familiar with it.
THEORY:
Microsoft Word is a word processing software package, designed to help you create professional-quality documents.
With the finest document-formatting tools, Word helps you organize and write your documents more efficiently.
Word also includes powerful editing and revising tools so that you can collaborate with others easily. It can be used to
create documents such as letters, memos and faxes. The area where the text is written known as Editor.
This lesson will introduce you to the Word window. You use this window to interact with Word. To begin this lesson,
open Microsoft Word 2007. The Microsoft Word window appears and your screen looks similar to the one shown
here.
Getting Started
Now that you understand where things are located, let’s look at the steps needed to create a document.
Opening Outlook
You may have a shortcut to Word on your desktop, if so double click the icon and Word will open. If not follow the
steps below:
The Ribbon
You use commands to tell Microsoft Word what to do. In Microsoft Word 2007, you use the Ribbon to issue
commands. 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. 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. Clicking the dialog box launcher gives you access to additional
commands via a dialog box.
⮊ Home Tab
This is the most used tab; it incorporates all text formatting features such as font and paragraph changes.
⮊ Insert Tab
This tab allows you to insert a variety of items into a document from pictures, clip art, tables and headers and
footers.
⮊ Page Layout Tab
This tab has commands to adjust page elements such as margins, orientation, inserting columns, page
backgrounds and themes.
⮊ Reference Tab
This tab has commands to use when creating a Table of Contents and citation page for a paper. It
provides you with many simple solutions to create these typically difficult to produce documents.
⮊ Mailing Tab
This tab allows you to create documents to help when sending out mailings such as printing
envelopes, labels and processing mail merges.
⮊ Review Tab
This tab allows you to make any changes to your document due to spelling and grammar
issues. It also holds the track changes feature which provides people with the ability to make notes
and changes to a document of another person.
⮊ View Tab
This tab allows you to change the view of your document to a different two-page document or
zoom.
⮊ Format tab
⮊ Design tab
⮊ Layout tab
⮊ The Ruler
The ruler is found below the Ribbon. You can use the ruler to change the format of your document quickly. If
your ruler is not visible, follow the steps listed here:
In Word 2010, you can display your document in one of five views: Draft, Web Layout, Print Layout, Full Screen
Reading, or Online Layout.
⮊ Draft View
Draft view is the most frequently used view. You use Draft view to quickly edit your document.
⮊ Web Layout
Web Layout view enables you to see 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. You can display headings without the text. If you move a
heading, the accompanying text moves with it.
You should use Draft view for these lessons. Before moving ahead, make sure you are in Draft view:
THEORY:
Whenever you open Microsoft Word, by default, a new also opens. If you do not see new documents follow the steps
given below to open a new document
Using Templates
Word 2010 allows you to apply built-in templates from a wide selection of popular Word templates, including
resumes, agendas, business cards, and faxes.
Editing a Document
Let’s start with a new blank word document.
1. Type 10 lines of text in the blank word document using the keyboard.
2. On the top, you would see a blue bar with the tabs ‘Home’ ‘Insert’ ‘Page Layout’ ‘References’ etc. When
a new document opens, Word by default displays the ‘Home’ tab in front of you. If you do not see the
Home tab selected, select it yourself.
● ‘EDITING A DOCUMENT’
are 1st level headings. Subheadings to the ‘EDITING A DOCUMENT’ heading i.e.
● Exploring the fonts section
Exploring the paragraph section
● Exporing the styles section
are 2nd level headings. Any sub-heading to a 2 nd level heading would be a third level heading and
so on.
1. To make any heading a level 1 heading, select the heading text and click on ‘Heading 1’
box in the ‘Styles’ section. Similarly, you can create level 2 heading, level 3 headings
and so on
Note: The watermarks are arranged by type. Use the scroll bar to view all of the available watermarks.
1
Lab: 06
THEORY:
The Ribbon
Tabs
The Tabs represent different categories of functions on the ribbon.
When you first start Microsoft PowerPoint, you normally see the Home tab.
� Home Tab:
This tab contains icons and other controls that are most commonly used within Microsoft PowerPoint, such as
making text display as bold or underlined. You can also find more advanced options such as paragraph
alignment, numbering and bulleting.
� Insert Tab:
� Design Tab:
� Transition Tab:
� Groups:
There are groups of tools on each ribbon. Commands are grouped by category on each ribbon.
� File menu:
The File menu contains commands such as Save, Open and Print.
Saving a Presentation:
You have created your first presentation. You now need to save this presentation to your hard disk. To do this,
click on the Save icon towards the top-left of your screen. You will see the Save As dialog box displayed. Write the
filename in the text box & click on save button.
Opening a Presentation:
you can open a presentation by pressing (ctrl+o), or to open a file, click on the File Tab, you will see the
Open dialog box displayed. Normally it will display the contents of a folder called Documents or My Documents.
Now select those files which you want to open, to open the file either click on the Open button at the bottom-right of
the Open dialog box or double-click on the filename.
Closing a Presentation:
To close the presentation, click on the File Tab (top-left of your screen) and then click on the Close command. The
PowerPoint window will still open, but no presentations are open within the program.
Creating A Presentation:
Adding Inserting New or Slide:
You can add new slide to the presentation by pressing (ctrl + M) and to do this, if necessary, click on the
Home tab, and you will see the New Slide button displayed in the Ribbon.
Formatting Text
⮊ Many of your slides will require you to enter text in the placeholder boxes.
⮊ To change the text font, color and size use commands in the Font group.
⮊ To change paragraph formatting such as bullet type, text indentation, and line spacing use the commands in
NOTE:
A theme can be selected at any time during the creation of your slides however; themes can alter the position of
placeholders, so your text maybe automatically adjusted to properly fit the placeholder of the theme causing
unexpected formatting changes to your slides.
Lab: 07
Inserting Shapes
● Click on the Shapes icon (contained within the Illustrations section of the Insert tab).
● This will display a drop down from which you can select the required shape.
NOTE: You can also just select the shape and start typing.
● If you look closely you will notice that the text insertion point is now within the shape.
Insert a new Blank slide, by clicking in the lower part of the New Slide icon (within the Slide section of the
Home tab).
● Click on the Text Box icon within the Text section of the Insert tab.
● The mouse pointer changes shape. Move the mouse pointer to the position within the slide that you want to start the
text box. Press the mouse button and keep it pressed. Move the mouse pointer diagonally over the screen and then
release the mouse button. The text box will look like this.
⮊ Inserting SmartArt
Insert a new Blank slide, by clicking in the lower part of the New Slide icon (within the Slide section of the
Home tab).
● Click on the SmartArt icon (contained within the Illustrations section of the Insert tab). This will display the
Choose a SmartArt Graphic dialog box.
● Scroll down through the List section and you will see a fantastic range of SmartArt graphics that you can insert into
your presentation.
⮊ Charts
Inserting Charts
• Open a presentation called Charts.
● Click on the Chart icon (contained within the Illustrations group under the Insert tab).
● You can select a chart type such as Column, Line or Pie. You can then select a specific formatting option for the
selected chart type. In this case select a Column chart and from the right side of the dialog box, and then select a
Clustered Column.
● Click on the OK button. Your screen will now change.
● Click on the Format Plot Area command. You will see the Format Plot Area dialog box displayed.
● To set a solid color background for your chart click on the Solid Fill button. Then click on the down arrow next to
the Color section and select a color from the drop down that is displayed.
● Click on the Close button within the dialog box and you will see the color applied to your chart background, as
illustrated.
Changing the column, bar, line or pie slice colors in the chart
● You can apply colors to the elements within your chart. Click on one of the columns within the chart and you
will notice that the other similar columns are also selected.
● Right click over one of the selected columns and you will see a popup menu displayed. Select the Format
Data Series command.
● You will see the Format Data Series dialog box displayed.
● To use a solid color to fill the column, click the Fill side tab and then also click on the Solid Fill button.
● Click on the down arrow next in the Color section and from the drop down displayed, select a color.
● Click on the Close button and the color will be applied to the selected columns. In the example shown we
have applied the color Black. Try this now.
⮊ Table:
Creating a table
Click on the Insert Table icon displayed in the center of the slide.
TIP:
Alternatively, to insert a table click on the Insert tab and click on the Table icon displayed within the Ribbon.
Click on the OK button and the table will be inserted into the slide.
Click on the down arrow (called the More arrow) at the right of the Table Styles section.
You will see a drop down displaying a range of different styles. Click on one and see the effect on your table.
Click within a cell, within the column that you wish to delete.
Right click within the cell and from the popup menu displayed.
To delete a row:
● Click within a cell, within the row that you wish to delete.
● Right click within the cell and from the popup menu displayed, select the Delete Rows command.
● Use the Undo icon to bring back the column and row you just deleted.
Inserting rows or columns
● Right click over the selected cell and from the popup menu displayed select the Insert command. From the
submenu displayed select Insert Columns to the Right. You will see the new column displayed to the right
of the selected cell.
● To insert a row right click over the selected cell and from the popup menu displayed select the Insert
command. From the submenu displayed select Insert Rows Above. You will see the row inserted as
illustrated. Save your changes
⮊ Slide Shows
● Click on the Animations tab and within the Animation group click on the down arrow to the right of the
● Select an animation effect, such as Fly In. You will notice that the title area is marked with an animation
number 1.
● Select the sub-title area; Select an animation effect, such as Bounce.
You will notice that the slide is marked with two animation numbers, as illustrated, one for the title, which is
marked with a 1, indicating that this is the first animation, while the sub-title is marked with a 2, indicating that this
is the second animation.
● Click the mouse button once, and you will see an animated title appear.
● Click the mouse button again and an animated sub-title will be displayed.
● Click the mouse button again to see the animated graphic appear.
● Click one more time and the second slide, which does not contain any animations, will be displayed. Press Esc to
escape from the slide show.
● Click on the Transitions tab. You will see a selection of transitions displayed within the ribbon.
● Click on the down arrow to the right of the Transitions group and you will see more transitions displayed in a drop-
down menu. Select the Cube transition.
● You can add sound to the slide animation. To do this click on the down arrow to the right of the transitions Sound
button. You will see a drop-down list displayed. Click on the Bomb sound.
● You can control the duration of the slide animation. To do this click on the up arrow to the right of the transitions
Duration button and change the value to 2.00.
● You can set how the slide will advance. Click on the check box next to the After option and enter a value of 5.00
seconds.
● You can apply the slide animation to all the slides by clicking on the Apply to All buttons.
● Run the slide show and the transition effects will display as you configured them to run. Save your changes.
⮊ Using Find
Click the Find button, located in the Editing group under the Home tab.
TIP:
Use the Ctrl+F keyboard shortcut to start the Find function.
● The Find dialog box will be displayed. Type the word into the Find what box.
● Click on the Find Next button. PowerPoint will locate and select the first instance of the word computer in the
presentation. Click on the Find Next button repeatedly to find all occurrences of the word.
● When you reach the end of the search PowerPoint will display the following dialog box.
Click the Replace button, located under the Editing group of the Home tab.
TIP:
Use the Ctrl+H keyboard shortcut to start the Replace function.
● The Replace dialog box will be displayed. Type the word into the Find what box.
● Click on the Find Next button. PowerPoint will locate and select the first instance of the word computer in the
presentation. To replace that instance of the word computer with PC click on the Replace button. Repeat this
process to replace all occurrences of the word computer with PC.
● When you reach the end of the search PowerPoint will display the following dialog box.
Click on the OK button.
Strikethrough effects
Select a word and experiment with applying strikethrough formatting using the Strikethrough icon.
Shadow effects
Select a word within the last paragraph and experiment with applying Shadow formatting. You may find this effect is
easier to see when combined with Bold formatting.
Character spacing
● Display the slide relating to the CPU.
● Click on the Character Spacing icon. This will display a drop down from which you select the required type of
character spacing. Experiment with applying different types of character spacing and observe the effects. Reset the
character spacing back to 'Normal' before continuing.
Click on the down arrow to the right of the Print One-Sided item. If required click on the Print on Both Sides
option.
To print a presentation
Click on the Print button.
Lab: 08
THEORY:
MICROSOFT EXCEL:
Excel is a spreadsheet program in the Microsoft Office system. You can use Excel to create and format
workbooks (a collection of spreadsheets) in order to analyze data and make more informed business decisions.
Specifically, you can use Excel to track data, build models for analyzing data, write formulas to perform calculations
on that data, pivot the data in numerous ways, and present data in a variety of professional looking charts.
The Ribbon
⮊ Home Tab:
This is the most used tab; it incorporates all text and cell formatting features such as font and
paragraph changes. The Home Tab also includes basic spreadsheet formatting elements such as text wrap,
⮊ Insert Tab :
This tab allows you to insert a variety of items into a document from pictures, clip art, and
headers and footers.
⮊ Page Layout Tab :
This tab has commands to adjust page such as margins, orientation and themes.
⮊ Formulas Tab
This tab has commands to use when creating Formulas. This tab holds an immense function
library which can assist when creating any formula or function in your spreadsheet.
⮊ Data Tab
This tab allows you to modifying worksheets with large amounts of data by sorting and filtering as
well as analyzing and grouping data.
⮊ Review Tab
This tab allows you to correct spelling and grammar issues as well as set up security protections. It
also provides the track changes and a note feature providing the ability to make notes and changes someone’s
document.
⮊ View Tab
This tab allows you to change the view of your document including freezing or splitting panes,
viewing gridlines and hide cells.
Getting Started
Now that you have an understanding of where things are located, let’s look at the steps needed to
create an Excel document.
Opening Outlook
You may have a shortcut on your desktop, if so, double click the icon and excel will open. If
not follow the steps below:
Modifying Spreadsheets
In order to create an understandable and professional document you will need to make
adjustments to the cells, rows, columns and text. Use the following processes to assist when creating a spreadsheet.
Move/Copy Cells
When you move or copy a cell, Excel moves or copies the entire cell, including formulas and their
resulting values, cell formats, and comments.
Merge Cells
To merge cells only, click the arrow next to Merge and Center, and then click Merge Across or Merge
Cells.
Split Cells
1. Select the merged cell you want to split
2. To split the merged cell, click Merge and Center. The cells will split and the contents of the merged cell will
appear in the upper-left cell of the range of split cells.
NOTE: If the text is a long word, the characters won't wrap (the word won't be split); instead, you can widen the
column or decrease the font size to see all the text. If all the text is not visible after you wrap the text, you might have
to adjust the height of the row. On the Home tab, in the Cells group, click Format, and then under Cell Size click
AutoFit Row
Format Numbers
In Excel, the format of a cell is separate from the data that is stored in the cell. This display
difference can have a significant effect when the data is numeric. For example, numbers in cells will default as
rounded numbers, date and time may not appear as anticipated. After you type numbers in a cell, you can change the
format in which they are displayed to ensure the numbers in your spreadsheet are displayed as you intended.
1. Click the cell(s) that contains the numbers that you want to format.
2. On the Home tab, in the Number group, click the arrow next to the Number Format
Cell Borders
By using predefined border styles, you can quickly add a border around cells or ranges of cells. If
predefined cell borders do not meet your needs, you can create a custom border.
Cell Styles
You can create a cell style that includes a custom border, colors and accounting formatting.
Cell Fill
1. Select the cells that you want to apply or remove a fill color from.
2. Go to the Home tab, in the Font group and select one of the following options:
a. To fill cells with a solid color, click the arrow next to Fill Color, and then under
Theme Colors or Standard Colors, click the color that you want.
b. To fill cells with a custom color, click the arrow next to Fill Color, click More Colors, and
then in the Colors dialog box select the color that you want.
c. To apply the most recently selected color, click Fill Color.
Text Color
1.Select the cell, range of cells, text, or characters that you want to format with a different text color.
2. On the Home tab, in the Font group and select one of the following options:
a. To apply the most recently selected text color, click Font Color.
b. To change the text color, click the arrow next to Font Color, and then under Theme Colors or
Standard Colors, click the color that you want to use.
You can also create a formula by using a function which is a prewritten formula that takes a value, performs an
operation and returns a value. For example, the formulas =SUM (A1:A2) and SUM (A1, A2) both use the SUM
function to add the values in cells A1 and A2.
Depending on the type of formula that you create, a formula can contain any or all of the following parts.
Functions A function, such as PI () or SUM (), starts with an equal sign (=).
Cell references
You can refer to data in worksheet cells by including cell references in the formula.
For example, the cell reference A2 returns the value of that cell or uses that value in the calculation.
Constants
You can also enter constants, such as numbers (such as 2) or text values, directly into a formula.
Operators
Operators are the symbols that are used to specify the type of calculation that you want the formula to
perform.
1.Select the cell where you would like your formulas solution to appear.
2. Go to the Home tab, in the Editing group,
3. Click AutoSum, to sum your numbers or click the arrow next to AutoSum to select a function that you
want to apply.
Delete a Formula
When you delete a formula, the resulting values of the formula are also deleted. However, you can instead
remove the formula only and leave the resulting value of the formula displayed in the cell.
1. Using IF function
2. Using VLOOKUP function
If there are more grading scales, such as following screenshot, I have defined a grade scale table, and now, I want
to apply this grade scale to the score list table. In this case, the VLOOKUP function can help you.
Please enter this formula: =VLOOKUP(B2,$F$1:$G$10,2,TRUE) into a blank cell beside your data, C2, for example,
and then drag the fill handle down to the cells that you want to apply this formula, and now, you can see all the
letter grades based on the corresponding grade scale table are calculated at once, see screenshot:
Note: In the above formula, B2 is the cell which you want to calculate the letter grade, F1:G10 is the table range
you want to look for, the number 2 indicates the lookup table column number which contains the values you want
to return.
Lab: 11
Image
● An image or picture is an artifact, usually two-dimensional, that has a similar appearance to some subject-
physical object or a person
● Image is made of Pixels. In other words, Group of Pixels is called as Image.
Pixel In digital imaging Pixel is the smallest piece of information in an image. Pixels are normally arranged in 2-D
and are often represented as dots or squares or rectangles. Each pixel is a sample of an original image, where more
samples typically provide a more accurate representation of the original.
Types of Images:
1. Scalar Graphic Image An image which has only Magnitude (Length) is known as Scalar Graphic Image. Scalar
Images get pixilated (distorted) when resized. Ex: All images found in computer or webs are scalar images.
2. Vector Graphic Image An Image which has both magnitude and direction is known as Vector Graphic Image.
Vector Images doesn’t get pixilated when resized.
Getting Started
When you open Visio 2010 the first window that is displayed, by default, is the Choose a Template window, showing
you recently used Templates. The screen is laid out in to three parts, on the left side a simple navigation system that
replaces the file menu, the template section that has browser type controls at the top of the screen, and to the right-
hand side of the screen a template preview window.
⮊ The File Menu whilst part of the ribbon bar this is the only tab that still resembles a menu, the remainder
follows the ribbon layout introduced in office 2007.
⮊ Visio Ribbons
Ribbons are tabs that show different commands with respect to what you wish to do. Those are divided to sections in
order to group the similar tools together. The HOME ribbon shows basic commands
These tabs only become available when you perform certain tasks
⮊ Review Tab
The Reviewing Pane displays all of the changes that currently appear in your drawing, and allows other users to
comment on your drawing. Also all your spelling and thesaurus options are found under this tab you also
generate shape reports from here as well.
⮊ Design Tab
Page set up Themes and backgrounds and connector layout
⮊ Data Tab
This tab allows quick connection to external data sources some new graphics to show shape data also found here
⮊ Process Tab
Some nice features here check diagram and access to SharePoint
⮊ View Tab
Grid options, zoom options and windows options are found here you may wish to turn off auto connect from
here.
⮊ Developer Tab
The developer tab by default is hidden but it is well worth turning on to access shape operations and the shape
sheet window.
Lab: 12
Using Shapes
About Stencils
Stencils are a collection of shapes either predetermined by the template that you choose, or
from a custom stencil you create, many stencils are available from the web some are free but
others you will pay for a good place to start looking on the web is the Visio Café
● Move the mouse to the position shown below note the cursor has changed to reveal the connector tool. As you
position to a point you can connect to the shape a small red square will appear.
Connector types
Static Connections (Also called point connection)
To keep the connector glued to a specific point on a shape, drag from a connection point on the first shape to a
connection point on the second shape. The connector endpoints turn red when the shapes are connected. This is called
a point connection.
Notice the connection points the start point is an outline shape the end shape has a solid fill, also note that the shape to
shape connector has an outline around the shape.
● Enter your required text then click away from the Line
It is a part of the Microsoft Office suite of applications that allows users to enter, manage and run reports on larger
scale, it is most suitable for those who need to organize large amount of data quickly.
• All database objects are stored within a single database file with the .accdb file name extension
What is Database?
• A database is an organized collection of information
• Data is organized into rows, columns and tables, and it is indexed to make it easier to find relevant
information
Database Objects:
MS Access uses “objects" to help the user list and organize information, as well as prepare specially designed reports.
When you create a database, Access offers you Tables, Queries, Forms, Reports, Macros, and Modules. Databases in
Access are composed of many objects but the following are the major objects −
• Tables
• Queries
• Forms
• Reports
Together, these objects allow you to enter, store, analyze, and compile your data.
Database Objects:
⮊ Tables
Table is an object that is used to define and store data. When you create a new table, Access asks you to define fields
which is also known as column headings.
• Tables contain fields or columns that store different kinds of data, such as a name or an address, and records
or rows that collect all the information about a particular instance of the subject, such as all the information
about a customer or employee etc.
• You can define a primary key, one or more fields that have a unique value for each record.
⮊ Query
An object that provides a custom view of data from one or more tables. Queries are a way of searching for and
compiling data from one or more tables.
• When you build a query in Access, you are defining specific search conditions to find exactly the data you
want.
• In Access, you can use the graphical query by example facility or you can write Structured Query Language
(SQL) statements to create your queries.
• You can also define queries that create new tables from data in one or more existing tables.
⮊ Form
Form is an object in a desktop database designed primarily for data input or display or for control of application
execution. You use forms to customize the presentation of data that your application extracts from queries or tables.
• The reason forms are used so often is that they are an easy way to guide people toward entering data correctly.
• When you enter information into a form in Access, the data goes exactly where the database designer wants it
to go in one or more related tables.
⮊ Report
Report is an object in desktop databases designed for formatting, calculating, printing, and summarizing selected data.
• You can view a report on your screen before you print it.
• If forms are for input purposes, then reports are for output.
• Anything you plan to print deserves a report, whether it is a list of names and addresses, a financial summary
for a period, or a set of mailing labels.
• Reports are useful because they allow you to present components of your database in an easy-to-read format.
• Access offers you the ability to create a report from any table or query.
• Navigation Pane
• Backstage view
⮊ The Ribbon:
• The Ribbon contains the commands and options you use to perform database tasks. Each tab contains a group
of related commands.
Backstage View:
• Used to create, open, save, print and manage databases
• Includes commands and options related to things you can do with a database itself
• Shows the commands and options available on the File tab of the Ribbon
Looking at the Screen:
• Click the Browse for a location button to specify a name and location for the new database
• Specify a file name and location and click OK to save your specifications
Create Tables:
• When you create a database, you store your data in tables.
• Before you create tables, carefully consider your requirements and determine all the tables that you need.
• Let us now go to the Field tab and you will see that it is also automatically created. The ID which is an
AutoNumber field acts as our unique identifier and is the primary key for this table.
• The ID field has already been created and we now want to rename it to suit our conditions. This is an
Employee table and this will be the unique identifier for our employees.
• Click on the Name & Caption option in the Ribbon and you will see the following dialog box.
• Change the name of this field to EmployeeID to make it more specific to this table. Enter the other optional
information if you want and click Ok.
Saving tables:
• Once all the fields are added, click the Save icon.
• You will now see the Save As dialog box, where you can enter a table name for the table.
• Enter the name of your table in the Table Name and click Ok and you will see your table in the navigation
pane.
Lab: 14
• The data type determines the kind of the values that users can store in any given field.
• Each field can store data consisting of only a single data type.
Here are some of the most common data types you will find used in a typical Microsoft Access database.
Here are some of the other more specialized data types, you can choose from in Access.
Here are some of the other more specialized data types, you can choose from in Access.
⮊ Table Design View:
• In previous lab, we have already created one table using Datasheet View. We will now create another table
using the Table Design View.
In the tables group, click on Table and you can see this looks completely different from the Datasheet View. In this
view, you can see the field name and data type side by side.
We now need to make BookID a primary key for this table, so let us select BookID and click on Primary Key option
in the ribbon (design).
Select the Views → Datasheet View option in the ribbon and add some data as shown in the following.
If you want to delete any data you need to select the entire row first as shown in the following:
This will display the confirmation
deleted now.
⮊ Query Data:
• A query is a request for data results, and for action on data. You can use a query to answer a simple question,
to perform calculations, to combine data from different tables, or even to add, change, or delete table data.
• In MS Access and other DBMS systems, queries can do a lot more than just displaying data, but they can
actually perform various actions on the data in your database.
• If you want to review data from only certain fields in a table, or review data from multiple tables
simultaneously or maybe just see the databased on certain criteria, you can use the Select query.
• Let us now look into a simple example in which we will create a simple query which will retrieve information
from BOOK table. Open the database and click on the Create tab.
In the BOOK table, double-click all those fields which you want to see as result of the query. Add these fields to the
query design
The query runs, and displays only data in those field which is specified in the query.
⮊ Action Queries:
• Action queries are queries that can add, change, or delete multiple records at one time.
• The added benefit is that you can preview the query results in Access before you run it.
– Append
– Update
– Delete
– Make-table
• An action query cannot be undone. You should consider making a backup of any tables that you will update
by using an update query.
Lab: 15
HTML Tags:
HTML tags are element names surrounded by angle brackets:
<tagname>content…</tagname>
• The browser does not display the HTML tags, but uses them to determine how to display the document.
Saving an HTML File:
Always use the .html or .htm extension to save the HTML File or otherwise you wouldn’t be able to see the output.
Note:
Browsers do not display the HTML tags, but use them to render the content of the page.
• The notepad windows utility application is the easiest to learn editor for HTML.
The HTML file has now been opened in the web browser
Note:
• The text Hello World was the simple text that HTML rendered on a web browser but, HTML can do more
than this…
• It can render text, headings, images, tables, links or we can say a whole web page with different colors and
formatting styles.
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
</body>
</html>
Output:
Visualizing the tags hierarchy:
⮊ <!DOCTYPE>:
• The <!DOCTYPE> declaration represents the document type, and helps browsers to display web pages
correctly.
• It must only appear once, at the top of the page (before any HTML tags).
• The <!DOCTYPE> declaration is not case sensitive.
• The <!DOCTYPE> declaration for HTML5 is:
<!DOCTYPE html>
⮊ <html>:
• The <html> element defines the whole document.
⮊ <body>:
• The <body> element defines the document body.
• It has a start tag <body> and an end tag </body>.
⮊ <head>:
• The <head> element is a container for metadata (data about data) and is placed between the <html> tag and
the <body> tag.
• HTML metadata is data about the HTML document. Metadata is not displayed, however the title name for
web page is visible if written between <title> tags.
• Metadata typically define the document title, character set, styles, links, scripts, and other meta information.
• The following tags describe metadata: <title>, <style>, <meta>, <link>, <script>, and <base>.
⮊ <title>:
⮊ The <title> element defines the title of the document, and is required in all HTML documents.
⮊ Heading tags:
• HTML headings are defined with the <h1> to <h6> tags.
• <h1> defines the most important heading.
• <h6> defines the least important heading.
⮊ <p>:
HTML paragraphs are defined with the <p> tag.
⮊ HTML Comments:
You can add comments to your HTML source by using the following syntax:
Also
⮊ HTML Attributes:
• All HTML elements can have attributes
• Attributes provide additional information about an element
• Attributes are always specified in the start tag
• Attributes usually come in name/value pairs like: name="value"
<img src="img_girl.jpg">
The image size is specified in pixels: width="500" means 500 pixels wide.
• The alt attribute specifies an alternative text to be used, when an image cannot be displayed.
• The value of the attribute can be read by screen readers. This way, someone "listening" to the webpage, e.g. a
vision impaired person, can "hear" the element.
● The alt attribute is also useful if the image does not exist.
HTML Lists:
• The list items will be marked with bullets (small black circles) by default:
<ul>
<li>Coffee</li>
<li>Tea</li>
<li>Milk</li>
</ul>
⮊ Ordered HTML List:
An ordered list starts with the <ol> tag. Each list item starts with the <li> tag.
<ol>
<li>Coffee</li>
<li>Tea</li>
<li>Milk</li>
</ol>
HTML also defines special elements for defining text with a special meaning.
• HTML uses elements like <b> and <i> for formatting output, like bold or italic text.
• Use <br> if you want a line break (a new line) without starting a new paragraph:
• The <br> tag is an empty tag, which means that it has no end tag.
Solution Task 3:
Solution Task 4:
Solution Task 5:
Solution Task 6:
Solution Task 7:
Solution Task 8:
Solution Task 9: