FACULTY OF INFORMATION
AND
COMMUNICATION TECHNOLOGY
END USER COMPUTING UNIT
CLASS ACTIVITIES
2021
CPL205X
NQF Level 5
COMPILED BY: BL MOTLOI
July 2021
©COPYRIGHT: TSHWANE UNIVERSITY OF TECHNOLOGY
Private Bag X680
PRETORIA
0001
All rights reserved. Apart from any reasonable quotations for the purposes of research
criticism or review as permitted under the Copyright Act, no part of this book may be
reproduced or transmitted in any form or by any means, electronic or mechanical,
including photocopying and recording, without permission in writing from the TUT.
MS Excel 2013
Class Activity 1
1. Open the following spreadsheet Class Activity 1.xlsx and do the instructions below.
2. Save it as: YOUR STUDENT NR EXCEL
1. A3:B8 Select the ranges and create a 3D clustered column chart to compare
D3:D8 January and March’s rainfall.
Apply the Chart Style 8 to your column chart.
Tip: Use the +Add Chart Element button.
Use the ribbon to insert a Chart Title above your chart: RAINFALL
Use the ribbon to place the legend on the right.
Use the ribbon to change the automatic gridline to a solid line.
2. A3:A8 Create a Pie Chart with a 3D visual effect.
C3:C8 Use the ribbon to move the chart to a new sheet: Chart 1
Tip: Use the +Add Chart Element button.
Use the ribbon to display the data labels in the center.
Select the data series of Mbombela and use the ribbon to explode this slice
to 15%.
Use the ribbon to remove the legend.
3. Save the spreadsheet by clicking on the Save Icon.
Class Activity 2
1. Open the following spreadsheet Class Activity 2.xlsx and do the instructions below.
2. Save it as: YOUR STUDENT NR EXCEL 2
On Sheet Report, do the following
1. A3 Type a function in A3 to insert today’s date and time.
2. A3 Custom format your date to display as the following example:
Thursday, 30 July 2019 – 13:55
On Sheet 1, do the following
3. Custom sort the information according to the Group, Surname and
highest mark.
4. C17 Use the subtotal function to show the average Mark per group.
(Remember that sheet must be sorted for the subtotal function to
work).
5. Column C Use conditional formatting to format all the distinctions to fill colour
green, all the fail marks to fill colour red.
On Marks Sheet, do the following
6. A1 Use the function library to insert a text function in A1 to change the
1
text in L1 to Proper case. (i.e. Each word begins with an upper case
letter)
7. A3 Use the function library to insert a text function in A3 to change the
text in L3 to Upper case.
8. B3 Use the function library to insert a text function in B3 to change the text
in L4 to Lower case.
9. A16 Use the function library to insert a text function to substitute the word
“people”, in A13, with “staff”.
(i.e. Number of staff instead of Number of people)
On Commission Sheet, do the following
10. G5 Use the function library to activate the IF function dialog box to display
Pass if the student has a final mark above 49 and Fail if the final mark is
below 50.
Use the autofill option to copy the function down to G14.
11. F18 Use the function library to count the number of students who failed.
Use G5:G14 in your function.
12. F19 Use the function library to calculate the average final mark of all the
students who passed. Use G5:G14 in your function.
13. F20 Use the function library to calculate the total final marks of all the
students who had less than 50 for the Excel test (C5:C14).
14. D5:D14 Name the range D5:D14 to Access.
15. E21 Type a function by using the named range: Access, to calculate the
highest value of the Access marks.
On Sheet 4, do the following
16. A5:D104 Use the information on Sheet 4 to create a Pivot table. Position the
Pivot table on a new sheet. Rename Sheet 4 to Pivot.
17. Display the information as follows:
FILTERS: Region
COLUMNS: Quarter
ROWS: Product
VALUES: Sales
18. Pivot Use the Pivot Table to create a Pivot Chart: Clustered Bar chart in 3D.
Save the spreadsheet by clicking on the Save Icon.
Class Activity 3
2
1. Open the following spreadsheet Class Activity 3.xlsx and do the instructions below.
2. Save it as: YOUR STUDENT NR EXCEL 3
1. A1 Change the heading to Bold.
2. Row 21 Change Row 21 to Heading 2 style.
3. C5:E5 Use the Auto fill to automatically fill the months till March.
4. C9:E9 Use a formula to calculate the Interest Received, 12% of the Fees Received.
Use the absolute cell reference B9. Use Auto fill to copy the formula to the
5. C6:E6 right
Use a(C9:E9)
function to calculate the Total Income.
Use Auto fill to copy to the right (C6:E6)
6. C15:E15 Use a formula to calculate the Commission paid, 10% of the Fees Received.
Use the absolute cell reference B15. Use Auto fill to copy the formula to the
7. C16:E16 Use a formula to calculate the Insurance, 7% of the Fees Received. Use the
absolute cell reference B16. Use Auto fill to copy the formula to the right
8. C17:E17 Use a formula to calculate the Interest paid, 6% of the Fees Received. Use
the absolute cell reference B17. Use Auto fill to copy the formula to the right
9. C12:E12 Use a function to calculate the Total Expenditure.
Use Auto fill to copy the formula to the right (C12:E12)
10. C19:E19 Use a formula to calculate the Tax, 20% of the Total Income. Use the
absolute cell reference B19. Use Auto fill to copy the formula to the right
11. Sheet 1 Insert the following header: Center – Student Number
Left: Your Surname (Bold)
Right: Today’s date
12. View Click on View – Normal.
13. Insert a new worksheet (Sheet 2)
14. A1:E21 Copy the range from Sheet 1 A1:E21 to Sheet 2, A1. Paste
15. Format You will notice that Sheet 2 appears too small to accommodate all the text.
AutoFit all the Columns Widths
16. Sheet 2 Insert an open row below the headings Total Income and Total Expenditure.
17. Sheet 2 Delete Column D.
18. Sheet 2 Hide Column B.
19. Sheet 1 Change the Page Margins to Wide.
20. Sheet 1 Change the page orientation to Landscape.
21. Save the spreadsheet by clicking on the Save Icon.
3
Revision Exercise
1. Open the following spreadsheet Revision Exercise.xlsx and do the instructions below.
2. Save it as SURNAME EXCEL
On Sheet1, do the following
A1:G1 Merge and centre A1:G1
1. Apply Font type: Georgia, Size: 19
Font colour: Orange, Bold, double underline
2. Column A Use the ribbon to change the Column width of column A to 35.
3. B4, E4,G4 Apply text wrapping to these cells.
4. J5:J10 Use the Function library to insert the PROPER function in J5 to capitalize
the text in B5 (example: Shaun Mamba).
Use AutoFill to copy the function down from J5:J10.
5. N1 Use the Function library to insert a function (UPPER) in N1 to change the
text in A1 to capital letters.
6. N2 Use the Function library to insert a function (LOWER) in N2 to change
the text in A2 to small letters.
7. I1:K1 Format the numbers to display in R currency.
8. A3 Type a function to display today’s date and time.
Change the custom format of the date to display as follows:
Tuesday 7 August, 2019 (10:20)
9. D5:D10 Type a formula in D5 to calculate the Discount on each product. Use
the absolute cell reference D3 in your calculation. Use Autofill to copy
the formula down from D5:D10.
10. E5:E10 Type a formula in E5 to calculate the Special price (price after discount).
Use Autofill to copy the formula down from E5:E10.
11. F5:F10 Type a formula in F5 to calculate the VAT on the Special price. Use the
absolute cell reference F3 in your calculation. Use Autofill to copy the
formula down from F5:F10.
12. G5:G10 Type a formula in G5 to calculate the Selling price after the VAT was
added to the Special price. Use Autofill to copy the formula down from
G5:G10.
13. C5:C10 Name the range (Price)
14. C12:G12 Type a function in C12 to calculate the total of the column. Use Autofill
to copy the function to the right from C12:G12.
15. C13 Type a function and use the named range (Question 15) to calculate the
Average Price.
16. F16 Type a function to calculate the number of Products. Use A5:A10 in
4
your calculation.
17. A4:A10 & Create a 3-D Stacked Column chart by using the ranges A4:A10 and
E4:G10 E4:G10.
Use the ribbon to move the chart to a new sheet.
Change the title to: Prices of IT products
18. Sheet 1 Copy the range A1:G16 from Sheet 1 to sheet 2. Paste in cell A1.
On Sheet2 (copy), do the following:
Sheet 2 Use the ribbon to Autofit the columns.
19. Rename sheet 2 to Copy.
On Sheet3, do the following:
20. Filter the sales representatives with a name that begin with J or A
21. Column C Apply Conditional Formatting to show all the numbers greater than 1000
in Font colour purple, fill colour yellow and bold.
On Sheet4, do the following:
22. Sheet 4 Rename the sheet to Range.
23. C4:C9 Use a function to determine if a value is below 55. If below 55, return
the value “Below”, if equal to or above 55 the value “Above”.
On Info Sheet, do the following:
22. Create a PivotTable on a new worksheet, using A5:D105.
23. Display the information in the PivotTable as follows:
FILTERS: Region COLUMNS: Quarter
ROWS: Product VALUES: Sales
24. Create a Line with markers PivotChart from your PivotTable.
25. Info Sheet Use the Subtotal function to calculate the average sales per region.
(Ensure the information is sorted according to the regions).
26. Save the document as SURNAME EXCEL
5
MS Access 2013
Databases, Tables, Fields and Records
Question 1:
Create a Blank desktop database. FileName: Company.accdb. Save in your personal folder.
Question 2:
Design and create the following tables:
1. Create a new table (Customers) in Design View.
Field Name Data Type
Surname Short Text
Name Short Text
Suburb Short Text
E-mail Short Text
Cell phone Short Text
2. Go to Datasheet View for your Customers table. Type the following records.
Surname Name Suburb E-mail Cell phone
Seko Pretty Mamelodi
[email protected] 0832629502
Chaba Nathi Atteridgeville
[email protected] 0719004421
Maake Steve Montana
[email protected] 0827240585
Ndaba Mpho Newlands
[email protected] 0834651692
3. Create a new table (Orders) in Design View.
Field Name Data Type
Order number (Primary Key) Number
Customer surname Short Text
Date of Order Date/Time
Total Price Currency
A primary key, is a key in a relational database that is unique for each record. It is a unique
identifier, such as an identity number, driver license number, cell phone number (including area
code), or vehicle identification number (VIN). A relational database must always have one and
only one primary key.
6
4. Go to Datasheet View for your Orders table. Type the following records.
Order number Customer surname Date of Order Total Price
513 Seko 2019/06/20 R 4 020.00
642 Maake 2019/07/11 R 5 983.00
985 Ndaba 2019/07/16 R 6 273.00
5. Create a new table (Items) in Design View.
Field Name Data Type
Item Nr AutoNumber
Item Description Short Text
Price Currency
In Stock Yes/No
6. Go to Datasheet View for your Items table. Type the following records.
Item Nr Item Description Price In Stock
1 Power Supply R 50 000.00 Yes
2 Air-Conditioner R 14 000.00 Yes
3 Fan R 11 000.00 No
4 Transformer R 20 000.00 Yes
5 Battery R 20 000.00 Yes
Defining Table Relationships
Data from several different tables is related through the use of common fields. A common field
is a field existing in two or more tables, allowing you to match records from one table with
records in the other tables. Once you have a way of relating two tables with a common field,
your next task is to express the nature of that relationship. There are three types of
relationships: one-to-one, one-to-many, and many-to-many. You can define and manage
relationships using buttons on the Database Tools tab. This gives you control over your table
relationships and also gives you a quick snapshot of all the relationships in your database. After
you define a relationship, you can double-click the connection line to modify or add to the
relationship.
7. Create a relationship between the Customers and Orders tables.
Click the Database Tools tab.
7
Click the Relationships button.
If relationships are already established in your database, they appear in the Relationships
window. In this window, you can create additional relationships.
If necessary, click the Show Table button to display the Show Table dialog box.
Click the Tables tab.
Click the Customers table.
Click Add.
The table or query you selected appears in the Relationships window. Repeat steps 5 and 6 for
each table you want to use in a relationship. Add the Orders table.
Click Close.
Drag the common field in the first table to the common field in the second table. When you
release the mouse button, a line appears between the two tables, signifying that they are
related. Also, the Edit Relationships dialog box opens, in which you can confirm or modify the
relationship.
8
Click the Join Type button if you want to specify the join type. Click OK to return to the
Edit Relationships dialog box.
Click Create to create the relationship.
Question 3:
Change the following Field Properties of the tables you have created in Question 2. Work in
Design View.
1. Edit the Customers table as follows:
a. Give the Suburb field the following description: Area.
b. Display all the Cell phone numbers as the example below by changing a general
property of the table: 000-000-0000.
2. Edit the Orders table as follows:
a. Order number: Caption: Order #
b. Date of Order’s Data Type is Date/Time. Format: 20-Jun-2019.
3. Edit the Items table as follows:
a. Item Description: Field Size 40.
b. Item Description: Required Field: yes
c. Price: 2 decimals.
d. Price: default value of 0.
Question 4:
Apply the following changes in the tables:
9
1. Delete record 1 of the Customers table
2. Add a new record below the last one of the Customers table.
Surname Name Suburb E-mail Cell phone
Phiri AJ Mamelodi
[email protected] 083 782 9501
3. Sort the Orders table alphabetically according to the Customer Surname column.
4. Change the font of the entire Items table to:
Font style: Comic Sans MS
Font size: 10pt
Queries
Create the following queries in Query Design. Run the queries and save them as indicated.
1. Display all the customers who have a total price value less than R5 000.
Display all the fields (Orders Table). Save the query as Less Price.
2. Display an alphabetical list of all the customers that placed an order in June 2019.
Display all the fields (Orders Table). Save the query as June Orders.
3. Display all the customers whose name start with a letter after “O” in the alphabet.
Display all the fields (Customers Table). Save the query as Alphabet.
4. Display all the customer who have a yahoo e-mail account OR cell phone number
starts with 082.
Display only the Surname, Name, Suburb and E-mail fields (Customers Table). Save
the query as Yahoo.
5. Display a list of all the items with a price of R20 000 and Item Number bigger than 2.
Display only the Item Number and Price fields (Items Table). Save the query as Price.
6. Display a list of all the items that starts with a T and end with a R.
Display all the fields (Items Table). Save the query as Start End.
7. Display a list of all the items that are out of stock.
Display only the Item Description and In Stock fields (Items Table). Save query as
Stock.
10
Forms
1. Follow the instructions below to create a form based on the Customers Table.
2. Create a Form with the help of the Form Wizard.
3. Select the Table: Customers.
4. Select the Surname, Suburb and E-mail fields.
5. Select the Tabular layout.
6. Change the form title to: Our Customers Information
7. In Design View format the title as follows:
Shape Fill: Orange
Font Colour: Red
Font Size: 22pt
Alignment: Right align the heading inside the title box. See the example on the next page.
Title box: Resize the title box so that all the boxes in the header area are visible.
8. Insert the Date and Time in the top right corner of the form as indicated in the example.
9. Change the font of the Date label box to: bold.
10. Add a label in the footer area and type your student number.
11. Apply a dotted border (shape outline) to your student numbers’ label box.
12. Save and close the form.
21695246
Reports
1. Follow the instructions below to create a report based on the Items Table.
2. Create a Form with the help of the Report Wizard.
3. Select the correct table with the Item Nr, Item Description and Price fields.
4. Add a grouping level: Item Description.
5. Sort Item Nr in ascending order.
6. Summary Options: Add an Average Price and Maximum Price summary to the list.
11
7. Layout: Block
8. Orientation: Landscape
9. Report Title: Detailed Items Report
10. Ensure all the Prices are clearly visible on the report. Adjust the boxes if needed.
11. Edit the Report header as follows:
Shape Fill: Light Green
Font colour: Blue and Bold
Resize the header so that it looks like the example above.
12. Add a label in the Report Footer, and type your Surname.
13. Insert a textbox, and use a function to insert the current date below the report title.
14. Add a new field called: Total Price of all items in the Report Footer.
Use a function to determine the Total of the prices.
Change the answer to a currency (R) format.
12