Professional Documents
Culture Documents
It Record-Mba Ist Year (Students Reference Copy)
It Record-Mba Ist Year (Students Reference Copy)
This is to certify that Mr./Ms. ____________________of MBA I Year I Semester, bearing Hall Ticket Number ____________ has successfully completed his/her practical record work on Information Technology Lab(IT Lab) in the academic year 2012-13
INTERNAL EXAMINER
EXTERNAL EXAMINER
DIRECTOR
PRINCIPAL
Suggested Books: 1. David Whigham, Business Data Analysis Using Excel, Oxford University Press, Indian Edition. 2. Paul Cornell, Accessing & Analyzing DATA with MS-EXCEL. 3. R & D, IT Tools and Applications, Macmillan India Ltd. 4. Sanjay Saxena, A First Course in Computers Based on Windows Office XP, Second Edition Vikas Publishing House. 5. P. Sudharsan & J. Jeyabalan, Computers Systems & Applications, Jaico Student Edition- Jaico Publishing House. 6. D.P. Apte, statistical Tools for Managers using MS Excel, 2009, Excel Books.
TABLE OF CONTENTS
S.NO. UNIT EXERCISE NO EXCERCISE: 1.1 I EXCERCISE: 1.2 1. INTRODUCTORY CONCEPTS OF MS-EXCEL SPREADSHEET II 2. Data and Graphical Options EXCERCISE: 1.3 TOPIC Introduction , Creating, Naming, Saving Editing ,Printing Calculate the employee gross and net pay PAGE NO 5-9 10-11
Create an Excel Worksheet for students 12-13 marks statement and calculate the results using Formula Functions AutoFill option Sorting Auto Filter Querying of Data Pie Chart Bar Chart Line Chart Functions Statistical functions Financial functions Date Functions Macros Introduction ,Table Creation Creation of forms Creation of Reports Creation of Queries Transferring data from Ms-Access to MsExcel 15-16 17-18 19-22 23-27 28-29 30 31 33-34 35-41 4243 44 45-47 49-53 54-56 57-59 60-64 66-67
3.
4.
EXCERCISE: 2.1 EXCERCISE: 2.2 EXCERCISE: 2.3 EXCERCISE: 2.4 EXCERCISE: 2.5 EXCERCISE: 2.6 EXCERCISE: 2.7 EXCERCISE: 3.1 EXCERCISE: 3.2 EXCERCISE: 3.3 EXCERCISE: 3.4 EXCERCISE: 3.5 EXCERCISE: 4.1 EXCERCISE: 4.2 EXCERCISE: 4.3 EXCERCISE: 4.4 EXCERCISE: 5.1
5.
EXCERCISE: 5.1
68
6.
Practice Questions
70-73 74-75
Saving the workbook: 1. Go to file menu, select save option, then we will get one window. 2. In that window enter the name of the workbook. (OR) Click on save button present on the standard toolbar. (OR) Press Ctrl+s.
Printing the worksheet: 1. Go to file menu, select print option, then we will get one window. 2. In that window enter details like how many number of copies we want and print range etc. click on OK (OR) Click on print button present on the standard toolbar. (OR) Press Ctrl+p.
UNIT -1
INTRODUCTORY CONCEPTS OF MS-EXCEL SPREADSHEET
STEP-4: The Excel Sheet can be Edited and Printed by the Following procedure. EDITING: CUT OPTION Go To EDIT MENU=>Click on CUT (ctrl+X) COPY OPTION Go To EDIT MENU=> Click on COPY (ctrl+C) PASTE OPTION Go To EDIT MENU=> Click on PASTE (ctrl+V) PRINTING: PRINT OPTION Go To FILE MENU=> Click on PRINT(ctrl+P) STEP-5: Save the excel sheet after completion.
Calculate the gross and net pay of the following employees. Formula used to calculate DA, HRA, GROSS SALARY, PF, IT, NET SAL. DA is 5% of basic salary Formula: =5/100*basic salary that is, =5/100*c4 HRA is 12% of basic salary Formula: =12/100*basic salary that is =12/100*c4 GROSS SALARY Formula: = ( basic salary +DA+HRA) that is =c4+d4+e4 PF is 10% of basic salary Formula: =10/100* basic salary that is =10/100*c4 IT is 5% of basic salary Formula: =5/100* basic salary that is =5/100*c4 NET SALARY Formula: = Gross salary - (PF+IT) that is =f4-(g4-h4)
STEP-2: Create columns with the following field names given below.
ROLL NO
NAME
MARKS
AVERAGE
RESULT
DIVISION
STEP-3: Insert the 5 records with values. STEP-4: Calculation of Total TOTAL=SUM (C2:E2) Calculation of Average AVERAGE=F2/3 Calculation of Result RESULT=IF (AND (C2>=40, D2>=40, E2>=40),"pass, fail") Calculation of Division DIVISION=IF (H2="pass, IF(G2>=70,"FD", IF (G2>=60,"FC", IF (G2>=50,"SC","TC"))), "Fail") STEP-5: Save the excel sheet after completion.
UNIT -2
DATA AND GRAPHICAL OPTIONS
STEP-3: On the worksheet in the first column insert MONDAY And then bring the cursor on the right corner of the cell And drag. All the days of week will be displayed Automatically.
STEP-4: In the second cell enter the time as 9:00 and drag the Cell In the horizontal way till 17:00 hrs are Displayed using Auto fill features.
Output showing the Preparation of time table using auto fill option.
8. Then Sort text bar will be displayed, select the field names (i.e. eid) to sort. 9. Also select the sort either in ascending order or Descending order. 10. If you want to make the data in increasing order then select ascending. 11. If you want to make the data in decreasing order then select descending order and Press OK button.
12. Then sorted data will obtain. 13. Save the worksheet. 14. Then close it.
EXCERCISE: 2.3 Filters Data Filters are a very powerful way of analyzing tables of data in Excel. Put simply they are a way of reducing the table down to just the items you want to see based on the selections you choose. Steps: 1. Click a cell in the range you want to filter. 2. On the Data menu, point to Filter, and then click AutoFilter.
Filter for the smallest or largest number: Click the arrow in the column that contains the numbers, and click (Top 10...). In the box on the left, click Top, or Bottom. In the box in the middle, enter a number. In the box on the right, click Items. Filter for the specific text: Click the arrow in the column that contains the numbers, and click (Custom). In the box on the left, click equals, or does not equal, contains, or does not contain. In the box on the right, enter the text you want. ST.JOSEPHS PG COLLEGE | MBA IT LAB RECORD 19
Filter for the greater than or less than another number: Click the arrow in the column that contains the numbers, and click (Custom). In the box on the left, click is greater than, is less than, is greater than or equal to, or is less than or equal to. In the box on the right, enter a number. To add another criteria, click And or Or, and repeat the previous step. ST.JOSEPHS PG COLLEGE | MBA IT LAB RECORD 20
Filtering beginning and ending of the text: Click the arrow in the column that contains the numbers, and click (Custom). In the box on the left, click begins with, or does not begin with, or ends with, or does not end with. In the box on the right, enter the text you want. Use ? (question mark) To find Any single character For example, sm?th finds "smith" and "smyth"
If you need to find text values that share some characters but not others, use a wildcard character. To add another criteria, click And or Or, and repeat the previous step.
STEP-2: To start the process of querying an external data source, choose the New Database Query option. The Choose Data Source dialog appears and is shown below. Also note that Microsoft Query has started and shows in your Taskbar. Microsoft Query is the program that Excel uses to query and return the external data. ST.JOSEPHS PG COLLEGE | MBA IT LAB RECORD 23
STEP-4: Select the CustomerID, Company Name and City. Your dialog box should look like this.
Click Finish to return the data to Excel. Excel will again be in focus and will show the Returning External Data to Microsoft Excel dialog box, shown here.
OUTPUT: 2.4
Steps to Create a Chart: 1. Select the data range on which the chart has to be created. 2. From insert menu select chart portion. 3. The chart wizard is invoked. Standard types and custom types options are available here. 4. Click series to add names to the series in the chart, also to check whether axis label is needed or not. Click next. 5. Now you can add titles to the chart and the axis. Click the grid lines tab to add grid to the chart. Click data table tab to view data table along with the chart. Click the legend tab to place the legend at the desired position. Click next. Printing a Chart: To print a chart: Select the chart. Select the print option from the file menu. The print dialogue box is displayed. Click on selected chart option in print what and then on the ok button.
Pie Chart
Creating a pie chart for monthly sales of cars of XYZ make with the following monthly sales using MS-Excel ( 300 , 200 , 100 , 50 , 100 , 500 ,600 , 700 , 100 , 200 , 150,20 ) .
OUTPUT:
EXCERCISE: 2.6
Bar Chart
EXCERCISE: 2.7
LINE CHART
Using the AutoSum Tool: Excel provides an AutoSum tool for finding totals. To use this simple tool, select the numbers you want to add and just click on the AutoSum tool () on the toolbar.
Mathematical Functions: Excel provides a number of Mathematical Functions. The use of some of these Mathematical Functions is illustrated below:
SUM Function: The SUM function calculates the sum of values. For Example, if you click cell E4 and type=SUM (12, 34, 40), it calculates the sum of these numbers and displays the sum of these numbers (86) in E4. If we type=SUM (B2:B7) in B8, Excel calculates the sum of the values in cells B2, B3, B4, B5, B6 and B7. It displays the sum of the values in the range B1 to B7 in cell B8 as 168.
ABS Function: This function calculates absolute value of a number. For Example, if we type ABS (-26.89) in cell E5, Excel displays 26.89 in E5. Thus Excel converts a negative number into a positive number by this function.
INT Function: This function rounds of numbers down to the nearest integer. For Example, if we type INT(26.89) in E6, Excel displays 26 in E6. If we type INT (-26.89) , Excel returns -27.
This function counts the number of items in a group of cells. The Syntax is: =COUNT (Value1, Value2.) For Example, if we type =COUNT (B2:B7) in Cell B8, Excel counts the items in the B2:B7 and displays 6 in B8.
ROUND Function: This function can be used to round off numbers. Rounding changes the number of decimal places. For
Example, if we type =ROUND (26.889,1) in B9, it rounds off the number to one decimal place and displays 26.9 in B9 Min(): To find the minimum value among the given numbers. Max() : To find the maximum value among the given numbers. Sin() : To find sin value of angle.
2. A dialog box will appear. Click on Statistical from the left section of the box and AVERAGE on the right section. After you have made those two selections, click onNext> at the bottom of the dialog box.
4. The mean (average) for the list will appear in the cell you selected.
5. Place the cursor where you wish to have the standard deviation appear and click the mouse button. Now move the cursor to the Function Wizard (fx) button and click on it.
7. Enter the cell range for your list of numbers in the number 1 box. For example, if your data were in column A from row 1 to 11, you would enter A1:A11. Instead of typing the range, you can also move the cursor to the beginning of the set of scores you wish to use and click and drag the cursor across them. Once you have entered the range for your list, click on Finish at the bottom of the dialog box.
8. The standard deviation for the list will appear in the cell you selected.
ANOVA The Anova analysis tools provide different types of variance analysis. The tool to use depends on the number of factors and the number of samples you have from the populations you want to test. Anova: Single Factor This tool performs a simple analysis of variance, testing the hypothesis that means from two or more samples are equal (drawn from populations with the same mean). This technique expands on the tests for two means, such as the t-test. Anova: Two-Factor With Replication This analysis tool performs an extension of the single-factor anova that includes more than one sample for each group of data. Anova: Two-Factor Without Replication This analysis tool performs a two-factor anova that does not include more than one sampling per group, testing the hypothesis that means from two or more samples are equal (drawn from populations with the same mean). This technique expands on tests for two means, such as the t-test. Correlation:The Correlation analysis tool measures the relationship between two data sets that are scaled to be independent of the unit of measurement. The population correlation calculation returns the covariance of two data sets divided by the product of their standard deviations based on the following formulas.
EXCERCISE: 3.3 Financial Functions NPV Calculates the net present value of an investment by using a discount rate and a series of future payments (negative values) and income (positive values). Syntax NPV(rate,value1,value2, ...) Rate is the rate of discount over the length of one period. Value1, value2, ... are 1 to 29 arguments representing the payments and income.
Value1, value2, ... must be equally spaced in time and occur at the end of each period. NPV uses the order of value1, value2, ... to interpret the order of cash flows. Be sure to enter your payment and income values in the correct sequence. Arguments that are numbers, empty cells, logical values, or text representations of numbers are counted; arguments that are error values or text that cannot be translated into numbers are ignored. If an argument is an array or reference, only numbers in that array or reference are counted. Empty cells, logical values, text, or error values in the array or reference are ignored. A Data B Description Annual discount rate Initial cost of investment one year from today Return from first year Return from second year Return from third year Formula =NPV(A2, A3, A4, A5, A6) Description (Result) Net present value of this investment (1,188.44)
1 2 3 4 5 6
In the preceding example, you include the initial $10,000 cost as one of the values, because the payment occurs at the end of the first period.
Values must contain at least one positive value and one negative value to calculate the internal rate of return. IRR uses the order of values to interpret the order of cash flows. Be sure to enter your payment and income values in the sequence you want. If an array or reference argument contains text, logical values, or empty cells, those values are ignored. A Data -70,000 Initial cost of a business Net income for the first year Net income for the second year Net income for the third year Net income for the fourth year Net income for the fifth year Description (Result) Investment's internal rate of return after four years (-2%) Internal rate of return after five years (9%) To calculate the internal rate of return after two years, you need to include a guess (-44%) B Description
1 2 3 4 5 6 7
EXCERCISE: 3.4 Date Functions: 1) TODAY ( ) Returns the serial number of the current date. 2) NOW ( ) Returns the serial number of the current date and time. 3) DATE (year, month, day) Returns the sequential serial number that represents a particular date. The year argument can be one to four digits. Month is a number representing the month of the year. Day is a number representing the day of the month. 4) Edate (start_date,months) the serial number of the date that is the indicated number of months before or after the start date
STEP-1: Open a excel sheet by following procedure. Go to START MENU=> PROGRAMS=> MS OFFICE=> OPEN MS EXCEL. STEP-2: Recording a Macro; Go to Tools, select Record New Macro.
STEP-4: Click on the record button and perform the task as required And reclick to stop recording of the same.
STEP-5: Run macro; To run macro, go to tools then select macro and again select macros from the cascading menu. It will give u list of existing macros. Select the one you need to run. It will automatically do the task to be performed at the active or the selected cells.
UNIT - 4
INTRODUCTION TO MS-ACCESS
MICROSOFT ACCESS
A DBMS is an application that enables you to maintain data in a database. Maintaining data involves storing, organizing and retrieving data. One of the most popular DBMS is Microsoft Access. Access can store and maintain large amounts of information.
DB COMPONENTS 1. TABLES: Tables are used to store data about a particular person or topic. In a table data is arranged in the row and column format. Example: A table can contain personal information about all the students in a college. Every row in the Student table containing information in a record is called a Field. 2. QUERIES: These are used to retrieve information from database based on specific conditions. Example: A Query can be used to extract details about students studying in a particular class. 3. FORMS: Forms are used as interfaces for users to enter view and modify data in a table. 4. REPORTS: Reports are used to present data from tables or queries in a format of your choice. You cannot make changes to the data in a table. Example: You can print specific details such as name, address and phone number of 15 students. FEATURES: One of the features of Access is its large data management capability. It can store more than 32000 tables in database. Access is a multi-user DBMS which means that many users can access data simultaneously from the sane database. More than 250 users can simultaneously access data from an access database.
DATA TYPES The following are the data types available with the access: ST.JOSEPHS PG COLLEGE | MBA IT LAB RECORD 49
Date/ time: Hold date and time. Currency: Holds numbers used as amounts of currency. Auto Number: Holds sequential numbers, which are entered automatically. Yes/No: Holds only two values.
Adding Records: To add new records in to the table click on the new record tool of the tool bar. The cursor automatically reaches the last row indicated by an asterisk. Editing Records: To modify the data move the mouse to the field you want to edit. The mouse pointer changes to a beam, then type over a word. Deleting Records: To delete a record, select it highlight it from the record selector box. Press the del key or select the delete record icon on the tool bar.
6. When you are ready to save your table, click Save and then type a unique name for the table.
Create form using wizard: The wizard asks you detailed questions about the record sources, fields, layout, and format you want and creates a form based on your answers. 1) In the Database window, click Forms under Objects. 2) Double click on create form using wizard. 3) Select the desired table and desired fields.
6) Click on next button and enter name of the form. 7) Click on finish button.
Create report using wizard: The wizard asks you detailed questions about the record sources, fields, layout, and format you want and creates a report based on your answers. 1) In the Database window, click reports under Objects. 2) Double click on create report using wizard. 3) Select the desired table and desired fields.
6) Click on Next button and enter name of the form. 7) Click on Finish button. ST.JOSEPHS PG COLLEGE | MBA IT LAB RECORD 58
Create query in design view: 1) In the database window, click Query under Objects. 2) Click the New button on the Database window toolbar. 3) In the New query dialog box, click Design View.
4) Select the table or other record source that includes the data you want to base your query on. (Here we are adding table product table) 5) Click Add.
7) Drag from the field list to the query design grid the fields you want to update or you want to specify criteria for. 8) In the Criteria cell, specify the criteria if necessary. 9) In the Update To cell for the fields you want to update, type the expression or value you want to use to change the fields.(here we are updating total field as [unit price] * [numberofitemsorder] ) 10) Click Run on the toolbar to update the records. (OR) Go to Query menu and choose Run option
Selection query: 1) In the database window, click Query under Objects. 2) Click the New button on the Database window toolbar. 3) In the New query dialog box, 4) click Design View.
5) 6) Select the table or other record source that includes the data you want to base your query on. 7) Click Add.
8) Write the selection query as follows in criteria cell : Like s* Like *s Like s*a This means student name starts with the letter s. This means student name ends with the letter s. This means student name starts with the letter s and ends with a letter s. 8) Go to query option and choose run option.
Sort query: To sort the data we have select the sort by cell in design view of query. Here we will get one drop down list. From that list we have to choose either ascending or descending order.we can specify criteria also for sorting.
Transferring data from Ms-Access to Ms-Excel The steps include: 1. open the Ms-Excel sheet 2. Go to data menu and select import external data option 3. we will get one popup menu, from that popup menu select import data option.
4. Then we will get select data source window, from that select database source and click on open button. 5. Select the output range in import data source dialogue box and then click on ok button
2. 3. 4. 5. 6. 7.
IT LAB
PRACTICAL QUESTION BANK
2. The following are the marks obtained by the students of MBA in three subjects: Roll No Name QT FIT 1011 Pravalika 50 90 1012 Aryaman 40 80 1013 Akrosh 38 70 1014 Prajaktha 80 60 1015 Trisha 84 57 Using Conditional Formatting list out students who scored Accounts 80 60 75 68 84
a) Less than 50 in QT b) More than 65 in FIT c) Between 60 and 80 in Accounts 3. The following are the marks obtained by the students in three different subjects. Draw a Bar Diagram: Name QT FIT Accounts Roll No 1011 Pravalika 50 90 80 1012 Aryaman 40 80 60 1013 Akrosh 38 70 75 1014 Prajaktha 80 60 68 1015 Trisha 84 57 84 4. Type the following table and find out the total marks and average obtained by each student: Roll No Name Economics Banking Marketing 1 Ajay 50 90 80 2 Vijay 40 80 60 3 Arnay 38 70 75 4 Prathista 80 60 68 5 Bhoomi 84 57 84 5. From the table given below, reduce the total expenditure to Rs.16000 by reducing sales departments expenditure by applying Goal seek. Department Expenditure Rs. Production 4000 Sales 6000 Marketing 3000 Finance 5000 Total Expenditure 18000
8 . The following are the salaries of five employees: Pay Roll No Name Salary Rs. Part time Rs. 1011 1012 1013 1014 1015 Prasanna Anitha Ravi Saritha Mallika 10000 14000 18000 15000 17000 900 800 700 600 500
Using Conditional Formatting, list out employees who got a) Less than Rs. 15000 as salary b) More than Rs. 700 as Part time c) Between Rs. 1600 and Rs. 1800 as Arrears.
9 . The following are the marks obtained by the students in three different subjects. Draw a Pie Diagram: Roll No Name QT FIT IOM 101 Radhika 50 90 80 102 Sarika 60 80 60 103 Geethika 50 70 75 104 Bhoomika 80 60 80 105 Karthika 84 57 84 10. Create MS-Excel worksheet with the following format :
Emp. No
Emp. Name
Basic Pay
IT
PF Net Pay
Perform the calculation as follows : DA is 30% Pay, HRA is 20% of Basic Oat. Gross Pay is sum of Basic Pay, TA, DA and HRA and Net pay = Gross Pay Deductions (IT + PF). 11. Create an MS-Excel worksheet with the following fields. Roll No. , Name, Marks in three subjects, Total marks, percentage of marks, and division of Pass. (b) Illustrate creation of Bar chart using MS-Excel. 12 .(a) Create an MS-Excel worksheet with the following fields. Product Id, Product Name, Price, Quantity and Totals. (b) Create a marks, table for MBA-I Year I Semester students using MSAccess. Create a report to list the names of students in the order of merits. 13. Create a Pie-chart for monthly sales of Cars of XYZ make with the following monthly sales, using MS-EXCEL. (300, 200, 100, 50, 100, 500, 600, 700, 100, 200, 150, 20) 14. Create an Excel Work sheet with the following data. Name of the Employee Total Income Income Tax Surcharge
Emp. No
Emp. Name
Basic Pay
IT
PF Net Pay
Enter the details of Emp. No., E. Name and Basic Pay only and use formulate to find the TA, DA, HRA, GROSS PAY, IT, PF and NET PAY and RA = 17.5% of Basic Pay, DA = 35% of Basic Pay HRA=10% of Basic Pay, IT = 15% of Basic Pay, P.F. = 12.5% of Basic Pay and GROSS PAY = Basic Pay + TA + DA + HRA and NET PAY = GROSS PAY IT PF. 20. Illustrate the creation of Bar-Chart and Pie-Chart using MS-Excel for monthly sales of a product. Assume appropriate data. Demonstrate with an example about Simple Sorting and Complex Sorting in MS-Excel.
21.
(713)-556-6556 (713)-568-1227
30/11/04 11/11/04
2. Create employee database and table emp Empno 101 102 103 104 105 Ename Ajay Arvind Rahul Rehman Sahil Job Clerk Salesmen Salesmen Manager Manager DOJ 17-12-01 20-2-02 22-3-01 1-4-01 20-9-02 Basic 6000 5000 5500 12000 11500 Deptno 20 30 20 40 10 Sex Male Male Male Male Male
3. Create a database Student. Also create table stdtable and execute the following queries SRollno Sname Class State DOB Marks Grade 101 Raj Mba I AP 21/09/82 80 A 105 Ram Mba 2 MP 31/08/81 70 B 104 Rakesh Mba 1 UP 30/06/80 90 A 103 Ramesh Mba 2 AP 25/07/82 38 C 105 Rajesh MbaI 2 MP 02/02/83 45 C a) Sort the data by Srollno b) Display Srollno, Sname, State and Marks where marks > 80 c) Display Srollno, Sname, State and Marks where Grade= A 4. Create Business table by using Design Wizard with your own data (atleast 6 fields and 10 records). 5. Create Personal table by using Design Wizard with your own data (atleast 6 fields and 10 records) 6. Create a database Library and create a table as Books and execute the queries given below: AuthorLname AuthorFname Book title Book type Year of publication Gupta Sharma Management Accounting 2002 Accounting Jain Patel Financial Accounting 2000 Reddy Ram Corporate Accounting 1990 Accounting . a) Display Book title, book type, author name where author = Ram and
7.
Find the no. of students, who got first class, after creating student database using MS-Access in the following format. Create atleast ten records.
Note : There are totally six subjects. Student No 8. Student Name Total Marks
Find the number of books written by 'xyz' in the library database, after creating it using MS-Access in the following format. Create atleast ten records. Acc-No Total Publisher Author