You are on page 1of 23

EXERCISE 1

Use MS-Excel to enter the data given below and draw a chart with necessary
chart.

1. Use auto fill options to enter the reporting date of sales people.
2. Calculate the bonus amount for all sales people.
3. Calculate the Total sales of all regions.
4. Create a pie chart showing the sales of all sales people.

Formula to calculate bonus: F3=D3*E3/100


EXERCISE 2

Calculate Break Even Analysis using Excel spread sheet from the following
Data and draw suitable chart.

Calculations:

1. Total Cost = Fixed Costs + (Variable Cost Per Unit * Quantity).


2. Total Revenue = Price * Quantity
3. Profit/Loss Per Unit = Total Revenue - Total Cost / Quantity.
4. Break-Even Point = Fixed Cost/(Price - Variable Cost Per Unit).
EXERCISE 3

Create the following Excel sheet:

Length of Employment Bonus


< 5 Years No bonus
5 10 Years 20% Bonus of current annual salary
11- 15 Years 30%
16 20 Years 40%
21- 25 Years 50%
26 or more Years 100%

Type the following formula in the formula bar as per the bonus percentage

BONUS PERCENTAGE FORMULA


NO BONUS =IF (B5<=5,0,0)
20% BONUS =IF (AND(B5>5,B5<11)*AND(B4>=50),C7*B6,0)
30% BONUS =IF(AND(B5>10,B5<16)*AND(B4>=50),D7*B6,0)
40% BONUS =IF(AND(B5>15,B5<20)*AND(B4>=50),E7*B6,0)
50% BONUS =IF(AND(B5>20,B5<26)*AND(B4>=50),F7*B6,0)
100% BONUS =IF(AND(B5>=26,B4>=50),G7*B6,0)
INTRODUCTION TO MICROSOFT ACCESS
A database is a collection of related information and has several objects such as a
table, query, form or report.
A table is a grouping of related data organized in fields (columns) and records (rows)
on a datasheet. Many tables can be stored in a single database.
A field is a column on a datasheet and defines a data type for a set of values in a table.
For a mailing list a table might include fields for first name, last name, address, city,
state, zip code, and telephone number.
A record in a row on a datasheet and is a set of values defined by fields. In a mailing
list table, each record would contain the data for one person as specified by the
intersecting fields. Every record in a given table has the same fields in the same order
The Database Window displays the various objects in an Access database. The
default tables listing provide links for creating tables and will list all of the tables in
the database when they have been added.

A table is displayed in multiple views. Design View is used to define the table initially
and to specify the fields it will contain so that the data can be entered.
Datasheet View allows you to update, edit, and delete records.
Adding Records Add new records to the table in datasheet view by typing in the record
beside the asterisk (*) that marks the new record. You can also click the new record button at
the bottom of the datasheet to skip to the last empty record.
Editing records To edit records, simply place the cursor in the record that is to be edited and
make the necessary changes. Use the arrow keys to move through the record grid. The
previous, next, first, and last record buttons at the bottom of the datasheet are helpful in
maneuvering through the datasheet.
Deleting Records Delete a record on a datasheet by placing the cursor in any field of the
record row and select Edit / Delete Record from the menu bar or click the Delete Record
button on the datasheet toolbar.

Table creation in MS-Access


A table stores information in a row-column format a database similar to the way an Excel
worksheet stores information in a workbook. Access provides three ways to create a table for
which there are icons in the Database Window. Double-click on the icons to create a table.

Create table in Design view will allow you to create the fields of the table. This is
the most common way of creating a table and is explained in detail below.

Create table using wizard will step you through the creation of a table.
Create table by entering data will give you a blank datasheet with unlabelled
columns that looks much like an Excel worksheet. Enter data into the cells and click
the Save button. You will be prompted to add a primary key field. After the table is
saved, the empty cells of the datasheet are trimmed. To rename the fields with more
descriptive titles that reflect the content of the fields, select Format |Rename
Column from the menu bar or highlight the column, right-click on it with the mouse,
and select Rename Column from the shortcut menu.

CREATING A TABLE
Design View will allow you to define the fields in the table before adding any data to the
datasheet. The window is divided into two parts: a top pane for entering the field name, data
type, and an option description of the field, and a bottom pane for specifying field properties.
Field Name - This is the name of the field and should represent the contents of the field
such as "Name", "Address", "Final Grade", etc. The name cannot exceed 64 characters
in length and may include spaces.

Data Type is the type of value that will be entered into the fields.
oText - The default type, text type allows any combination of letters and numbers
up to a maximum of 255 characters per field record.
oMemo - A text type that stores up to 64,000 characters.
oNumber - Any number can be stored.
oDate/Time - A date, time, or combination of both.
oCurrency - Monetary values that can be set up to automatically include a dollar
sign ($) and correct decimal and comma positions.
oAutoNumber - When a new record is created, Access will automatically assign a
unique integer to the record in this field. From the General options, select
Increment if the numbers should be assigned in order or random if any random
number should be chosen. Since every record in a datasheet must include at
least one field that distinguishes it from all others, this is a useful data type to
use if the existing data will not produce such values.
oYes/No - Use this option for True/False, Yes/No, On/Off, or other values that
must be only one of two.
oOLE Object - An OLE (Object Linking and Embedding) object is a sound,
picture, or other object such as a Word document or Excel spreadsheet that is
created in another program. Use this data type to embed an OLE object or link
to the object in the database.
oHyperlink - A hyperlink will link to an Internet or Intranet site, or another
location in the database. The data consists of up to four parts each separated by
the pound sign (#): DisplayText#Address#SubAddress#ScreenTip. The
Address is the only required part of the string. Examples:
Internet hyperlink example: Cankaya Univ. Home Page
#http://www.cankaya.edu.tr#
Description (optional) - Enter a brief description of what the contents of the field are.

Field Properties - Select any pertinent properties for the field from the bottom pane.

Field Properties Properties for each field are set from the bottom pane of the Design View
window.
Field Size is used to set the number of characters needed in a text or number field. The
default field size for the text type is 50 characters. If the records in the field will only
have two or three characters, you can change the size of the field to save disk space or
prevent entry errors by limiting the number of characters allowed. Likewise, if the
field will require more than 50 characters, enter a number up to 255. The field size is
set in exact characters for Text type, but options are give for numbers:
o Byte - Positive integers between 1 and 255
o Integer - Positive and negative integers between -32,768 and 32,768
o Long Integer (default) - Larger positive and negative integers between -2 billion
and 2 billion.
o Single - Single-precision floating-point number
o Double - Double-precision floating-point number
o Decimal - Allows for Precision and Scale property control
Format confirms the data in the field to the same format when it is entered into the
datasheet. For text and memo fields, this property has two parts that are separated by a
semicolon. The first part of the property is used to apply to the field and the second
applies to empty fields.

CREATING A FORM

Start Access. Select My First Database from the list of recently opened databases,
then click OK.
Click the Forms button in the Database window. Click the New command button to
display the New Form dialog box.
Click Form Wizard in the list box. Click the drop-down arrow to display the
available tables and queries in the database on which the form can be based.
You should see the dialog box which displays all of the fields in the Students table.
Click the >>button to enter all of the fields in the table on the form. Click the Next
command button.
The Columnar layout is already selected. Click the Next command button.
Click Industrial as the style for your form. Click the Next command button.
The Form Wizard asks you for the title of the form and what you want to do next.
The Form Wizard suggests Students as the title of the form. Keep this entry.
Click the option button to Modify the forms design.
Click the Finish command button to display the form in Design view.

CREATING A REPORT

Start Access. Open Our Students database.


Click the Reports button in the Database Window, then click the Create report
by using wizard command button to create the report.
You should see the dialog box, which displays all of the fields in the Students
table. Click the LastNamefield in the Available Fields list box, then click the
>button to enter this field in the Selected Fields.
Enter the remaining fields (FirstName, PhoneNumber, and Major) one at a
time, by selecting the field name, then clicking the >button. Click the Next
Command button when you have entered the four fields.
The first screen asks whether you want to choose any grouping levels. Click
Nextwithout specifying a grouping level.
The next screen asks whether you want to sort the records. Click the drop-down
arrow to display the available fields, then select the LastName. Click Next.
The tabular layout is selected, as is Portrait orientation. Be sure the box is
checked to Adjust field width so all fields fit on a page. Click Next.
Choose Corporate as the style. Click Next.
Enter Student Master List as the title for your report. The option button to
Preview the Report is already selected. Click the Finish command button to exit
the Report Wizard and view the report.
EXERCISE 4

Open the Employee Database and create the following tables with the fields and use the
appropriate data types. Add 20 records using Data-sheet view.

tbl_employee_master
o employee_id*
o employee_name
o employee_mobile_no
o employee_email
o employee_address
o employee_department
o employee_dob
tbl_employee_attendance
o attendance_id*
o employee_id
o attendance_date
o attendance_remark

EXERCISE 5

Open the bookstore database and create the necessary tables and fields. Create the forms to
enter the data.

EXERCISE 6

Open the student marks database and create the necessary tables and fields. Generate the
report class wise.
1. Create the database
2. Create the tables
a. Student Master
b. Student Marks
3. Generate the report using Report Wizard

HYPERTEXT MARKUP LANGUAGE (HTML)

HTML, or hypertext markup language, is very simple to learn and very simple to use.
HTML is used in most modern websites.

HTML pages always start with a DTD, or document type definition. This allows the
web-browser to determine what type of HTML you are using as well as what language the
characters are in. The type of DTD that I would recommend is:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

After the DTD, you would continue with the HTML tag, like so:

<HTML>
...
</HTML>

HTML pages are broken into two main sections: the HEAD and the BODY, both
contained within the HTML tags. The head contains the title and sometimes meta tags. The
body contains the main page that everyone sees. A typical website looks something like this:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">


<HTML>
<HEAD>
...
</HEAD>
<BODY>
...
</BODY>
</HTML>

Page Title
The title is the most important element of a quality web page. The title allows people
to know what they are visiting and represents the page. When search engines add your
website to their database, they add the title as what you see when searching for what you
want. Page titles are very useful for letting your guests know just what is on you website.
There can only be one title per page, so only the first code read containing the title will be
shown. In order to add a title use the following code:

<TITLE>this is the title</TITLE>

Simple Headings
There are six different simple headings that can be used (H1 to H6). Many websites
use headings. You can use the following code to make headers.

<H1>This is the Heading</H1>


<H2>This is the Heading</H2>
<H6>This is the Heading</H6>

Of the six different headings, <H1> produces the biggest, and <H6> produces the smallest.
You can also center the headings by using the align attribute, as you can see here:

<H1 ALIGN="center">This is the centered Heading</H1>

Paragraphs
Paragraphs are very useful and should be used. They can be created by using the
following code:

<P>This is a paragraph.</P>
<P>This is a second paragraph.</P>

New Lines/Spacing
New lines are very important for making any website. In order to create a new line
you would add the following code:

<BR>

Spacing is also very important. When using HTML, you can use just a space, but only up to
the first space. Beyond the first space, the web-browser will just ignore. In order to do any
amount, you must use the following code for each space wanted:

&nbsp;
Horizontal rules
Horizontal lines can be added by doing the following code:

<HR>

You can also change the width of the line as well as align them to the left or right, as can be
seen here:

<HR ALIGN="left" WIDTH="50%">

Please note that you can have the width in pixels instead of percentages as well. You can also
change the height in pixels by doing the following:

<HR SIZE="5">

Comments
Comments are very useful for people that want to identify things in their HTML.
They are used when multiple people update website. They are also used to "block" the HTML
code. The user does not see a comment unless they view the source code. You can add a
comment by doing the following:

<!-- This is the comment -->

Changing Font Color/Face/Size


Changing the font color, face and size are all relatively simple, and are all contained
within the same HTML function. In order to just change the color, you can do the following:

<FONT COLOR="red">This is the text that the color applies to</FONT>

Within the color field you may name a color, as shown, or you may use the HEX code of the
color, which is the preferred method, as seen below:

<FONT COLOR="#FF0000">This is the text that the color applies to</FONT>

The color in hex code has a lot more ability and I would recommend that you use it so that
you can have a unique website.
You can change the font size using two basic methods. You can do it by using the size
attribute, or by using the style attribute. The code for the size attribute:

<FONT SIZE="5">This is the text that it applies to</FONT>


Using this method, you can change the font from 1 to 7. I would not recommend this method.
You could also make the font change, compared to what it was right before as can be seen
here:

<FONT SIZE="+2">This is the text that it applies to</FONT>

As you can notice the font size increased by two font sizes from what it was right before. You
can go from -7 to +7, where the -7 decreases the font size by seven and the positive increases
it by seven. Another method of changing the font size it by using the following:

<SMALL>The small text<SMALL>


<BIG>The big text<BIG>

The more commonly seen font size can be changed by using the font style attribute. You can
use this code for modifying that:

<FONT STYLE="Font-Size:20px;">This is the text that it applies to</FONT>

By using this, you can easily modify the font size from 1 and on. this is what most programs
and websites use as their font size.

Bolding/Italicizing/Underlining/Striking
You may also want to bold, italicize, or underline some of you website. It is very good
for making things stand out. You can bold something using the following code:

<B>This is the text that it applies to</B>

Or you may bold by doing the following:

<STRONG>This is the text that it applies to</STRONG>

Or you may italicize using the following:

<I>This is the text that it applies to</I>

And another way to italicize is:

<EM>This is the text that it applies to</EM>

Or you may underline using the following:

<U>This is the text that it applies to</U>

Or you may strikethrough text by using the following:


<STRIKE>This is the text that it applies to</STRIKE>

Making Links
Links are extremely useful for bringing the user to another page that may be within your
website, or may be another website that you think would be useful to others. You can create a
simple link using the following code:

<A HREF="tutorials.php">This is the text that it applies to</A>

There are several different types of links, for local pages, you would use something like the
above. For links to other sites, you may use something like the following:

<A HREF="http://bobbys.us/tutorials.php">This is the text that it applies to</A>

There are many different things that you can do besides just simple links, but this is still very
useful.

Adding images
You may also want to create image. Images are simple to add, and are very useful for
showing pictures or diagrams. To add an image you can use the following code:

<IMG SRC="images/one.gif" ALT="alternate text">

Once you add an image, you may notice that there is a border when you make the
image a link. In order to get rid of this you will have to change the border attribute. Here is an
example of how to change the border to a size of 0:

<IMG SRC="images/one.gif" ALT="alternate text" BORDER="0">

Lists
You may also have lists of items that you will need to add. There are several types of
lists. The two most common ones are ordered and unordered lists. Ordered lists are called
ordered lists because they have numbers for people tobe guided by. Here is an example of an
ordered list:

<OL>
<LI>Item one</LI>
<LI>Item two</LI>
<LI>Item three</LI>
</OL>
O/p

1. Item one
2. Item two
3. Item three

There are also different types of ordered lists. Here is an example of a specific type of
ordered list:
<OL TYPE="I">
<LI>Item one</LI>
<LI>Item two</LI>
<LI>Item three</LI>
</OL>
O/p

I. Item one
II. Item two
III. Item three

The 'TYPE' attribute can contain one the following types: 1, a, A, i, or I.


Unordered lists are similar to ordered lists, except that they have bullets instead of numbers.
Here is an example of
an unordered list:

<UL>
<LI>Item one</LI>
<LI>Item two</LI>
<LI>Item three</LI>
</UL>
O/p

Item one
Item two
Item three

Tables
Tables are used in many websites. Although they are not always seen, tables are very
good at aligning certain things. In fact, this website uses tables, but you probably cannot see
them. Tables have many attributes that can be modified to fit exactly what you want. Simple
tables can be added by doing the following:

<TABLE BORDER="1">
<TR>
<TD>top left</TD>
<TD>top right</TD>
</TR>
<TR>
<TD>bottom left</TD>
<TD>bottom right</TD>
</TR>
</TABLE>
O/p

top left top right


bottom left bottom right

EXERCISE 7

Prepare your resume using basic HTML tags.

EXERCISE 8

Create the website for the following requirements

Pages:
Home
About us
Services
Contact us

Link all the pages using LIST

EXERCISE 9

Create the e-commerce website using the HTML tags.


Home page
Category page
Single product page
EXERCISE 10

RECORD NOTE
SRM B-SCHOOL - Vadapalani
(Under Section 3 of UGC Act, 1956)

BONAFIDE CERTIFICATE

This is to certify that this practical work titled MB 15202/Management Information

Systems Laboratory is the bonafide work of _______________________________________

Register Number ______________________ of first year M.B.A. during the academic year

2015-2016.

Faculty In-charge

Head of the Department

Date:
INDEX

Ex.No. Date Exercise Remarks Signature

1 Tables and Charts

2 Break Even Analysis

3 Functions and formulas

4 Creation of Employee Database

5 Creation of Forms

6 Creation of Student Report

Preparation of resume using


7
basic HTML tags

8 Creation of Website
Creation of E-Commerce
9
Website

You might also like