Spreadsheets in an information system
Spreadsheets manipulate numerical data. They can be used to obtain information about digital data and binary systems.
Syllabus outcomes
P1.1 Describes the nature of information processes and information technology.
P5.1 Selects and ethically uses computer based and non-computer based resources and tools to process information
P6.2 Generates ideas, considers alternatives and develops solution for defined needs.
Instructions
Formulas are the basis for calculating answers from values entered in a spreadsheet. They have a symbol to show they are a formula followed by a calculation to be carried out and then by the cells to be calculated. In this example the symbol is =
- Open a new spreadsheet. Save it to your home drive as binary code
- Click in cell A1. type: Binary coded data
- Format the cell contents as bold and increase the size by two increments.
- Click in cell A3. Type: 1
- Click in cell A4. Type: 0
- TypeON in cell B3.
- Type OFF in cell B4
- In cell A6, type: Place values in the binary system.
- Format the cell as Bold and increment the size by one.
- In cell A7, type: Place values go from right to left (the most significant digit to the least significant digit).
- Use the range A9:A11 to add the row labels Power, Base, Place value.
- in the block of cells B9:J10 add the following values:
876543210
222222222
Formulas are the most valuable type of data in a spreadsheet because they allow the calculations which are the basis of the spreadsheet itself. These calculations are always carried out in the following order:
data in brackets ()
multiplication * or division /
addition + or subtraction –
formulas are not usually shown in the cell, but can be seen in the entry bar when the cell is active. In our sample spreadsheet the structures we will use to write a formula are:
= the formula sign
* the mathematical operator
2 the value (base value of the binary system)
- in the cell B11 enter the following formula using cell references
=b10^b9
This is the base value (2) multiplied by the power (8) which gives a return of 28.
- Press Enter or Return or use the ‘ on the Entry bas to see the result of the calculation.
The formula in a cell is relative to its position of the cell. So in the following example, if the formula =B3*A3 is copied from C3 to C4 the formula will change to =B4*A4, that is, the formula will change to show its new location.
- To use relative referencing in your spreadsheet:
- Highlight cells C11:J11
- Choose Fill Rightfrom the pull-down menus
- Change the width of columns A to J to auto fit the data entries in these columns (use the Format menu).
- Create a 3D column chart or pictogram of the values in cells B11:J11 using the label from A11.
- Label the X axis: BinaryCode
- Label the Y axis: Place values
- Title the chart: Binary values
- Save the chart as: Binary values
- In cell A14, type the label: Calculating the decimal value of bytes in binary code. Format A14 as bold.
- In cell K16, type the label: Decimal value.
- In the range B17:J17, type the values
00110110
In the following part of this exercise you will be using two advanced spreadsheet techniques:
- Absolute references are constants which always refer to the same cell. In many spreadsheet program an absolute reference is given a @ sign before the column and/ or row reference, for example @A@2. Other programs use a dollar sign before the column and the row coordinates eg $A$2. Absolute references can refer to either the column or the row reference as well as to both.
- Functions are a quicker way of writing formulas. Functions name the type of calculation and cell ranges to be calculated. This is very valuable when there are a lot of cells to be calculated and the calculation is difficult. Using a function and a cell range, a formula could be entered using the following steps.
- The function you will be using is the IF function. It may be expresses as
=IF(condition, true, false) in Microsoft Excel
OR
=IF(condition; true; false) in other programs
- in cell B18 type:
EXCEL (USERS,)
=IF(B17=0,0,B11)
- Use Fill Right to complete the cell references from B18:J18
- Insert a row between 17 and 18. note that the relative references change in the functions B19:J19.
- insert a label Status in cell A18
- Enter the formulas for the cell B18:J18 as =IF(B17=0,$B$4,$B$3) and fill right to J18.
- Use Format/Column/Autofit to ensure that all data is visible.
- Insert a function in K19 as =SUM(B19:J19) using the autosum icon (S) from the menu bar itif is available.
- Create a 3D column chart of the values in cells B17:J17 using the label from A11.
- Label the X axis: Digital value.
- Remove labels from the Y axis if they exist.
- Title the chart: Digital data
- Save the chart as Digital data.
- Use the Draw tools to add labels to the chart.
- Most significant digit (the digit to the right)
- Leaste significant digit (the digit to the left)
- Draw a block around the 8 bits and label these as the size of the typical byte.
- Save the file.
- Follow the above procedures to calculate the decimal value of each of the following binary numbers and any other you choose to add.
Record your results.
01110110
11010110
11101101
01111111
01111100
- Answer the following questions using examples from the spreadsheet.
- What id meant by the term recalculation?
- Explain the concept of the least significant digit.
- Describe the difference between a bit and a byte.
- Using the charts you created explain:
- How binary data is calculated on place values.
- How digital data is represented.
This is to be completed as a 1 page word processed document presented on your template.