unit 1.3 introduction to programming (part 2)

29
Introduction to Programming Unit 1.3 - Process and Information Layout Presentation 2

Upload: intan-jameel

Post on 11-Jul-2015

260 views

Category:

Technology


1 download

TRANSCRIPT

Page 1: Unit 1.3 Introduction to Programming (Part 2)

Introduction to Programming

Unit 1.3 - Process and Information Layout

Presentation 2

Page 2: Unit 1.3 Introduction to Programming (Part 2)

Objectives

At the end of this presentation, you will be able to:

• Create workbooks using data information layout

• Publish workbook as web page

Page 3: Unit 1.3 Introduction to Programming (Part 2)

Data Information Layout

• Helps in creating spreadsheets.

Page 4: Unit 1.3 Introduction to Programming (Part 2)

Spreadsheet Basics

Scroll Buttons Worksheet Tabs Column Row Cell

Cell Number Box Active Cell Formula Box

Page 5: Unit 1.3 Introduction to Programming (Part 2)

Single Excel Sheet

• Workbook is a collection of worksheets.

Page 6: Unit 1.3 Introduction to Programming (Part 2)

Hands-On!

• Perform the steps to format the text and change the column width in the worksheet.

Page 7: Unit 1.3 Introduction to Programming (Part 2)

Returns the smallest value for the selected values.

MIN

Returns the largest value for the selected values.

MAX

Calculates the average of the selected values.

AVERAGE

Calculates the total of all the selected values.

SUM

DescriptionFormula Name

Entering Formula

Page 8: Unit 1.3 Introduction to Programming (Part 2)

Multiplies all the selected values and returns their product.

PRODUCT

Counts the number of cells that contains the specified value.

COUNT

DescriptionFormula Name

Entering Formula

Page 9: Unit 1.3 Introduction to Programming (Part 2)

Hands-On!

• Perform the steps to perform calculations such as sum and average.

Page 10: Unit 1.3 Introduction to Programming (Part 2)

Activity 1.3.7

• Perform the following steps:

Step 1: Open the data file Sales.xls.Step 2: Calculate the total number of Music CDs

sold by typing the formula =sum(f11,f18,f25) on the cell F34.

Step 3: Copy this formula to other cells to calculate the total number of Movies and Games CDs sold.

Step 4: Save the workbook and identify the change in code.

Page 11: Unit 1.3 Introduction to Programming (Part 2)

Formatting the Cells

• It is possible to change the way a text or number that appears in a cell by formatting the cell.

Page 12: Unit 1.3 Introduction to Programming (Part 2)

Hands-On!

• Perform the steps to format the cell.

Page 13: Unit 1.3 Introduction to Programming (Part 2)

Activity 1.3.8

• Perform the following steps:

Step 1: Open the data file Perso_Detail.xls.Step 2: Enter your name, date of birth

(dd/mm/yyyy) and birth time in the corresponding columns.

Step 3: Change the format of the F14 such that DOB will be displayed as <dd>-<month in words>-<yy> by choosing Format Cells Date 14-Mar-01.

Example: 19/10/1986 19-oct-86

Page 14: Unit 1.3 Introduction to Programming (Part 2)

Activity 1.3.8

Step 4: Change the format of the F15 such that time of birth will be displayed in 24hrs

clock by choosing Format Cells Time 13:30.

Example: 1:30 pm 13:30

Step 5: Save the file and identify the changes in the code.

Page 15: Unit 1.3 Introduction to Programming (Part 2)

Lab Exercise

• Open the data file Drinks.xls and perform the following: • In the Total column, calculate Cost/Item * Total

Item. • Calculate the total cost and store it in the

column J21.• Apply the formatting and change the columns

F and J such that the cost will be displayed as R<cost>. Key: Use Format Cells.

• Identify the changes in the code.

Page 16: Unit 1.3 Introduction to Programming (Part 2)

Creating Charts

• Charts are the graphical representation of the data.

Page 17: Unit 1.3 Introduction to Programming (Part 2)

Hands-On!

• Perform the steps to create a chart.

Page 18: Unit 1.3 Introduction to Programming (Part 2)

Lab Exercise

• Open the data file Form4_ Results.xls. Create bar chart for the Maths marks.

Page 19: Unit 1.3 Introduction to Programming (Part 2)

Multiple Excel Sheets

• When you have data in two excel sheets in a workbook, you can perform calculation using the data present in both the sheets.

• This can be achieved by using the format sheetname!cellname.

Page 20: Unit 1.3 Introduction to Programming (Part 2)

Hands-On!

• In a work book, sheet1 stored the marks scored in test1 and sheet2 stores the marks scored in test2. Perform the steps to compare the marks obtained by each student in the English tests and store the maximum mark in the third sheet.

Page 21: Unit 1.3 Introduction to Programming (Part 2)

Activity 1.3.9

• Perform the above steps for the Form5_ Results_Multiple.xls.

Page 22: Unit 1.3 Introduction to Programming (Part 2)

Creating Hyperlink Across Worksheets

• It is possible to create hyperlink across worksheets with a workbook.

Page 23: Unit 1.3 Introduction to Programming (Part 2)

Hands-On!

• Perform the steps to create hyperlink across worksheets in a work book.

Page 24: Unit 1.3 Introduction to Programming (Part 2)

Multiple Workbooks

• You can create hyperlinks across workbooks.

Page 25: Unit 1.3 Introduction to Programming (Part 2)

Hands-On!

• Perform the steps to create hyperlink across workbooks.

Page 26: Unit 1.3 Introduction to Programming (Part 2)

Publishing the Workbook as Web Page

• You can convert the workbook into HTML format and publish the document on web.

Page 27: Unit 1.3 Introduction to Programming (Part 2)

Hands-On!

• Perform the steps to publish the workbook as web page.

Page 28: Unit 1.3 Introduction to Programming (Part 2)

Summary

In this presentation, you learnt the following:• Data information layout helps in creating

spreadsheets.• Workbook is a collection of worksheets. • A worksheet consists of number of rows and

columns present in it. • The intersection of a row and a column is

defined as a cell.• Alphabets and numbers help in identifying the

corresponding cell is termed as label.

Page 29: Unit 1.3 Introduction to Programming (Part 2)

Assignment

1. Describe the following functions:a. SUMb. MAXc. COUNT