Professional Documents
Culture Documents
MB 15202 - Management Information Systems Lab Manual Contents
MB 15202 - Management Information Systems Lab Manual Contents
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.
Calculate Break Even Analysis using Excel spread sheet from the following
Data and draw suitable chart.
Calculations:
Type the following formula in the formula bar as per the bonus percentage
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.
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
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
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:
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:
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:
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.
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:
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:
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:
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:
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:
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:
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:
The more commonly seen font size can be changed by using the font style attribute. You can
use this code for modifying that:
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:
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:
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:
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:
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:
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
<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
EXERCISE 7
EXERCISE 8
Pages:
Home
About us
Services
Contact us
EXERCISE 9
RECORD NOTE
SRM B-SCHOOL - Vadapalani
(Under Section 3 of UGC Act, 1956)
BONAFIDE CERTIFICATE
Register Number ______________________ of first year M.B.A. during the academic year
2015-2016.
Faculty In-charge
Date:
INDEX
5 Creation of Forms
8 Creation of Website
Creation of E-Commerce
9
Website